[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: ManagedObject attachment serialization

adrian@jboss.org do-not-reply at jboss.com
Tue Jan 22 09:01:16 EST 2008


The original intention was that the ManagedObject would be used by
the management layer to configure the attachments.

As such for remote management, the attachments needed to be serialzable
such that the remote management tool could use the ManagedObject api
to change the attachment, retriefve the object and place it in the preconfigured
part of the deployment.

The notion of ManagedObject has changed a lot since
the original design. i.e.
* ManagedProperty can exist by itself
* ManagedObject is just an implementation detail with a new api for the managed layer

You'd need to ask Scott, et. al.  how they are adding the changed attachments
into the Deployment when doing work remotely to change/persist the values
in for example a remote agent.

If they don't have the metadata classes on the client side, I'd guess there
either needs to be some proxy work (possibly inside the deployment layer?)
that can reconstruct the attachment on the server side
from the "ManagedObject" or the Deployment itself is reconstructed on the
server side from the management artifacts?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122204#4122204

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122204



More information about the jboss-dev-forums mailing list