the following snippets are based on the Jboss trailblazer

          MBeanServer server = MBeanServerLocator.locate();
  | 
  |           jfrman = (jfrManager) MBeanProxyExt.create(
  |                       jfrManager.class, "jfr:service=manager", server);
  |         
  | 

@Service (objectName="jfr:service=manager")
  | public class jfrManager implements jfrManagerMBean{
  |     private boolean started;
  | 

@Management
  | public interface jfrManagerMBean {
  |     public void start() throws Exception;
  |     public void stop () throws Exception;
  | 

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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to