"scott.stark(a)jboss.org" wrote : Also, if we are only persisting the managed
object view of the attachment, it won't be a predetermined attachment any longer. Its
a delta against the original transient managed attachment, so we would have to integrate
the change in a PRE_REAL deployer. Not that this is a big issue, but there is no
authoritative view of the metadata out on disk somewhere.
|
Concerning unmarshalling of the persisted attachment i think we can try to rebuild the
ManagedObject
from the metadata and due to this WritethroughManagedProperty we actually should be able
to directly reuse the attachment.
Most probably there are some ManagementProperty annotations missing in some parts (e.g.
ServiceMetaData)
to persist and restore everything needed, as i'm currently only planning to persist
ViewUse.CONFIGURATION only.
But maybe we want to do the delta thing later on and see how far we can get with restoring
the attachment that way?
As it should not require changes to the persistence format itself.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191049#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...