|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.jee.inject.InterceptionProcessor
public class InterceptionProcessor
EJB3-style interception processor. It will create new bean definitions for each interceptor found (which are later on processed for jsr250 annotations).
Jsr250Processor
,
InterceptionMetadata
Constructor Summary | |
---|---|
InterceptionProcessor()
|
|
InterceptionProcessor(Jsr250Processor jsr250Processor)
|
Method Summary | |
---|---|
protected void |
addInterceptionMetadata(InterceptionMetadata metadata)
Parse the bean and add interception metadata. |
protected void |
addInterceptorMetadata(InterceptionMetadata componentMetadata,
java.lang.Class interceptorClass,
java.lang.reflect.Method matchingMethod)
Add the discovered InterceptorMetadata to the given Interception Metadata. |
InterceptorMetadata |
createInterceptorMetadata(java.lang.Class interceptorClass,
java.lang.reflect.Method matchingMethod)
Create Interceptor metadata from the given interceptor class. |
void |
process(Jsr250Metadata jsr250)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterceptionProcessor()
public InterceptionProcessor(Jsr250Processor jsr250Processor)
Method Detail |
---|
public void process(Jsr250Metadata jsr250)
process
in interface MetadataProcessor
protected void addInterceptionMetadata(InterceptionMetadata metadata)
metadata
- protected void addInterceptorMetadata(InterceptionMetadata componentMetadata, java.lang.Class interceptorClass, java.lang.reflect.Method matchingMethod)
componentMetadata
- interceptorClass
- interceptor classmatchingMethod
- matching methdod - can be null which means we have a class
interceptorpublic InterceptorMetadata createInterceptorMetadata(java.lang.Class interceptorClass, java.lang.reflect.Method matchingMethod)
interceptorClass
- matchingMethod
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |