public class Collaborator extends Object implements org.apache.aries.proxy.InvocationListener, Serializable
| Constructor and Description |
|---|
Collaborator(org.osgi.service.blueprint.reflect.ComponentMetadata cm,
List<org.apache.aries.blueprint.Interceptor> interceptors) |
| Modifier and Type | Method and Description |
|---|---|
void |
postInvoke(Object token,
Object o,
Method method,
Object returnType)
Called when the method is called and returned normally
|
void |
postInvokeExceptionalReturn(Object token,
Object o,
Method method,
Throwable exception)
Called when the method is called and returned with an exception
|
Object |
preInvoke(Object o,
Method m,
Object[] parameters)
Invoke the preCall method on the interceptor
|
public Collaborator(org.osgi.service.blueprint.reflect.ComponentMetadata cm,
List<org.apache.aries.blueprint.Interceptor> interceptors)
public Object preInvoke(Object o, Method m, Object[] parameters) throws Throwable
preInvoke in interface org.apache.aries.proxy.InvocationListenero - : The Object being invokedm - : methodparameters - : method paramtersThrowablepublic void postInvoke(Object token, Object o, Method method, Object returnType) throws Throwable
postInvoke in interface org.apache.aries.proxy.InvocationListenerThrowablepublic void postInvokeExceptionalReturn(Object token, Object o, Method method, Throwable exception) throws Throwable
postInvokeExceptionalReturn in interface org.apache.aries.proxy.InvocationListenerThrowableCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.