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()
InstanceAdvised
Advisor
associated with this weaved instance._getInstanceAdvisor
in interface InstanceAdvised
public void _setInstanceAdvisor(InstanceAdvisor newAdvisor)
InstanceAdvised
_setInstanceAdvisor
in interface InstanceAdvised
newAdvisor
- the new advisor or manager of this weaved object.public InvocationResponse _dynamicInvoke(Invocation invocation) throws Throwable
_dynamicInvoke
in interface ClassProxy
Throwable
public Object writeReplace() throws ObjectStreamException
ObjectStreamException
public void setMixins(ProxyMixin[] mixins)
setMixins
in interface ClassProxy
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.