| org.codehaus.aspectwerkz.aspect.AspectContainer
All known Subclasses: org.codehaus.aspectwerkz.aspect.AbstractAspectContainer,
AspectContainer | public interface AspectContainer (Code) | | Interface for that all aspect container implementations must implement.
author: Jonas BonŽr |
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. |
aspectOf | Object aspectOf()(Code) | | Creates a new perJVM cross-cutting instance, if it already exists then return it.
the cross-cutting instance |
aspectOf | Object aspectOf(Class klass)(Code) | | Creates a new perClass cross-cutting instance, if it already exists then return it.
Parameters: klass - the cross-cutting instance |
aspectOf | Object aspectOf(Object instance)(Code) | | Creates a new perInstance cross-cutting instance, if it already exists then return it.
Parameters: instance - the cross-cutting instance |
aspectOf | Object aspectOf(Thread thread)(Code) | | Creates a new perThread cross-cutting instance, if it already exists then return it.
Parameters: thread - the thread for the aspect the cross-cutting instance |
|
|