public class TypeStore extends java.lang.Object implements Service
add(Class, Annotation)
and subsequent get(Class) or isExtraScope(Class). In order to guarantee
this implicitly, add(Class, Annotation) should only be called from within a BeforeBeanDiscovery
observer.| Constructor and Description |
|---|
TypeStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType,
java.lang.annotation.Annotation annotation) |
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
|
java.util.Set<java.lang.annotation.Annotation> |
get(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
boolean |
isExtraScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotation) |
public java.util.Set<java.lang.annotation.Annotation> get(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
public void add(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType,
java.lang.annotation.Annotation annotation)
public boolean isExtraScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Copyright © 2015. All Rights Reserved.