org.apache.webbeans.decorator
Class DelegateHandler

java.lang.Object
  extended by org.apache.webbeans.decorator.DelegateHandler
All Implemented Interfaces:
Externalizable, Serializable, javassist.util.proxy.MethodHandler

public class DelegateHandler
extends Object
implements javassist.util.proxy.MethodHandler, Serializable, Externalizable

See Also:
Serialized Form

Constructor Summary
DelegateHandler()
           
DelegateHandler(OwbBean<?> bean)
           
DelegateHandler(OwbBean<?> bean, javax.interceptor.InvocationContext ejbContext)
           
 
Method Summary
 Object invoke(Object instance, Method method, Method proceed, Object[] arguments)
           
 void readExternal(ObjectInput in)
           
 void setDecorators(List<Object> dec)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateHandler

public DelegateHandler()

DelegateHandler

public DelegateHandler(OwbBean<?> bean)

DelegateHandler

public DelegateHandler(OwbBean<?> bean,
                       javax.interceptor.InvocationContext ejbContext)
Method Detail

invoke

public Object invoke(Object instance,
                     Method method,
                     Method proceed,
                     Object[] arguments)
              throws Exception
Specified by:
invoke in interface javassist.util.proxy.MethodHandler
Throws:
Exception

setDecorators

public void setDecorators(List<Object> dec)

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException


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