org.codehaus.aspectwerkz.xmldef.introduction
Interface HasMetaData

All Known Implementing Classes:
HasMetaDataImpl

public interface HasMetaData

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

Author:
Jonas Bonér

Field Summary
static java.lang.String DEPLOYMENT_MODEL
          The deployment model for the mixin.
static java.lang.String IMPLEMENTATION_CLASS
          The full implementation name for the mixin..
static java.lang.String INTERFACE_CLASS
          The full interface name for the mixin..
static java.lang.String NAME
          The name of the mixin.
 
Method Summary
 int ___AW_getDeploymentModel()
          Returns the deployment model for the introduction/advice
 java.lang.Class ___AW_getTargetClass()
          Returns the target class for the introduction/advice.
 java.lang.Object ___AW_getTargetObject()
          Returns the target object for the introduction/advice.
 void ___AW_setDeploymentModel(int deploymentModel)
          Sets the deployment model for the advice.
 void ___AW_setTargetClass(java.lang.Class targetClass)
          Sets the target class for the introduction/advice.
 void ___AW_setTargetObject(java.lang.Object targetObject)
          Sets the target object for the introduction/advice.
 

Field Detail

NAME

public static final java.lang.String NAME
The name of the mixin.

See Also:
Constant Field Values

INTERFACE_CLASS

public static final java.lang.String INTERFACE_CLASS
The full interface name for the mixin..

See Also:
Constant Field Values

IMPLEMENTATION_CLASS

public static final java.lang.String IMPLEMENTATION_CLASS
The full implementation name for the mixin..

See Also:
Constant Field Values

DEPLOYMENT_MODEL

public static final java.lang.String DEPLOYMENT_MODEL
The deployment model for the mixin.

See Also:
Constant Field Values
Method Detail

___AW_getDeploymentModel

public int ___AW_getDeploymentModel()
Returns the deployment model for the introduction/advice

Returns:
the deployment model

___AW_setDeploymentModel

public void ___AW_setDeploymentModel(int deploymentModel)
Sets the deployment model for the advice.

Parameters:
deploymentModel - the deployment model

___AW_getTargetObject

public java.lang.Object ___AW_getTargetObject()
Returns the target object for the introduction/advice. Returns null if the target object is deployed as perInstance.

Returns:
the target object

___AW_setTargetObject

public void ___AW_setTargetObject(java.lang.Object targetObject)
Sets the target object for the introduction/advice.

Parameters:
targetObject - the target object

___AW_getTargetClass

public java.lang.Class ___AW_getTargetClass()
Returns the target class for the introduction/advice.

Returns:
the target class

___AW_setTargetClass

public void ___AW_setTargetClass(java.lang.Class targetClass)
Sets the target class for the introduction/advice.

Parameters:
targetClass - the target class


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