public class SingleInterceptorCollaborator extends Object implements org.apache.aries.proxy.InvocationListener, Serializable
Constructor and Description |
---|
SingleInterceptorCollaborator(org.osgi.service.blueprint.reflect.ComponentMetadata cm,
org.apache.aries.blueprint.Interceptor interceptor) |
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 SingleInterceptorCollaborator(org.osgi.service.blueprint.reflect.ComponentMetadata cm, org.apache.aries.blueprint.Interceptor interceptor)
public Object preInvoke(Object o, Method m, Object[] parameters) throws Throwable
preInvoke
in interface org.apache.aries.proxy.InvocationListener
Throwable
public void postInvoke(Object token, Object o, Method method, Object returnType) throws Throwable
postInvoke
in interface org.apache.aries.proxy.InvocationListener
Throwable
public void postInvokeExceptionalReturn(Object token, Object o, Method method, Throwable exception) throws Throwable
postInvokeExceptionalReturn
in interface org.apache.aries.proxy.InvocationListener
Throwable
Copyright © 2019. All rights reserved.