avalon-dev 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/phoenix/engine/facilities/phoenix DefaultPhoenixManager.java
Date Tue, 24 Apr 2001 05:01:31 GMT
donaldp     01/04/23 22:01:31

  Modified:    src/java/org/apache/phoenix/engine
                        DefaultServerApplication.java
  Added:       src/java/org/apache/phoenix/engine/facilities
                        PhoenixManager.java
               src/java/org/apache/phoenix/engine/facilities/phoenix
                        DefaultPhoenixManager.java
  Log:
  Add in empty manager
  
  Revision  Changes    Path
  1.21      +7 -8      jakarta-avalon-phoenix/src/java/org/apache/phoenix/engine/DefaultServerApplication.java
  
  Index: DefaultServerApplication.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/phoenix/engine/DefaultServerApplication.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- DefaultServerApplication.java	2001/04/23 10:49:21	1.20
  +++ DefaultServerApplication.java	2001/04/24 05:01:30	1.21
  @@ -34,11 +34,13 @@
   import org.apache.phoenix.engine.facilities.ClassLoaderManager;
   import org.apache.phoenix.engine.facilities.ConfigurationRepository;
   import org.apache.phoenix.engine.facilities.LogManager;
  +import org.apache.phoenix.engine.facilities.PhoenixManager;
   import org.apache.phoenix.engine.facilities.PolicyManager;
   import org.apache.phoenix.engine.facilities.ThreadManager;
   import org.apache.phoenix.engine.facilities.classloader.DefaultClassLoaderManager;
   import org.apache.phoenix.engine.facilities.configuration.DefaultConfigurationRepository;
   import org.apache.phoenix.engine.facilities.log.DefaultLogManager;
  +import org.apache.phoenix.engine.facilities.phoenix.DefaultPhoenixManager;
   import org.apache.phoenix.engine.facilities.policy.DefaultPolicyManager;
   import org.apache.phoenix.engine.facilities.thread.DefaultThreadManager;
   import org.apache.phoenix.engine.phases.ShutdownPhase;
  @@ -71,6 +73,7 @@
       protected Configuration            m_configuration;
       protected ComponentManager         m_componentManager;
   
  +    protected PhoenixManager           m_phoenixManager;
       protected LogManager               m_logManager;
       protected PolicyManager            m_policyManager;
       protected ThreadManager            m_threadManager;
  @@ -135,7 +138,7 @@
           while( phases.hasNext() )
           {
               final PhaseEntry entry = (PhaseEntry)phases.next();
  -            setupComponent( entry.m_visitor );
  +            setupComponent( entry.m_visitor, "<core>.phases." + entry.m_traversal.getName(),
null );
           }
       }
   
  @@ -185,10 +188,10 @@
           m_logManager = new DefaultLogManager();
   
           m_configurationRepository = new DefaultConfigurationRepository();
  -
           m_classLoaderManager = new DefaultClassLoaderManager();
           m_threadManager = new DefaultThreadManager();
           m_policyManager = new DefaultPolicyManager();
  +        m_phoenixManager = new DefaultPhoenixManager();
       }
   
       /**
  @@ -214,13 +217,9 @@
   
           setupComponent( m_configurationRepository, "<core>.configuration-repository",
null );
   
  -        setupComponent( m_dag, "<core>.dag", null );
  -    }
  +        setupComponent( m_phoenixManager, "<core>.phoenix-manager", null );
   
  -    protected void setupComponent( final Component object )
  -        throws Exception
  -    {
  -        setupComponent( object, null, null );
  +        setupComponent( m_dag, "<core>.dag", null );
       }
   
       protected void setupComponent( final Component object,
  
  
  
  1.1                  jakarta-avalon-phoenix/src/java/org/apache/phoenix/engine/facilities/PhoenixManager.java
  
  Index: PhoenixManager.java
  ===================================================================
  /*
   * Copyright (C) The Apache Software Foundation. All rights reserved.
   *
   * This software is published under the terms of the Apache Software License
   * version 1.1, a copy of which has been included with this distribution in
   * the LICENSE file.
   */
  package org.apache.phoenix.engine.facilities;
  
  import org.apache.avalon.atlantis.Facility;
  
  /**
   * This facility is responsible for managing phoenix instance. 
   * This includes managing embeddor, deployer, kernel, applications 
   * and some Blocks.
   *
   * @author <a href="mail@leosimons.com">Leo Simons</a>
   * @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
   */
  public interface PhoenixManager
      extends Facility
  {
  }
  
  
  
  1.1                  jakarta-avalon-phoenix/src/java/org/apache/phoenix/engine/facilities/phoenix/DefaultPhoenixManager.java
  
  Index: DefaultPhoenixManager.java
  ===================================================================
  /*
   * Copyright (C) The Apache Software Foundation. All rights reserved.
   *
   * This software is published under the terms of the Apache Software License
   * version 1.1, a copy of which has been included with this distribution in
   * the LICENSE file.
   */
  package org.apache.phoenix.engine.facilities.phoenix;
  
  import org.apache.phoenix.engine.facilities.PhoenixManager;
  
  /**
   * This is default implementation of PhoenixManager and it uses
   * JMX to manage the kernel and components.
   *
   * @author <a href="mail@leosimons.com">Leo Simons</a>
   * @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
   */
  public class DefaultPhoenixManager
      implements PhoenixManager
  {
  
  }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Mime
View raw message