org.jboss.kernel.plugins.dependency
Class InstallExistingScopeAction

java.lang.Object
  extended by org.jboss.dependency.plugins.action.AccessControllerContextAction<T,T>
      extended by org.jboss.dependency.plugins.action.SimpleControllerContextAction<ControllerContext>
          extended by org.jboss.kernel.plugins.dependency.AbstractScopeAction
              extended by org.jboss.kernel.plugins.dependency.InstallExistingScopeAction
All Implemented Interfaces:
ControllerContextAction

public class InstallExistingScopeAction
extends AbstractScopeAction

Install into existing scope action. It expects scoped controller already to be present under the right scope key.

Author:
Ales Justin

Field Summary
static InstallExistingScopeAction INSTANCE
           
 
Constructor Summary
InstallExistingScopeAction()
           
 
Method Summary
protected  void installAction(ControllerContext context)
          The install.
protected  void uninstallAction(ControllerContext context)
          The uninstall.
 
Methods inherited from class org.jboss.kernel.plugins.dependency.AbstractScopeAction
contextCast, getScopeKey, 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
 

Field Detail

INSTANCE

public static final InstallExistingScopeAction INSTANCE
Constructor Detail

InstallExistingScopeAction

public InstallExistingScopeAction()
Method Detail

installAction

protected void installAction(ControllerContext context)
                      throws Throwable
Description copied from class: SimpleControllerContextAction
The install.

Specified by:
installAction in class SimpleControllerContextAction<ControllerContext>
Parameters:
context - the context
Throws:
Throwable - for any error

uninstallAction

protected void uninstallAction(ControllerContext context)
Description copied from class: SimpleControllerContextAction
The uninstall.

Specified by:
uninstallAction in class SimpleControllerContextAction<ControllerContext>
Parameters:
context - the context


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