org.apache.geronimo.farm.deployment
Class BasicClusterConfigurationController

java.lang.Object
  extended by org.apache.geronimo.farm.deployment.BasicClusterConfigurationController
All Implemented Interfaces:
ClusterConfigurationController, org.apache.geronimo.gbean.GBeanLifecycle

@GBean(j2eeType="ClusterConfigurationController")
public class BasicClusterConfigurationController
extends Object
implements org.apache.geronimo.gbean.GBeanLifecycle, ClusterConfigurationController

Version:
$Rev:$ $Date:$

Field Summary
static String GBEAN_ATTR_ARTIFACT
           
static String GBEAN_ATTR_IGNORE_START_CONF_FAIL_UPON_START
           
static String GBEAN_ATTR_NODE_NAME
           
static String GBEAN_ATTR_START_CONF_UPON_START
           
static String GBEAN_J2EE_TYPE
           
static String GBEAN_REF_CLUSTER_INFO
           
 
Constructor Summary
BasicClusterConfigurationController(org.apache.geronimo.farm.config.ClusterInfo clusterInfo, String nodeName, org.apache.geronimo.kernel.repository.Artifact artifact, boolean startConfigurationUponStart, boolean ignoreStartConfigurationFailureUponStart)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
protected  org.apache.geronimo.kernel.config.ConfigurationManager newConfigurationManager(org.apache.geronimo.kernel.Kernel kernel)
           
 void startConfiguration()
           
 void stopConfiguration()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_J2EE_TYPE

public static final String GBEAN_J2EE_TYPE
See Also:
Constant Field Values

GBEAN_ATTR_NODE_NAME

public static final String GBEAN_ATTR_NODE_NAME
See Also:
Constant Field Values

GBEAN_ATTR_ARTIFACT

public static final String GBEAN_ATTR_ARTIFACT
See Also:
Constant Field Values

GBEAN_ATTR_START_CONF_UPON_START

public static final String GBEAN_ATTR_START_CONF_UPON_START
See Also:
Constant Field Values

GBEAN_ATTR_IGNORE_START_CONF_FAIL_UPON_START

public static final String GBEAN_ATTR_IGNORE_START_CONF_FAIL_UPON_START
See Also:
Constant Field Values

GBEAN_REF_CLUSTER_INFO

public static final String GBEAN_REF_CLUSTER_INFO
See Also:
Constant Field Values
Constructor Detail

BasicClusterConfigurationController

public BasicClusterConfigurationController(@ParamReference(name="ClusterInfo")
                                           org.apache.geronimo.farm.config.ClusterInfo clusterInfo,
                                           @ParamAttribute(name="nodeName")
                                           String nodeName,
                                           @ParamAttribute(name="artifact")
                                           org.apache.geronimo.kernel.repository.Artifact artifact,
                                           @ParamAttribute(name="startConfigurationUponStart")
                                           boolean startConfigurationUponStart,
                                           @ParamAttribute(name="ignoreStartConfigurationFailureUponStart")
                                           boolean ignoreStartConfigurationFailureUponStart)
Method Detail

doStart

public void doStart()
             throws Exception
Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
Exception

doFail

public void doFail()
Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle

doStop

public void doStop()
            throws Exception
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
Exception

startConfiguration

public void startConfiguration()
                        throws Exception
Specified by:
startConfiguration in interface ClusterConfigurationController
Throws:
Exception

stopConfiguration

public void stopConfiguration()
                       throws Exception
Specified by:
stopConfiguration in interface ClusterConfigurationController
Throws:
Exception

newConfigurationManager

protected org.apache.geronimo.kernel.config.ConfigurationManager newConfigurationManager(org.apache.geronimo.kernel.Kernel kernel)
                                                                                  throws org.apache.geronimo.kernel.GBeanNotFoundException
Throws:
org.apache.geronimo.kernel.GBeanNotFoundException


Copyright © 2003-2013 The Apache Geronimo development community. All Rights Reserved.