|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.deployment.annotations.helper.bean.InterceptorsClassResolver
public final class InterceptorsClassResolver
This class sets the EasyBeans interceptors used when invoking business methods and also for life cycle events.
Field Summary | |
---|---|
private static JMethod |
EASYBEANS_INTERCEPTOR
Signature of EasyBeans interceptors. |
Constructor Summary | |
---|---|
private |
InterceptorsClassResolver()
Helper class, no public constructor. |
Method Summary | |
---|---|
private static java.util.Map<InterceptorType,java.util.List<JClassInterceptor>> |
getInterceptors(java.lang.String referencingName,
EjbJarAnnotationMetadata ejbJarAnnotationMetadata,
java.util.List<java.lang.String> interceptorsClasses)
Found interceptors method in the given class. |
static void |
resolve(ClassAnnotationMetadata classAnnotationMetadata)
Found all interceptors of the class (including business and lifecycle events) and also set EasyBeans interceptors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final JMethod EASYBEANS_INTERCEPTOR
Constructor Detail |
---|
private InterceptorsClassResolver()
Method Detail |
---|
public static void resolve(ClassAnnotationMetadata classAnnotationMetadata) throws ResolverException
classAnnotationMetadata
- class to analyze
ResolverException
- if metadata is missingprivate static java.util.Map<InterceptorType,java.util.List<JClassInterceptor>> getInterceptors(java.lang.String referencingName, EjbJarAnnotationMetadata ejbJarAnnotationMetadata, java.util.List<java.lang.String> interceptorsClasses) throws ResolverException
referencingName
- name of the class/method that reference these interceptorsejbJarAnnotationMetadata
- root of all annotations (used to find the metadata)interceptorsClasses
- list of classes that contains interceptors
ResolverException
- if analyze fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |