org.jboss.kernel.plugins.dependency
Class AbstractConfigureAction

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.AbstractConfigureAction
All Implemented Interfaces:
ControllerContextAction
Direct Known Subclasses:
ConfigureAction

public abstract class AbstractConfigureAction
extends InstallsAwareAction

AbstractConfigureAction.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.kernel.plugins.dependency.KernelControllerContextAction
log
 
Constructor Summary
AbstractConfigureAction()
           
 
Method Summary
protected  Class<? extends KernelControllerContextAware> getActionAwareInterface()
          Get the action aware interface.
protected  ControllerState getState()
          Get the action's state.
protected  void installKernelControllerContextAware(KernelControllerContext context)
          Execute KCCA install.
protected  boolean isExactlyKernelControllerContextAware(Object o)
          Is exactly KCCA instance.
protected  void uninstallKernelControllerContextAware(KernelControllerContext context)
          Execute KCCA uninstall.
 
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, installActionInternal, setKernelControllerContext, uninstallActionInternal, 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

AbstractConfigureAction

public AbstractConfigureAction()
Method Detail

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

installKernelControllerContextAware

protected void installKernelControllerContextAware(KernelControllerContext context)
                                            throws Throwable
Execute KCCA install.

Parameters:
context - the controller context
Throws:
Throwable - for any erroor

uninstallKernelControllerContextAware

protected void uninstallKernelControllerContextAware(KernelControllerContext context)
Execute KCCA uninstall.

Parameters:
context - the controller context

isExactlyKernelControllerContextAware

protected boolean isExactlyKernelControllerContextAware(Object o)
Is exactly KCCA instance.

Parameters:
o - the target to test
Returns:
true if exact match

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.