org.apache.webbeans.proxy
Class ResourceProxyHandler

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

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

See Also:
Serialized Form

Constructor Summary
ResourceProxyHandler()
           
ResourceProxyHandler(Object actualResource)
           
 
Method Summary
 Object invoke(Object self, Method actualMethod, Method proceed, Object[] args)
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceProxyHandler

public ResourceProxyHandler()

ResourceProxyHandler

public ResourceProxyHandler(Object actualResource)
Method Detail

invoke

public Object invoke(Object self,
                     Method actualMethod,
                     Method proceed,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface javassist.util.proxy.MethodHandler
Throws:
Throwable

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-2010 The Apache Software Foundation. All Rights Reserved.