@Service public class SingletonHandler extends AbstractEjbHandler
localStrings
ejbProvider, logger
ANNOTATION_HANDLER_METADATA
Constructor and Description |
---|
SingletonHandler() |
Modifier and Type | Method and Description |
---|---|
protected EjbDescriptor |
createEjbDescriptor(String elementName,
AnnotationInfo ainfo)
Create a new EjbDescriptor for a given elementName and AnnotationInfo.
|
protected String |
getAnnotatedName(Annotation annotation)
Return the name attribute of given annotation.
|
protected boolean |
isValidEjbDescriptor(EjbDescriptor ejbDesc,
Annotation annotation)
Check if the given EjbDescriptor matches the given Annotation.
|
protected HandlerProcessingResult |
setEjbDescriptorInfo(EjbDescriptor ejbDesc,
AnnotationInfo ainfo)
Set Annotation information to Descriptor.
|
doDescriptionProcessing, doMappedNameProcessing, excludedFromImplementsClause, processAnnotation, setBusinessAndHomeInterfaces
getAnnotationType, getConnectorAnnotationTypes, getDefaultFailedResult, getDefaultProcessedResult, getEjbAndWebAnnotationTypes, getEjbAnnotationTypes, getInjectionMethodPropertyName, getInvalidAnnotatedElementHandlerResult, getOverallProcessingResult, getTypeDependencies, getWebAnnotationTypes, log, validateInjectionMethod
protected String getAnnotatedName(Annotation annotation)
getAnnotatedName
in class AbstractEjbHandler
annotation
- protected boolean isValidEjbDescriptor(EjbDescriptor ejbDesc, Annotation annotation)
isValidEjbDescriptor
in class AbstractEjbHandler
ejbDesc
- annotation
- protected EjbDescriptor createEjbDescriptor(String elementName, AnnotationInfo ainfo) throws AnnotationProcessorException
createEjbDescriptor
in class AbstractEjbHandler
elementName
- ainfo
- AnnotationProcessorException
protected HandlerProcessingResult setEjbDescriptorInfo(EjbDescriptor ejbDesc, AnnotationInfo ainfo) throws AnnotationProcessorException
setEjbDescriptorInfo
in class AbstractEjbHandler
ejbDesc
- ainfo
- AnnotationProcessorException
Copyright © 2020. All rights reserved.