JBoss development,
A new message was posted in the thread "Short lived Objects, exposure through Profile
Service":
http://community.jboss.org/message/519089#519089
Author : Emanuel Muckenhuber
Profile :
http://community.jboss.org/people/emuckenhuber
Message:
--------------------------------------------------------------
Hmm, yeah lazy loading of management properties is also on the todo list....
In this case i would recommend using a CompositeValue. There is no clear distinction when
to use @ManagementObject or not, but in general this is intended to be used on deployment
metadata. It might not really matter since managed operations are not processed until they
are invoked, but the ManagedObject interface implies a lot of things which cannot be
provided in this case.
Actually by removing the @ManagementObject annotation it should generate a CompositeValue
by default - the annotations for CompositeValues are method annotations, so you can ignore
some properties.
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/519089#519089