[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Creation of topic @ runtime

desuraghu do-not-reply at jboss.com
Tue Jul 14 11:50:10 EDT 2009


Is there any other alternative to get ServerPeer MBean instance.

For ex : 
---------
MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
ObjectName objectName = new ObjectName(			"jboss.mq:service=DestinationManager");

mBean = (DestinationManagerMBean) MBeanServerInvocationHandler
					.newProxyInstance(mbeanServer, objectName,
							DestinationManagerMBean.class, false);




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

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



More information about the jboss-dev-forums mailing list