public class SlimAnnotatedTypeStoreImpl extends AbstractBootstrapService implements SlimAnnotatedTypeStore
| Constructor and Description |
|---|
SlimAnnotatedTypeStoreImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupAfterBoot()
Called by Weld once it finishes initialization and before it starts serving requests.
|
<X> Set<SlimAnnotatedType<X>> |
get(Class<X> type)
Retrieves a previously stored list of
SlimAnnotatedTypes that match the given type. |
<X> SlimAnnotatedType<X> |
get(Class<X> type,
String suffix)
Retrieves a previously stored
SlimAnnotatedType that matches the given type and ID suffix. |
<X> void |
put(SlimAnnotatedType<X> type)
Put a
SlimAnnotatedType into the store. |
cleanuppublic <X> SlimAnnotatedType<X> get(Class<X> type, String suffix)
SlimAnnotatedTypeStoreSlimAnnotatedType that matches the given type and ID suffix.get in interface SlimAnnotatedTypeStorepublic <X> Set<SlimAnnotatedType<X>> get(Class<X> type)
SlimAnnotatedTypeStoreSlimAnnotatedTypes that match the given type.get in interface SlimAnnotatedTypeStoretype - the annotated type typepublic <X> void put(SlimAnnotatedType<X> type)
SlimAnnotatedTypeStoreSlimAnnotatedType into the store.put in interface SlimAnnotatedTypeStoretype - type to storepublic void cleanupAfterBoot()
BootstrapServicecleanupAfterBoot in interface BootstrapServiceCopyright © 2016. All Rights Reserved.