|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for the mixin implementations.
Method Summary | |
int |
getDeploymentModel()
Returns the deployment model. |
String |
getImplementationClassName()
Returns the implementation class name for the mixin. |
String |
getName()
Returns the name of the mixin. |
Object |
invokeMixin(int methodIndex,
Object callingObject)
Invokes the method with the index specified. |
Object |
invokeMixin(int methodIndex,
Object[] parameters,
Object callingObject)
Invokes an introduced method with the index specified. |
void |
swapImplementation(String className)
Swaps the current introduction implementation. |
Method Detail |
public String getName()
public int getDeploymentModel()
public Object invokeMixin(int methodIndex, Object callingObject) throws Throwable
methodIndex
- the method indexcallingObject
- a reference to the calling object
Throwable
public Object invokeMixin(int methodIndex, Object[] parameters, Object callingObject) throws Throwable
methodIndex
- the method indexparameters
- the parameters for the invocationcallingObject
- a reference to the calling object
Throwable
public String getImplementationClassName()
public void swapImplementation(String className)
className
- the class name of the new implementation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |