|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AspectContainer
Interface for that all aspect container implementations must implement.
| Method Summary | |
|---|---|
Object |
aspectOf()
Creates a new perJVM cross-cutting instance, if it already exists then return it. |
Object |
aspectOf(Class klass)
Creates a new perClass cross-cutting instance, if it already exists then return it. |
Object |
aspectOf(Object instance)
Creates a new perInstance cross-cutting instance, if it already exists then return it. |
Object |
aspectOf(Thread thread)
Creates a new perThread cross-cutting instance, if it already exists then return it. |
AspectContext |
getContext()
Returns the context. |
| Method Detail |
|---|
Object aspectOf()
Object aspectOf(Class klass)
klass -
Object aspectOf(Object instance)
instance -
Object aspectOf(Thread thread)
thread - the thread for the aspect
AspectContext getContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||