|
Invocation API 1.1.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.invocation.proxy.DefaultSerializableProxy
public class DefaultSerializableProxy
Serialized representation of a proxy.
Provides a simple default serialized representation, that saves the InvocationHandler
state and loads the proxy into
the Thread Context Class Loader.
This class should not be used if a security manager is present that prevents access to the Thread Context Class Loader.
Constructor Summary | |
---|---|
DefaultSerializableProxy()
|
Method Summary | |
---|---|
protected Class<?> |
getProxyClass()
Get the associated proxy class. |
protected ClassLoader |
getProxyClassLoader()
Get the proxy class loader. |
protected Object |
readResolve()
Resolve the serialized proxy to a real instance. |
void |
setProxyInstance(Object proxy)
Set the proxy instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSerializableProxy()
Method Detail |
---|
public void setProxyInstance(Object proxy)
setProxyInstance
in interface SerializableProxy
proxy
- the proxy instanceprotected Object readResolve() throws ObjectStreamException
ObjectStreamException
- if an error occursprotected Class<?> getProxyClass() throws ClassNotFoundException
ClassNotFoundException
- if the proxy class is not foundprotected ClassLoader getProxyClassLoader()
|
Invocation API 1.1.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |