|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.jee.inject.Jsr250Metadata
org.springframework.jee.intercept.InterceptorMetadata
public class InterceptorMetadata
Class representing metadata about an interceptor class. Includes JSR-250 metadata that can drive injection and lifecycle callbacks, and identification of an around invoke method on the class. The latter information is often, but not necessarily, supplied using an annotation.
| Field Summary |
|---|
| Fields inherited from class org.springframework.jee.inject.Jsr250Metadata |
|---|
KEY, log |
| Constructor Summary | |
|---|---|
InterceptorMetadata(Class<?> componentClass,
List<Method> aroundInvokeMethods)
Construct new class level interceptor metadata with component name defaulting to the FQN of the component class |
|
InterceptorMetadata(Class<?> componentClass,
List<Method> aroundInvokeMethods,
Method matchingMethod)
Construct new interceptor metadata with component name defaulting to the FQN of the component class method level interceptor if (matchingMethod != null) class level interceptor if (matchingMethod == null) |
|
InterceptorMetadata(Jsr250Metadata jsr250,
List<Method> aroundInvokeMethods)
Create a new Interceptor metadata for a self interceptor. |
|
| Method Summary | |
|---|---|
List<Method> |
getAroundInvokeMethods()
|
List<Method> |
getLifecycleEventListenerMethod(LifecycleEvent le)
Return the invocation-context style method for this callback |
Method |
getMatchingMethod()
|
boolean |
isClassInterceptor()
|
boolean |
isDefaultInterceptor()
|
void |
registerLifecycleEventListenerMethod(LifecycleEvent le,
Method m)
|
void |
setClassInterceptor(boolean classInterceptor)
|
void |
setComponentContext(ApplicationContext beanFactoryForInstance,
BeanDefinitionRegistry bdr)
|
void |
setDefaultInterceptor(boolean defaultInterceptor)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InterceptorMetadata(Class<?> componentClass,
List<Method> aroundInvokeMethods,
Method matchingMethod)
componentClass - aroundInvokeMethod - matchingMethod -
public InterceptorMetadata(Class<?> componentClass,
List<Method> aroundInvokeMethods)
componentClass - aroundInvokeMethod -
public InterceptorMetadata(Jsr250Metadata jsr250,
List<Method> aroundInvokeMethods)
jsr250 - Jsr250 metadata we should wraparoundInvokeMethod - aroundInvoke method to use on the instance| Method Detail |
|---|
public void registerLifecycleEventListenerMethod(LifecycleEvent le,
Method m)
public List<Method> getLifecycleEventListenerMethod(LifecycleEvent le)
public List<Method> getAroundInvokeMethods()
public Method getMatchingMethod()
public boolean isClassInterceptor()
public void setClassInterceptor(boolean classInterceptor)
classInterceptor - the classInterceptor to setpublic boolean isDefaultInterceptor()
public void setDefaultInterceptor(boolean defaultInterceptor)
defaultInterceptor - the defaultInterceptor to set
public void setComponentContext(ApplicationContext beanFactoryForInstance,
BeanDefinitionRegistry bdr)
setComponentContext in class Jsr250Metadata
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||