public class RunAsSystemProxy extends Object implements org.aopalliance.aop.Advice, org.aopalliance.intercept.MethodInterceptor
| Constructor and Description |
|---|
RunAsSystemProxy(Object targetObject) |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
static void |
runAsSystem(Runnable runnable) |
static <T,X extends Throwable> |
runAsSystem(RunnableAsSystem<T,X> runnable) |
public RunAsSystemProxy(Object targetObject)
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorThrowablepublic static void runAsSystem(Runnable runnable)
public static <T,X extends Throwable> T runAsSystem(RunnableAsSystem<T,X> runnable) throws X extends Throwable
X extends ThrowableCopyright © 2017. All Rights Reserved.