Annotation Type ServiceHandlerType

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:

 @Target({ TYPE })

Stuart Douglas

Required Element Summary
 Class<?> value

Element Detail


public abstract Class<?> value

Copyright © 2011 Seam Framework. All Rights Reserved.