org.jboss.kernel.plugins.dependency
Class PreInstallAction

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.PreInstallAction
All Implemented Interfaces:
ControllerContextAction

public class PreInstallAction
extends InstallsAwareAction

PreInstallAction.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.kernel.plugins.dependency.KernelControllerContextAction
log
 
Constructor Summary
PreInstallAction()
           
 
Method Summary
protected  void applyScoping(KernelControllerContext context)
           
protected  org.jboss.metadata.spi.scope.ScopeKey getInstallScopeKey(KernelControllerContext context, KernelMetaDataRepository repository)
           
protected  org.jboss.metadata.spi.scope.ScopeFactory<? extends Annotation> getScopeFactory(Class<? extends org.jboss.metadata.spi.scope.ScopeFactory<? extends Annotation>> clazz)
          Get the scope factory.
protected  ControllerState getState()
          Get the action's state.
protected  void installActionInternal(KernelControllerContext context)
          Execute install action.
protected  void removeScoping(KernelControllerContext context)
           
protected  void uninstallActionInternal(KernelControllerContext context)
          Execute uninstall action.
 
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, getActionAwareInterface, 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

PreInstallAction

public PreInstallAction()
Method Detail

getScopeFactory

protected org.jboss.metadata.spi.scope.ScopeFactory<? extends Annotation> getScopeFactory(Class<? extends org.jboss.metadata.spi.scope.ScopeFactory<? extends Annotation>> clazz)
                                                                                   throws Throwable
Get the scope factory.

Parameters:
clazz - the class key
Returns:
scope factory
Throws:
Throwable - for any error

installActionInternal

protected void installActionInternal(KernelControllerContext context)
                              throws Throwable
Description copied from class: KernelControllerContextAction
Execute install action.

Overrides:
installActionInternal in class KernelControllerContextAction
Parameters:
context - the context
Throws:
Throwable - for any error

getInstallScopeKey

protected org.jboss.metadata.spi.scope.ScopeKey getInstallScopeKey(KernelControllerContext context,
                                                                   KernelMetaDataRepository repository)
                                                            throws Throwable
Throws:
Throwable

applyScoping

protected void applyScoping(KernelControllerContext context)
                     throws Throwable
Throws:
Throwable

removeScoping

protected void removeScoping(KernelControllerContext context)
                      throws Throwable
Throws:
Throwable

uninstallActionInternal

protected void uninstallActionInternal(KernelControllerContext context)
Description copied from class: KernelControllerContextAction
Execute uninstall action.

Overrides:
uninstallActionInternal in class KernelControllerContextAction
Parameters:
context - the context

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 © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.