public class ClassProxyTemplate extends Object implements ClassProxy, Externalizable
| Modifier and Type | Field and Description |
|---|---|
InstanceAdvisor |
instanceAdvisor |
ProxyMixin[] |
mixins |
| Constructor and Description |
|---|
ClassProxyTemplate() |
| Modifier and Type | Method and Description |
|---|---|
InvocationResponse |
_dynamicInvoke(Invocation invocation) |
InstanceAdvisor |
_getInstanceAdvisor()
Returns the
Advisor associated with this weaved instance. |
void |
_setInstanceAdvisor(InstanceAdvisor newAdvisor)
Sets the instance advisor associated with this weaved instance.
|
void |
readExternal(ObjectInput in) |
void |
setMixins(ProxyMixin[] mixins) |
void |
writeExternal(ObjectOutput out) |
Object |
writeReplace() |
public InstanceAdvisor instanceAdvisor
public ProxyMixin[] mixins
public InstanceAdvisor _getInstanceAdvisor()
InstanceAdvisedAdvisor associated with this weaved instance._getInstanceAdvisor in interface InstanceAdvisedpublic void _setInstanceAdvisor(InstanceAdvisor newAdvisor)
InstanceAdvised_setInstanceAdvisor in interface InstanceAdvisednewAdvisor - the new advisor or manager of this weaved object.public InvocationResponse _dynamicInvoke(Invocation invocation) throws Throwable
_dynamicInvoke in interface ClassProxyThrowablepublic Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionpublic void setMixins(ProxyMixin[] mixins)
setMixins in interface ClassProxypublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.