org.jboss.kernel.plugins.dependency
Class CreateDestroyLifecycleAction

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.LifecycleAction
                  extended by org.jboss.kernel.plugins.dependency.CreateDestroyLifecycleAction
All Implemented Interfaces:
org.jboss.dependency.plugins.action.ControllerContextAction

public class CreateDestroyLifecycleAction
extends LifecycleAction

CreateDestroyLifecycleAction.

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

Field Summary
 
Fields inherited from class org.jboss.kernel.plugins.dependency.KernelControllerContextAction
log
 
Constructor Summary
CreateDestroyLifecycleAction()
           
 
Method Summary
protected  Class<? extends KernelControllerContextAware> getActionAwareInterface()
           
 String getDefaultInstallMethod()
          Get install default method name
 String getDefaultUninstallMethod()
          Get uninstall default method name
protected  LifecycleMetaData getInstallLifecycle(BeanMetaData beanMetaData)
          Get install Lifecycle metadata.
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.KernelControllerContextAction
contextCast, installAction, uninstallAction, 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

CreateDestroyLifecycleAction

public CreateDestroyLifecycleAction()
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()
Overrides:
getActionAwareInterface in class KernelControllerContextAction

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


Copyright ? 2007 JBoss Inc.. All Rights Reserved.