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 Sun, 02 Dec 2001 03:49:57 GMT
donaldp     01/12/01 19:49:57

  Modified:    src/java/org/apache/avalon/phoenix/components/manager
                        DefaultManager.java
  Log:
  Made manager export Embeddors management interface.
  
  Revision  Changes    Path
  1.6       +6 -3      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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DefaultManager.java	2001/11/19 12:21:30	1.5
  +++ DefaultManager.java	2001/12/02 03:49:57	1.6
  @@ -25,6 +25,7 @@
   import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.avalon.phoenix.components.kernel.DefaultKernel;
   import org.apache.avalon.phoenix.components.kernel.DefaultKernelMBean;
  +import org.apache.avalon.phoenix.interfaces.EmbeddorMBean;
   import org.apache.avalon.phoenix.interfaces.ClassLoaderManager;
   import org.apache.avalon.phoenix.interfaces.ConfigurationRepository;
   import org.apache.avalon.phoenix.interfaces.Deployer;
  @@ -116,7 +117,7 @@
   
           //TODO: SystemManager itself aswell???
           register( "Kernel", m_kernel );
  -        register( "Embeddor", m_embeddor, new Class[]{ Embeddor.class } );
  +        register( "Embeddor", m_embeddor, new Class[]{ EmbeddorMBean.class } );
           register( "Deployer", m_deployer, new Class[]{ Deployer.class } );
           register( "LogManager", m_logManager );
           register( "ConfigurationRepository", m_repository );
  @@ -213,8 +214,10 @@
           {
               return new DefaultKernelMBean( (DefaultKernel)object );
           }
  -
  -        return new JavaBeanMBean( object );
  +        else
  +        {
  +            return new JavaBeanMBean( object );
  +        }
       }
   
       /**
  
  
  

--
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