org.jboss.aop.proxy
Class Proxy

java.lang.Object
  extended by org.jboss.aop.proxy.Proxy
All Implemented Interfaces:
Serializable, InstanceAdvised, MethodMapped

public abstract class Proxy
extends Object
implements InstanceAdvised, Serializable, MethodMapped

Version:
$Revision: 71276 $
Author:
Bill Burke
See Also:
Serialized Form

Field Summary
 org.jboss.util.id.GUID guid
           
 InstanceAdvisor instanceAdvisor
           
 Class<?>[] interfaces
           
 ProxyMixin[] mixins
           
 
Constructor Summary
Proxy()
           
 
Method Summary
 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.
abstract  Map<Long,MethodPersistentReference> getMethodMap()
           
 Object writeReplace()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instanceAdvisor

public InstanceAdvisor instanceAdvisor

mixins

public ProxyMixin[] mixins

interfaces

public Class<?>[] interfaces

guid

public org.jboss.util.id.GUID guid
Constructor Detail

Proxy

public Proxy()
Method Detail

_getInstanceAdvisor

public InstanceAdvisor _getInstanceAdvisor()
Description copied from interface: InstanceAdvised
Returns the Advisor associated with this weaved instance.

Specified by:
_getInstanceAdvisor in interface InstanceAdvised
Returns:
the advisor or manager of this weaved object.

_setInstanceAdvisor

public void _setInstanceAdvisor(InstanceAdvisor newAdvisor)
Description copied from interface: InstanceAdvised
Sets the instance advisor associated with this weaved instance.

Specified by:
_setInstanceAdvisor in interface InstanceAdvised
Parameters:
newAdvisor - the new advisor or manager of this weaved object.

_dynamicInvoke

public InvocationResponse _dynamicInvoke(Invocation invocation)
                                  throws Throwable
Throws:
Throwable

writeReplace

public Object writeReplace()
                    throws ObjectStreamException
Throws:
ObjectStreamException

getMethodMap

public abstract Map<Long,MethodPersistentReference> getMethodMap()
Specified by:
getMethodMap in interface MethodMapped


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.