|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for the introduction container implementations.
Method Summary | |
ContainerType |
getContainerType()
Returns the container type. |
java.lang.reflect.Method |
getMethod(int index)
Returns a specific method by the method index. |
java.lang.reflect.Method[] |
getMethods()
Returns all the methods for this introduction. |
java.lang.Object |
invokePerClass(java.lang.Object callingObject,
int methodIndex,
java.lang.Object[] parameters)
Invokes the method on a per class basis. |
java.lang.Object |
invokePerInstance(java.lang.Object callingObject,
int methodIndex,
java.lang.Object[] parameters)
Invokes the method on a per instance basis. |
java.lang.Object |
invokePerJvm(int methodIndex,
java.lang.Object[] parameters)
Invokes the method on a per JVM basis. |
java.lang.Object |
invokePerThread(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 invokePerJvm(int methodIndex, java.lang.Object[] parameters)
methodIndex
- the method indexparameters
- the parameters for the invocation
public java.lang.Object invokePerClass(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 invokePerInstance(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 invokePerThread(int methodIndex, java.lang.Object[] parameters)
methodIndex
- the method indexparameters
- the parameters for the invocation
public java.lang.reflect.Method getMethod(int index)
index
- the method index
public java.lang.reflect.Method[] getMethods()
public void swapImplementation(java.lang.Class implClass)
implClass
- the class of the new implementation to usepublic ContainerType getContainerType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |