[jboss-dev-forums] [Design of POJO Server] - Re: Depending on a MBean

adrian@jboss.org do-not-reply at jboss.com
Wed Mar 28 09:49:47 EDT 2007


NO! :-)

What I told Carlo is to do what is done in the system-jmx xml parsing.
e.g. when you "parse" the @Dependency or where-ever else
you are creating dependencies that might be JMX or POJO.

i.e.

  |       String iDepend = ...
  | 
  |       Object other = iDependOn;
  |       try
  |       {
  |          other = new ObjectName(iDependOn).getCanonicalName();
  |       }
  |       catch (MalformedObjectNameException ignored)
  |       {
  |           // Not a JMX object name
  |       }
  | 

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

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



More information about the jboss-dev-forums mailing list