net.sf.container.imp
Class ContainerImp

java.lang.Object
  extended by net.sf.container.imp.ContainerImp
All Implemented Interfaces:
Container

public class ContainerImp
extends java.lang.Object
implements Container

Implements default container logic created on Jun 9, 2005

Since:
Version:
$Revision: 1.2 $
Author:
fiykov

Constructor Summary
ContainerImp(java.security.AccessControlContext context)
          Create the container with given context settings
 
Method Summary
 java.lang.Object doPrivileged(java.security.PrivilegedAction action)
          execute the given action
 java.lang.Object doPrivileged(java.security.PrivilegedExceptionAction action)
          execute the given action
 void doPrivileged(java.lang.Runnable action)
          execute the given action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerImp

public ContainerImp(java.security.AccessControlContext context)
Create the container with given context settings

Parameters:
context -
Method Detail

doPrivileged

public void doPrivileged(java.lang.Runnable action)
execute the given action

Specified by:
doPrivileged in interface Container
Parameters:
action - to execute

doPrivileged

public java.lang.Object doPrivileged(java.security.PrivilegedAction action)
execute the given action

Specified by:
doPrivileged in interface Container
Parameters:
action - to execute
Returns:
result of the action (if defined) or null

doPrivileged

public java.lang.Object doPrivileged(java.security.PrivilegedExceptionAction action)
                              throws java.security.PrivilegedActionException
execute the given action

Specified by:
doPrivileged in interface Container
Parameters:
action - to execute
Returns:
result of the action (if defined) or null
Throws:
java.security.PrivilegedActionException


Copyright © 2007 Nikolay Fiykov. All Rights Reserved.