... newer stories
Freitag, 18. Februar 2011
MBean aufrufen
mattki, 18:43h
Wie kann man eine JBoss MBean aufrufen?
MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
ObjectName objectName = new ObjectName("MyDomain:service=MyMBean");
RatingScreeningMBean mbean = MBeanServerInvocationHandler.newProxyInstance(mbeanServer, objectName, MyMBeanInterface.class, false);
mbean.doSomething(args);
... link (0 Kommentare) ... comment
... older stories