| java.lang.Object org.mockejb.interceptor.AspectSystemFactory
AspectSystemFactory | public class AspectSystemFactory (Code) | | Loads the class implementing AspectSystem and returns the object of this class
to the client. The class name is specified by the system property "interceptor.aspect.system".
If system property is not provided, returns the default factory
AspectSystemImpl provided by the framework.
author: Alexander Ananiev |
Method Summary | |
public static AspectSystem | getAspectSystem() If system property "interceptor.aspect.system.thread" set to true,
returns AspectSystem instance which is stored in
a ThreadLocal variable. |
ASPECT_SYSTEM_PROPERTY | final public static String ASPECT_SYSTEM_PROPERTY(Code) | | Name of the system property providing the name of the aspect system class
to use instead of the default
|
THREAD_LOCAL_ASPECT_SYSTEM | final public static String THREAD_LOCAL_ASPECT_SYSTEM(Code) | | |
getAspectSystem | public static AspectSystem getAspectSystem()(Code) | | If system property "interceptor.aspect.system.thread" set to true,
returns AspectSystem instance which is stored in
a ThreadLocal variable. This is convenient, for example,
if test classes can run concurrently and each needs to set its
own aspects .
Otherwise returns the singleton aspect system (always the same instance per JVM)
AspectSystem |
|
|