public abstract class ServiceProxy extends Object implements org.aopalliance.intercept.MethodInterceptor
| 构造器和说明 |
|---|
ServiceProxy(ClassLoader serviceClassLoader) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract void |
do_catch(org.aopalliance.intercept.MethodInvocation invocation,
Throwable e,
long startTime) |
protected abstract void |
do_finally(org.aopalliance.intercept.MethodInvocation invocation,
long startTime) |
protected abstract Object |
doInvoke(org.aopalliance.intercept.MethodInvocation invocation) |
protected String |
getCommonInvocationLog(String start,
org.aopalliance.intercept.MethodInvocation invocation,
long startTime) |
ClassLoader |
getServiceClassLoader() |
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
protected void |
popThreadContextClassLoader(ClassLoader tcl) |
protected void |
pushThreadContextClassLoader(ClassLoader newContextClassLoader) |
public ServiceProxy(ClassLoader serviceClassLoader)
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke 在接口中 org.aopalliance.intercept.MethodInterceptorThrowableprotected void pushThreadContextClassLoader(ClassLoader newContextClassLoader)
protected void popThreadContextClassLoader(ClassLoader tcl)
protected String getCommonInvocationLog(String start, org.aopalliance.intercept.MethodInvocation invocation, long startTime)
public ClassLoader getServiceClassLoader()
protected abstract Object doInvoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
Throwableprotected abstract void do_catch(org.aopalliance.intercept.MethodInvocation invocation,
Throwable e,
long startTime)
protected abstract void do_finally(org.aopalliance.intercept.MethodInvocation invocation,
long startTime)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.