org.apache.aries.blueprint.proxy
Class Collaborator

java.lang.Object
  extended by org.apache.aries.blueprint.proxy.Collaborator
All Implemented Interfaces:
java.io.Serializable, org.apache.aries.proxy.InvocationHandlerWrapper

public class Collaborator
extends java.lang.Object
implements org.apache.aries.proxy.InvocationHandlerWrapper, java.io.Serializable

A collaborator which ensures preInvoke and postInvoke occur before and after method invocation

See Also:
Serialized Form

Constructor Summary
Collaborator(ComponentMetadata cm, java.util.List<Interceptor> interceptors)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args, java.lang.reflect.InvocationHandler target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Collaborator

public Collaborator(ComponentMetadata cm,
                    java.util.List<Interceptor> interceptors)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args,
                               java.lang.reflect.InvocationHandler target)
                        throws java.lang.Throwable
Specified by:
invoke in interface org.apache.aries.proxy.InvocationHandlerWrapper
Throws:
java.lang.Throwable


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.