public class TypeStore extends 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(Class<? extends Annotation> annotationType,
Annotation annotation) |
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
|
Set<Annotation> |
get(Class<? extends Annotation> annotationType) |
boolean |
isExtraScope(Class<? extends Annotation> annotation) |
public Set<Annotation> get(Class<? extends Annotation> annotationType)
public void add(Class<? extends Annotation> annotationType, Annotation annotation)
public boolean isExtraScope(Class<? extends Annotation> annotation)
Copyright © 2016. All Rights Reserved.