com.liferay.portal.security.lang
Class DoPrivilegedUtil
java.lang.Object
com.liferay.portal.security.lang.DoPrivilegedUtil
public class DoPrivilegedUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoPrivilegedUtil
public DoPrivilegedUtil()
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)