org.jboss.kernel.plugins.dependency
Class AbstractScopeAction
java.lang.Object
org.jboss.dependency.plugins.action.AccessControllerContextAction<T,T>
org.jboss.dependency.plugins.action.SimpleControllerContextAction<ControllerContext>
org.jboss.kernel.plugins.dependency.AbstractScopeAction
- All Implemented Interfaces:
- ControllerContextAction
- Direct Known Subclasses:
- InstallExistingScopeAction, InstallScopeAction
public abstract class AbstractScopeAction
- extends SimpleControllerContextAction<ControllerContext>
Abstract scope action.
- Author:
- Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractScopeAction
public AbstractScopeAction()
contextCast
protected ControllerContext contextCast(ControllerContext context)
- Description copied from class:
SimpleControllerContextAction
- Cast the context to the actual implementation.
- Specified by:
contextCast
in class SimpleControllerContextAction<ControllerContext>
- Parameters:
context
- the context
- Returns:
- exact context type
validateContext
protected boolean validateContext(ControllerContext context)
- Description copied from class:
AccessControllerContextAction
- Validate context
- Specified by:
validateContext
in class AccessControllerContextAction<ControllerContext,ControllerContext>
- Parameters:
context
- context instance to validate
- Returns:
- false if not able to use privileged action
getScopeKey
protected org.jboss.metadata.spi.scope.ScopeKey getScopeKey(ControllerContext context)
- Get install scope key.
- Parameters:
context
- the context
- Returns:
- install scope key
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.