|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for the aspect container implementations.
Method Summary | |
void |
addIntroductionContainer(java.lang.String name,
IntroductionContainer introContainer)
Attach the introduction container to this aspect container to mirror the "aspect contains 0-n introduction" |
ContainerType |
getContainerType()
Returns the container type. |
IntroductionContainer |
getIntroductionContainer(java.lang.String name)
Returns the introduction container of given name (introduction name) or null if not linked. |
java.lang.reflect.Method |
getMethod(int index)
Returns a specific method by the method index. |
Aspect |
getPerClassAspect(java.lang.Class callingClass)
|
Aspect |
getPerInstanceAspect(java.lang.Object callingInstance)
|
Aspect |
getPerJvmAspect()
|
Aspect |
getPerThreadAspect()
|
java.lang.Object |
invokeAdvicePerClass(int methodIndex,
JoinPoint joinPoint)
Invokes the advice method on a per class basis. |
java.lang.Object |
invokeAdvicePerInstance(int methodIndex,
JoinPoint joinPoint)
Invokes the advice method on a per instance basis. |
java.lang.Object |
invokeAdvicePerJvm(int methodIndex,
JoinPoint joinPoint)
Invokes the advice method on a per JVM basis. |
java.lang.Object |
invokeAdvicePerThread(int methodIndex,
JoinPoint joinPoint)
Invokes the advice method on a per thread basis. |
Method Detail |
public java.lang.Object invokeAdvicePerJvm(int methodIndex, JoinPoint joinPoint)
methodIndex
- the method indexjoinPoint
- the join point
public java.lang.Object invokeAdvicePerClass(int methodIndex, JoinPoint joinPoint)
methodIndex
- the method indexjoinPoint
- the join point
public java.lang.Object invokeAdvicePerInstance(int methodIndex, JoinPoint joinPoint)
methodIndex
- the method indexjoinPoint
- the join point
public java.lang.Object invokeAdvicePerThread(int methodIndex, JoinPoint joinPoint)
methodIndex
- the method indexjoinPoint
- the join point
public java.lang.reflect.Method getMethod(int index)
index
- the method index
public ContainerType getContainerType()
public Aspect getPerJvmAspect()
public Aspect getPerClassAspect(java.lang.Class callingClass)
callingClass
-
public Aspect getPerInstanceAspect(java.lang.Object callingInstance)
callingInstance
-
public Aspect getPerThreadAspect()
public void addIntroductionContainer(java.lang.String name, IntroductionContainer introContainer)
name
- of the introductionintroContainer
- introduction containerpublic IntroductionContainer getIntroductionContainer(java.lang.String name)
name
- of the introduction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |