[jboss-dev-forums] [Design of POJO Server] - Re: MetaValue representation of javax.management.ObjectNames
scott.stark@jboss.org
do-not-reply at jboss.com
Sat Nov 22 15:39:58 EST 2008
One problem with inclusion of something like a MetaMapper class in the ManagementProperty annotation is that its leaking server side types to the client since MetaMapper will reference the server side java class. If this is used by an attachment to map a non-simple deployment type to a CompostiteValue for example, this can't be marshaled to the client environment as thta type will not be available.
I guess we need a transient Attachments notion where server specific information could be placed, and have a convention of looking for the MetaMapper.class attachment in the AbstractManagedObjectFactory.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191498#4191498
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191498
More information about the jboss-dev-forums
mailing list