public interface IBeanScopeHandler extends Serializable
| Modifier and Type | Method and Description | 
|---|---|
Object | 
get(String name)  | 
default Annotation | 
getAnnotation(Class<?> beanClass)  | 
default org.apache.commons.lang3.tuple.Pair<Class<? extends Annotation>,? extends Annotation> | 
getAnnotationAndScope(Class<?> beanClass)  | 
Class<? extends Annotation> | 
getPreferredScope()  | 
Set<Class<? extends Annotation>> | 
getScopes()  | 
void | 
put(String name,
   Object value)  | 
Object | 
remove(String name)  | 
Set<Class<? extends Annotation>> getScopes()
RequestScoped, ViewScoped, SessionScoped, or
 ApplicationScopedvoid put(String name, Object value)
name - Name of the propertyvalue - Value to setObject get(String name)
name - Name of the propertynullObject remove(String name)
name - Name of the property to removenulldefault Annotation getAnnotation(Class<?> beanClass)
beanClass - Bean class for which to get the scope.Class<? extends Annotation> getPreferredScope()
default org.apache.commons.lang3.tuple.Pair<Class<? extends Annotation>,? extends Annotation> getAnnotationAndScope(Class<?> beanClass)
beanClass - Bean class for which to get the scope.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.