"timfox" wrote : FWIW, the actual config I managed to get to work is slightly
different to what Adrian suggested (I couldn't get Adrian's syntax to work), but
it works and I'm happy with that.
|
|
| | <bean name="MessagingServerManagement"
class="org.jboss.messaging.core.management.impl.MessagingServerManagementImpl">
| |
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.messaging:service=MessagingServerManagement",exposedInterface=org.jboss.messaging.core.management.MessagingServerManagement.class)</annotation>
| | <constructor factoryMethod="getServerManagement">
| | <factory bean="MessagingServer"/>
| | </constructor>
| | </bean>
| |
Yours is correct, mine was confused. ;-)
My version says to use the result of MessagingServer.getWhatever() as the factory
when you want to use it as the instance.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160121#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...