Liferay 6.1.2-ce-ga3

com.liferay.portal.security.lang
Class DoPrivilegedUtil

java.lang.Object
  extended by com.liferay.portal.security.lang.DoPrivilegedUtil

public class DoPrivilegedUtil
extends Object


Nested Class Summary
static interface DoPrivilegedUtil.PACL
           
 
Constructor Summary
DoPrivilegedUtil()
           
 
Method Summary
static
<T> T
wrap(PrivilegedAction<T> privilegedAction)
           
static
<T> T
wrap(PrivilegedExceptionAction<T> privilegedExceptionAction)
           
static
<T> T
wrap(T t)
           
static
<T> T
wrapWhenActive(T t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoPrivilegedUtil

public DoPrivilegedUtil()
Method Detail

wrap

public static <T> T wrap(PrivilegedAction<T> privilegedAction)

wrap

public static <T> T wrap(PrivilegedExceptionAction<T> privilegedExceptionAction)
              throws Exception
Throws:
Exception

wrap

public static <T> T wrap(T t)

wrapWhenActive

public static <T> T wrapWhenActive(T t)

Liferay 6.1.2-ce-ga3