org.apache.geronimo.farm.deployment
Class BasicClusterConfigurationController

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

@GBean(j2eeType="ClusterConfigurationController")
public class BasicClusterConfigurationController
extends Object
implements 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(ClusterInfo clusterInfo, String nodeName, Artifact artifact, boolean startConfigurationUponStart, boolean ignoreStartConfigurationFailureUponStart)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
protected  ConfigurationManager newConfigurationManager(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")
                                           ClusterInfo clusterInfo,
                                           @ParamAttribute(name="nodeName")
                                           String nodeName,
                                           @ParamAttribute(name="artifact")
                                           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 GBeanLifecycle
Throws:
Exception

doFail

public void doFail()
Specified by:
doFail in interface GBeanLifecycle

doStop

public void doStop()
            throws Exception
Specified by:
doStop in interface 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 ConfigurationManager newConfigurationManager(Kernel kernel)


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