public class ProxyDescriptorImpl extends Object implements TypeProxy, Serializable
RemoteClient and which is linked to a RemoteServer.InstanceIdAccessor.InstanceIdMutator, InstanceIdAccessor.InstanceIdPropertyorg.refcodes.mixin.mixins.TypeAccessor.TypeMutator, org.refcodes.mixin.mixins.TypeAccessor.TypePropertyProxyAccessor.ProxyMutator, ProxyAccessor.ProxyProperty| Constructor and Description |
|---|
ProxyDescriptorImpl()
Creates a new ProxyDescriptor object.
|
ProxyDescriptorImpl(Object aProxy,
Class<?> aType,
String aInstanceId)
Creates a new
TypeProxy object. |
ProxyDescriptorImpl(TypeInstance aClassDescriptor,
Object aProxy)
Creates a new
TypeProxy object. |
| Modifier and Type | Method and Description |
|---|---|
String |
getInstanceId()
Retrieves the instance ID from the instance ID property.
|
<P> P |
getProxy()
Retrieves the proxy from the proxy property.
|
Class<?> |
getType() |
String |
toString() |
public ProxyDescriptorImpl()
public ProxyDescriptorImpl(Object aProxy, Class<?> aType, String aInstanceId)
TypeProxy object.aProxy - The proxy in question.aType - The type of the proxy in question.aInstanceId - The instance ID assigned to the proxy in question.public ProxyDescriptorImpl(TypeInstance aClassDescriptor, Object aProxy)
TypeProxy object.aClassDescriptor - The descriptor describing the class of the proxy
in question.aProxy - The proxy in question.public String getInstanceId()
getInstanceId in interface InstanceIdAccessorpublic Class<?> getType()
getType in interface org.refcodes.mixin.mixins.TypeAccessorpublic <P> P getProxy()
getProxy in interface ProxyAccessorP - The expected type of the proxy.Copyright © 2015. All rights reserved.