org.jboss.solder.serviceHandler
Annotation Type ServiceHandlerType


@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 })
 

Author:
Stuart Douglas

Required Element Summary
 Class<?> value
           
 

Element Detail

value

public abstract Class<?> value


Copyright © 2011 Seam Framework. All Rights Reserved.