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 <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 <T,X extends Throwable> T runAsSystem(RunnableAsSystem<T,X> runnable) throws X extends Throwable
X extends ThrowableCopyright © 2015. All Rights Reserved.