Klasse CustomScopeAnnotationConfigurer
java.lang.Object
org.joinfaces.autoconfigure.scopemapping.CustomScopeAnnotationConfigurer
- Alle implementierten Schnittstellen:
BeanFactoryPostProcessor
,Ordered
public class CustomScopeAnnotationConfigurer
extends Object
implements BeanFactoryPostProcessor, Ordered
Add custom JSF CDI scope implementations. Picks up JSF and CDI annotations both on
types and method bean declarations.
-
Feldübersicht
Von Schnittstelle geerbte Felder org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addMapping
(Class<? extends Annotation> annotation, String scopeName) void
addMapping
(String annotationName, String scopeName) void
addMapping
(AnnotationToScopeMapping annotationToScopeMapping) protected String
deduceScopeName
(AnnotationMetadata classMetadata) protected String
deduceScopeName
(MethodMetadata factoryMethodMetadata) int
getOrder()
void
void
setAnnotationToScopeMappings
(List<AnnotationToScopeMapping> annotationToScopeMappings) void
setOrder
(int order)
-
Konstruktordetails
-
CustomScopeAnnotationConfigurer
public CustomScopeAnnotationConfigurer()
-
-
Methodendetails
-
postProcessBeanFactory
- Angegeben von:
postProcessBeanFactory
in SchnittstelleBeanFactoryPostProcessor
- Löst aus:
BeansException
-
deduceScopeName
-
deduceScopeName
-
addMapping
-
addMapping
- Löst aus:
ClassNotFoundException
-
addMapping
-
getAnnotationToScopeMappings
-
setAnnotationToScopeMappings
-
getOrder
public int getOrder() -
setOrder
public void setOrder(int order)
-