[jboss-dev-forums] [Design of POJO Server] - Re: Why do Topic/Queue descriptors need extra metadata in or

adrian@jboss.org do-not-reply at jboss.com
Fri Nov 21 10:09:06 EST 2008


"adrian at jboss.org" wrote : 
  | 
  | No I was talking about something like:
  | 
  | 
  |   | <bean code="...ManagedObjectDefinition">
  |   |    <property name="type">org.jboss.jms.server.destination.QueueService</property>
  |   |    <property name="builder">
  |   |        <javabean xmlns="..." class="...QueueMOBuilder"/>
  |   |    <property>
  |   | </bean>
  |   | 
  | 

Now that I refresh my memory on how this works. :-)
You also need to be able to specify the ManagedObjectPopulator as well.

The Builder defines what goes in the ManagedObject (i.e. it is like the class)
(and whether it should even be a ManagedObject ;-)

The Populator fills in the underlying data for a given object (i.e. for the instance)

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

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



More information about the jboss-dev-forums mailing list