org.jboss.kernel.plugins.dependency
Class KernelControllerContextActions

java.lang.Object
  extended by org.jboss.dependency.plugins.AbstractControllerContextActions
      extended by org.jboss.kernel.plugins.dependency.KernelControllerContextActions
All Implemented Interfaces:
ControllerContextActions

public class KernelControllerContextActions
extends AbstractControllerContextActions

The KernelControllerActions.

When there is a security manager and we are using a native context we switch to our privileges to run the actions and switch back to callout to beans.

Otherwise, we just use the caller's privileges.

Version:
$Revision: 73534 $
Author:
Adrian Brock

Constructor Summary
protected KernelControllerContextActions(Map<ControllerState,ControllerContextAction> actions)
          Create a new KernelControllerContextActions.
 
Method Summary
static KernelControllerContextActions getInstance()
          Get the instance
static KernelControllerContextActions getNoInstantiate()
          Get no instantiate actions
 
Methods inherited from class org.jboss.dependency.plugins.AbstractControllerContextActions
getAction, install, uninstall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KernelControllerContextActions

protected KernelControllerContextActions(Map<ControllerState,ControllerContextAction> actions)
Create a new KernelControllerContextActions.

Parameters:
actions - the actions
Method Detail

getInstance

public static KernelControllerContextActions getInstance()
Get the instance

Returns:
the actions

getNoInstantiate

public static KernelControllerContextActions getNoInstantiate()
Get no instantiate actions

Returns:
the actions


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