org.apache.webbeans.decorator
Class DelegateHandler

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

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

See Also:
Serialized Form

Constructor Summary
DelegateHandler()
           
DelegateHandler(OwbBean<?> bean)
           
DelegateHandler(OwbBean<?> bean, javax.interceptor.InvocationContext ejbContext)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object instance, java.lang.reflect.Method method, java.lang.reflect.Method proceed, java.lang.Object[] arguments)
           
 void readExternal(java.io.ObjectInput in)
           
 void setDecorators(java.util.List<java.lang.Object> dec)
           
 void writeExternal(java.io.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 java.lang.Object invoke(java.lang.Object instance,
                               java.lang.reflect.Method method,
                               java.lang.reflect.Method proceed,
                               java.lang.Object[] arguments)
                        throws java.lang.Exception
Specified by:
invoke in interface javassist.util.proxy.MethodHandler
Throws:
java.lang.Exception

setDecorators

public void setDecorators(java.util.List<java.lang.Object> dec)

writeExternal

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

readExternal

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


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