[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 09:04:09 EST 2008


"alesj" wrote : "adrian at jboss.org" wrote : 
  |   | Even without the xml, it should be possible to write a simple bean
  |   | that can be deployed to the MC to do this as a "quick fix".
  |   | 
  | I guess we need something like this (but more generic).
  | 

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>
  | 

Where ManagedObjectDefinition does something like

  | public void create()
  | {
  |    managedObjectFactory.add(type, builder);
  | }
  | public void destroy()
  | {
  |    managedObjectFactory.remove(type);
  | }
  | 

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

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



More information about the jboss-dev-forums mailing list