org.jboss.aop
Interface InstanceAdvised

All Known Subinterfaces:
Advised, ClassProxy
All Known Implementing Classes:
ClassProxyTemplate, Proxy

public interface InstanceAdvised

Automatically implemented by every AOP-generated proxy and weaved class.
This allows the retrieval of the instance advisor, so you can dynamically bind per-instance interceptors and metadata.

Version:
$Revision: 68585 $
Author:
Bill Burke
See Also:
InstanceAdvisor

Method Summary
 InstanceAdvisor _getInstanceAdvisor()
          Returns the Advisor associated with this weaved instance.
 void _setInstanceAdvisor(InstanceAdvisor newAdvisor)
          Sets the instance advisor associated with this weaved instance.
 

Method Detail

_getInstanceAdvisor

InstanceAdvisor _getInstanceAdvisor()
Returns the Advisor associated with this weaved instance.

Returns:
the advisor or manager of this weaved object.

_setInstanceAdvisor

void _setInstanceAdvisor(InstanceAdvisor newAdvisor)
Sets the instance advisor associated with this weaved instance.

Parameters:
newAdvisor - the new advisor or manager of this weaved object.


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