org.jboss.system.microcontainer
Class ServiceControllerContextAction

java.lang.Object
  extended by org.jboss.dependency.plugins.action.AccessControllerContextAction<T,T>
      extended by org.jboss.dependency.plugins.action.SimpleControllerContextAction<ServiceControllerContext>
          extended by org.jboss.system.microcontainer.ServiceControllerContextAction
All Implemented Interfaces:
org.jboss.dependency.plugins.action.ControllerContextAction
Direct Known Subclasses:
ConfigureAction, CreateDestroyLifecycleAction, DescribeAction, InstallAction, InstantiateAction, OnlyUnregisterAction, StartStopLifecycleAction

public class ServiceControllerContextAction
extends org.jboss.dependency.plugins.action.SimpleControllerContextAction<ServiceControllerContext>

ServiceControllerContextAction.

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

Field Summary
protected  org.jboss.logging.Logger log
           
 
Constructor Summary
ServiceControllerContextAction()
           
 
Method Summary
protected  ServiceControllerContext contextCast(org.jboss.dependency.spi.ControllerContext context)
           
 void installAction(ServiceControllerContext context)
           
 void uninstallAction(ServiceControllerContext context)
           
protected  boolean validateContext(org.jboss.dependency.spi.ControllerContext context)
           
 
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

log

protected org.jboss.logging.Logger log
Constructor Detail

ServiceControllerContextAction

public ServiceControllerContextAction()
Method Detail

contextCast

protected ServiceControllerContext contextCast(org.jboss.dependency.spi.ControllerContext context)
Specified by:
contextCast in class org.jboss.dependency.plugins.action.SimpleControllerContextAction<ServiceControllerContext>

validateContext

protected boolean validateContext(org.jboss.dependency.spi.ControllerContext context)
Specified by:
validateContext in class org.jboss.dependency.plugins.action.AccessControllerContextAction<ServiceControllerContext,ServiceControllerContext>

installAction

public void installAction(ServiceControllerContext context)
                   throws Throwable
Specified by:
installAction in class org.jboss.dependency.plugins.action.SimpleControllerContextAction<ServiceControllerContext>
Throws:
Throwable

uninstallAction

public void uninstallAction(ServiceControllerContext context)
Specified by:
uninstallAction in class org.jboss.dependency.plugins.action.SimpleControllerContextAction<ServiceControllerContext>


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