Class AbstractEjbHandler

  • All Implemented Interfaces:
    AnnotationHandler
    Direct Known Subclasses:
    MessageDrivenHandler, SingletonHandler, StatefulHandler, StatelessHandler

    public abstract class AbstractEjbHandler
    extends AbstractHandler
    This is an abstract class for EJB annotation handler. Concrete subclass handlers need to implements the following methods: public Class<? extends Annotation> getAnnotationType(); protected String getAnnotatedName(Annotation annotation ); protected boolean isValidEjbDescriptor(EjbDescriptor ejbDesc); Annotation annotation); protected EjbDescriptor createEjbDescriptor(String elementName, AnnotationInfo ainfo) throws AnnotationProcessorException; protected HandlerProcessingResult setEjbDescriptorInfo( EjbDescriptor ejbDesc, AnnotationInfo ainfo) throws AnnotationProcessorException;
    Author:
    Shing Wai Chan