|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) @Documented public @interface ServiceHandlerType
Meta annotation that is used to specify an invocation handler for automatically implemented bean.
If the annotation that is annotated with this meta-annotation is applied to an interface or abstract class then the container will automatically provide a concrete implementation of the class/interface, and delegate all calls to abstract methods to the handler class specified by this annotations.
The handler class must have a method with the following signature:
@AroundInvoke public Object aroundInvoke(final InvocationContext invocation) throws Exception
Initializer methods and @PostConstruct methods declared on the invocation
handler will be called, however @PreDestory methods will not be called.
The annotation should have:
@Retention(RUNTIME)
@Target({ TYPE })
| Required Element Summary | |
|---|---|
Class<?> |
value
|
| Element Detail |
|---|
public abstract Class<?> value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||