[jboss-user] [JBoss Portal] - Re: 2 questions concerning CMS

thomas.heute@jboss.com do-not-reply at jboss.com
Fri Feb 2 05:40:21 EST 2007


The CMS Service is a MBean service, it is also registered in JNDI under the name "java:portal/CMS" 

You can access it like this:

  | Context ctx = new InitialContext();
  | CMS cmsService = (CMS)ctx.lookup("java:portal/CMS");
  | 

This code should work for 2.6, the interface and JNDI name may be different in 2.2 though.


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

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



More information about the jboss-user mailing list