avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pro...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor ManagementRegistration.java
Date Fri, 26 Jul 2002 20:02:02 GMT
proyal      2002/07/26 13:02:02

  Modified:    src/java/org/apache/avalon/phoenix/components/embeddor
                        ManagementRegistration.java
  Log:
  Export new MBean interface for ConfigRepo
  
  Revision  Changes    Path
  1.7       +4 -2      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor/ManagementRegistration.java
  
  Index: ManagementRegistration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor/ManagementRegistration.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ManagementRegistration.java	26 Jul 2002 09:49:21 -0000	1.6
  +++ ManagementRegistration.java	26 Jul 2002 20:02:02 -0000	1.7
  @@ -9,8 +9,10 @@
   
   import java.util.HashMap;
   import java.util.Map;
  +
   import org.apache.avalon.excalibur.packagemanager.ExtensionManager;
   import org.apache.avalon.phoenix.interfaces.ConfigurationRepository;
  +import org.apache.avalon.phoenix.interfaces.ConfigurationRepositoryMBean;
   import org.apache.avalon.phoenix.interfaces.ConfigurationValidator;
   import org.apache.avalon.phoenix.interfaces.ConfigurationValidatorMBean;
   import org.apache.avalon.phoenix.interfaces.Deployer;
  @@ -52,7 +54,7 @@
       public static final ManagementRegistration CONFIGURATION_REPOSITORY =
           new ManagementRegistration( ConfigurationRepository.ROLE,
                                       "ConfigurationManager",
  -                                    new Class[]{ConfigurationRepository.class} );
  +                                    new Class[]{ConfigurationRepositoryMBean.class} );
   
       public static final ManagementRegistration CONFIGURATION_VALIDATOR =
           new ManagementRegistration( ConfigurationValidator.ROLE,
  @@ -92,6 +94,6 @@
   
       public static ManagementRegistration getManagementInfoForRole( final String role )
       {
  -        return (ManagementRegistration)c_map.get( role );
  +        return ( ManagementRegistration ) c_map.get( role );
       }
   }
  
  
  

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