Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0-beta-1
-
None
Description
Implement an interceptor chain
chain of methods finally delegating to bean business method or lifecycle callback.
Details:
- stateless in nature.
- lifecycle same as bean
- apply to specific methods or all methods.
- constrained by same contract as the bean.
- shares same environment as bean.
- called after transaction and security checks.
- may rely on dependency injection.
Declared on a bean as:
@Interceptors({
org.acme.SuperLogger.class,
org.acme.AuthorizationCheck.class,
})
Attachments
1.
|
Package-level Interceptors (aka Default Interceptors) | Closed | David Blevins | |
2.
|
Class-level Interceptors | Closed | David Blevins | |
3.
|
Method-level Interceptors | Closed | David Blevins | |
4.
|
Stateless Lifecycle Interception | Closed | David Blevins | |
5.
|
Stateless Business Method Interception | Closed | David Blevins | |
6.
|
Stateful Business Method Interception | Closed | David Blevins | |
7.
|
Stateful Lifecycle Interception | Closed | David Blevins | |
8.
|
MessageDriven "onMessage" Interception | Closed | Manu T George | |
9.
|
MessageDriven Lifecycle Interception | Closed | Manu T George | |
10.
|
InvocationContext | Closed | Dain Sundstrom | |
11.
|
Interceptor Chain | Closed | Dain Sundstrom |