org.jboss.kernel.plugins.dependency
Class StartStopLifecycleAction

java.lang.Object
  extended by org.jboss.dependency.plugins.action.AccessControllerContextAction<T,T>
      extended by org.jboss.dependency.plugins.action.SimpleControllerContextAction<KernelControllerContext>
          extended by org.jboss.kernel.plugins.dependency.KernelControllerContextAction
              extended by org.jboss.kernel.plugins.dependency.InstallsAwareAction
                  extended by org.jboss.kernel.plugins.dependency.LifecycleAction
                      extended by org.jboss.kernel.plugins.dependency.StartStopLifecycleAction
All Implemented Interfaces:
ControllerContextAction

public class StartStopLifecycleAction
extends LifecycleAction

StartStopLifecycleAction.

Version:
$Revision: 69987 $
Author:
Adrian Brock, Ales Justin

Field Summary
 
Fields inherited from class org.jboss.kernel.plugins.dependency.KernelControllerContextAction
log
 
Constructor Summary
StartStopLifecycleAction()
           
 
Method Summary
protected  Class<? extends KernelControllerContextAware> getActionAwareInterface()
          Get the action aware interface.
 String getDefaultInstallMethod()
          Get install default method name
 String getDefaultUninstallMethod()
          Get uninstall default method name
protected  LifecycleMetaData getInstallLifecycle(BeanMetaData beanMetaData)
          Get install Lifecycle metadata.
protected  ControllerState getState()
          Get the action's state.
protected  LifecycleMetaData getUninstallLifecycle(BeanMetaData beanMetaData)
          Get uninstall Lifecycle metadata.
 
Methods inherited from class org.jboss.kernel.plugins.dependency.LifecycleAction
getInstallMethod, getInstallMethod, getInstallParameters, getInstallParameters, getMethod, getParameters, getUninstallMethod, getUninstallMethod, getUninstallParameters, getUninstallParameters, installActionInternal, isInstallInvocationIgnored, isInvocationIgnored, isUninstallInvocationIgnored, uninstallActionInternal
 
Methods inherited from class org.jboss.kernel.plugins.dependency.InstallsAwareAction
considerUninstalls, doInstalls, doUninstalls, doUninstalls, installAction, undoInstallAction, uninstallAction
 
Methods inherited from class org.jboss.kernel.plugins.dependency.KernelControllerContextAction
contextCast, setKernelControllerContext, unsetKernelControllerContext, validateContext
 
Methods inherited from class org.jboss.dependency.plugins.action.SimpleControllerContextAction
fullContextCast, secureInstallAction, secureUninstallAction, simpleContextCast, simpleInstallAction, simpleUninstallAction
 
Methods inherited from class org.jboss.dependency.plugins.action.AccessControllerContextAction
install, uninstall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartStopLifecycleAction

public StartStopLifecycleAction()
Method Detail

getInstallLifecycle

protected LifecycleMetaData getInstallLifecycle(BeanMetaData beanMetaData)
Description copied from class: LifecycleAction
Get install Lifecycle metadata.

Specified by:
getInstallLifecycle in class LifecycleAction
Parameters:
beanMetaData - the bean meta data
Returns:
install lifecycle metadata

getDefaultInstallMethod

public String getDefaultInstallMethod()
Description copied from class: LifecycleAction
Get install default method name

Specified by:
getDefaultInstallMethod in class LifecycleAction
Returns:
install annotation name

getActionAwareInterface

protected Class<? extends KernelControllerContextAware> getActionAwareInterface()
Description copied from class: KernelControllerContextAction
Get the action aware interface.

Overrides:
getActionAwareInterface in class KernelControllerContextAction
Returns:
the action aware interface

getUninstallLifecycle

protected LifecycleMetaData getUninstallLifecycle(BeanMetaData beanMetaData)
Description copied from class: LifecycleAction
Get uninstall Lifecycle metadata.

Specified by:
getUninstallLifecycle in class LifecycleAction
Parameters:
beanMetaData - the bean meta data
Returns:
uninstall lifecycle metadata

getDefaultUninstallMethod

public String getDefaultUninstallMethod()
Description copied from class: LifecycleAction
Get uninstall default method name

Specified by:
getDefaultUninstallMethod in class LifecycleAction
Returns:
install annotation name

getState

protected ControllerState getState()
Description copied from class: InstallsAwareAction
Get the action's state.

Specified by:
getState in class InstallsAwareAction
Returns:
get the action's state


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.