avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/manager DefaultManager.java
Date Sat, 12 Jan 2002 02:11:53 GMT
donaldp     02/01/11 18:11:53

  Modified:    src/java/org/apache/avalon/phoenix/components/manager
                        DefaultManager.java
  Log:
  Expose the objects using name=X rather than type=X attributes.
  
  Revision  Changes    Path
  1.10      +2 -1      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/manager/DefaultManager.java
  
  Index: DefaultManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/manager/DefaultManager.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- DefaultManager.java	11 Dec 2001 10:13:34 -0000	1.9
  +++ DefaultManager.java	12 Jan 2002 02:11:53 -0000	1.10
  @@ -116,6 +116,7 @@
           }
   
           //TODO: SystemManager itself aswell???
  +        //FIXME: All this stuff should be done by embeddor and read out of a config file
           register( "Kernel", m_kernel );
           register( "ExtensionManager", m_extensionManager, new Class[]{ ExtensionManagerMBean.class
} );
           register( "Embeddor", m_embeddor, new Class[]{ EmbeddorMBean.class } );
  @@ -186,7 +187,7 @@
               }
   
               final ObjectName objectName =
  -                new ObjectName( m_domain + ":type=" + name );
  +                new ObjectName( m_domain + ":name=" + name );
               m_mBeanServer.registerMBean( mBean, objectName );
               return mBean;
           }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message