public class SlimAnnotatedTypeStoreImpl extends Object implements SlimAnnotatedTypeStore, Service
| Constructor and Description |
|---|
SlimAnnotatedTypeStoreImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
|
<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. |
public <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 storeCopyright © 2014 Seam Framework. All Rights Reserved.