|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for the introduction container implementations.
| Method Summary | |
java.lang.Class |
getTargetClass(java.lang.Object mixinImpl)
Returns the target class from an introduction |
java.lang.Object |
getTargetInstance(java.lang.Object mixinImpl)
Returns the target instance from an introduction |
java.lang.Object |
invokeIntroductionPerClass(java.lang.Object callingObject,
int methodIndex,
java.lang.Object[] parameters)
Invokes the method on a per class basis. |
java.lang.Object |
invokeIntroductionPerInstance(java.lang.Object callingObject,
int methodIndex,
java.lang.Object[] parameters)
Invokes the method on a per instance basis. |
java.lang.Object |
invokeIntroductionPerJvm(int methodIndex,
java.lang.Object[] parameters)
Invokes the method on a per JVM basis. |
java.lang.Object |
invokeIntroductionPerThread(int methodIndex,
java.lang.Object[] parameters)
Invokes the method on a per thread basis. |
void |
swapImplementation(java.lang.Class implClass)
Swaps the current introduction implementation. |
| Method Detail |
public java.lang.Object invokeIntroductionPerJvm(int methodIndex,
java.lang.Object[] parameters)
methodIndex - the method indexparameters - the parameters for the invocation
public java.lang.Object invokeIntroductionPerClass(java.lang.Object callingObject,
int methodIndex,
java.lang.Object[] parameters)
callingObject - a reference to the calling objectmethodIndex - the method indexparameters - the parameters for the invocation
public java.lang.Object invokeIntroductionPerInstance(java.lang.Object callingObject,
int methodIndex,
java.lang.Object[] parameters)
callingObject - a reference to the calling objectmethodIndex - the method indexparameters - the parameters for the invocation
public java.lang.Object invokeIntroductionPerThread(int methodIndex,
java.lang.Object[] parameters)
methodIndex - the method indexparameters - the parameters for the invocation
public void swapImplementation(java.lang.Class implClass)
implClass - the class of the new implementation to usepublic java.lang.Object getTargetInstance(java.lang.Object mixinImpl)
mixinImpl - aka "this" from the mixin impl
public java.lang.Class getTargetClass(java.lang.Object mixinImpl)
mixinImpl - aka "this" from the mixin impl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||