org.codehaus.aspectwerkz.xmldef.introduction
Class HasMetaDataImpl

java.lang.Object
  extended byorg.codehaus.aspectwerkz.xmldef.introduction.HasMetaDataImpl
All Implemented Interfaces:
HasMetaData

public class HasMetaDataImpl
extends java.lang.Object
implements HasMetaData

Mixin that is applied to all Introductions. Enables the retrieval of meta-data for the Introduction.

Author:
Jonas Bonér

Field Summary
 
Fields inherited from interface org.codehaus.aspectwerkz.xmldef.introduction.HasMetaData
DEPLOYMENT_MODEL, IMPLEMENTATION_CLASS, INTERFACE_CLASS, NAME
 
Constructor Summary
HasMetaDataImpl()
           
 
Method Summary
 int ___AW_getDeploymentModel()
          Returns the deployment model for the introduction/advice that this mixin is applied to.
 java.lang.Class ___AW_getTargetClass()
          Returns the target class for the introduction that this mixin is applied to.
 java.lang.Object ___AW_getTargetObject()
          Returns the target object for the introduction that this mixin is applied to.
 void ___AW_setDeploymentModel(int deploymentModel)
          Sets the deployment model for the introduction that this mixin is applied to.
 void ___AW_setTargetClass(java.lang.Class targetClass)
          Sets the target class for the introduction that this mixin is applied to.
 void ___AW_setTargetObject(java.lang.Object targetObject)
          Sets the target object for the introduction that this mixin is applied to.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasMetaDataImpl

public HasMetaDataImpl()
Method Detail

___AW_getDeploymentModel

public int ___AW_getDeploymentModel()
Returns the deployment model for the introduction/advice that this mixin is applied to.

Specified by:
___AW_getDeploymentModel in interface HasMetaData
Returns:
the deployment model

___AW_setDeploymentModel

public void ___AW_setDeploymentModel(int deploymentModel)
Sets the deployment model for the introduction that this mixin is applied to.

Specified by:
___AW_setDeploymentModel in interface HasMetaData
Parameters:
deploymentModel - the deployment model

___AW_getTargetObject

public java.lang.Object ___AW_getTargetObject()
Returns the target object for the introduction that this mixin is applied to. Returns null if the introduction that this mixin is applied to is deployed as perInstance.

Specified by:
___AW_getTargetObject in interface HasMetaData
Returns:
the target object

___AW_setTargetObject

public void ___AW_setTargetObject(java.lang.Object targetObject)
Sets the target object for the introduction that this mixin is applied to.

Specified by:
___AW_setTargetObject in interface HasMetaData
Parameters:
targetObject - the target object

___AW_getTargetClass

public java.lang.Class ___AW_getTargetClass()
Returns the target class for the introduction that this mixin is applied to.

Specified by:
___AW_getTargetClass in interface HasMetaData
Returns:
the target class

___AW_setTargetClass

public void ___AW_setTargetClass(java.lang.Class targetClass)
Sets the target class for the introduction that this mixin is applied to.

Specified by:
___AW_setTargetClass in interface HasMetaData
Parameters:
targetClass - the target class


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.