|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.aspectwerkz.attribdef.aspect.Introduction
Interface+Implementation Introduction This represents the inner class mixin based implementation in the system todo: is serializable needed ? if so move all non serializable to a container todo: fix methods name ___AW - does it matters ?
| Field Summary | |
static java.lang.Object[] |
EMPTY_OBJECT_ARRAY
An empty Object array. |
| Constructor Summary | |
Introduction(java.lang.String name,
java.lang.Class implClass,
Aspect aspect,
IntroductionDefinition definition)
Create a new introduction |
|
| Method Summary | |
int |
___AW_getDeploymentModel()
Returns the mixin deployment model. |
java.lang.Object |
___AW_getImplementation()
Returns the implementation object for the mixin. |
java.lang.String |
___AW_getImplementationClassName()
Returns the implementation class name for the mixin. |
java.lang.String |
___AW_getName()
Returns the name of the mixin. |
java.lang.Object |
___AW_invokeMixin(int methodIndex,
java.lang.Object callingObject)
Invokes the method with the index specified. |
java.lang.Object |
___AW_invokeMixin(int methodIndex,
java.lang.Object[] parameters,
java.lang.Object callingObject)
Invokes an introduced method with the index specified. |
void |
___AW_setDeploymentModel(int deploymentModel)
Sets the deployment model. |
void |
___AW_swapImplementation(java.lang.String className)
Swaps the current introduction implementation. |
Aspect |
getAspect()
|
IntroductionDefinition |
getIntroductionDefinition()
|
static Introduction |
newInstance(Introduction prototype,
Aspect aspect)
Clone the prototype Introduction. |
void |
setContainer(IntroductionContainer container)
Set the container. |
void |
swapImplementation(java.lang.Class newImplClass)
Swap the implementation of the mixin represented by this Introduction wrapper. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.Object[] EMPTY_OBJECT_ARRAY
Object array.
| Constructor Detail |
public Introduction(java.lang.String name,
java.lang.Class implClass,
Aspect aspect,
IntroductionDefinition definition)
name - of this introduction - by convention the AspectClassFQN $ InnerClassaspect - which defines this mixindefinition - | Method Detail |
public static Introduction newInstance(Introduction prototype,
Aspect aspect)
prototype - introductionaspect - related aspect (not prototype)
public void setContainer(IntroductionContainer container)
container - public Aspect getAspect()
public IntroductionDefinition getIntroductionDefinition()
public java.lang.String ___AW_getName()
___AW_getName in interface Mixinpublic int ___AW_getDeploymentModel()
___AW_getDeploymentModel in interface Mixinpublic void ___AW_setDeploymentModel(int deploymentModel)
deploymentModel - the deployment model
public java.lang.Object ___AW_invokeMixin(int methodIndex,
java.lang.Object callingObject)
___AW_invokeMixin in interface MixinmethodIndex - the method indexcallingObject - a reference to the calling object
public java.lang.Object ___AW_invokeMixin(int methodIndex,
java.lang.Object[] parameters,
java.lang.Object callingObject)
___AW_invokeMixin in interface MixinmethodIndex - the method indexparameters - the parameters for the invocationcallingObject - a reference to the calling object
public java.lang.String ___AW_getImplementationClassName()
___AW_getImplementationClassName in interface Mixinpublic java.lang.Object ___AW_getImplementation()
public void ___AW_swapImplementation(java.lang.String className)
___AW_swapImplementation in interface MixinclassName - the class name of the new implementationpublic void swapImplementation(java.lang.Class newImplClass)
newImplClass -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||