public interface SlimAnnotatedTypeStore extends Service
SlimAnnotatedTypes. This service keeps references to SlimAnnotatedTypes mapped by their ids. The
service is used for serialization of SlimAnnotatedType and lookup.| Modifier and Type | Method and Description |
|---|---|
<X> Collection<SlimAnnotatedType<X>> |
get(Class<X> type)
Retrieves a previously stored list of
SlimAnnotatedTypes that match the given type. |
<X> SlimAnnotatedType<X> |
get(String id)
Retrieves a previously stored
SlimAnnotatedType. |
<X> void |
put(SlimAnnotatedType<X> type)
Put a
SlimAnnotatedType into the store. |
<X> void |
putIfAbsent(SlimAnnotatedType<X> type)
Put a
SlimAnnotatedType into the store. |
<X> SlimAnnotatedType<X> get(String id)
SlimAnnotatedType.id - type identifier<X> Collection<SlimAnnotatedType<X>> get(Class<X> type)
SlimAnnotatedTypes that match the given type.type - the annotated type type<X> void put(SlimAnnotatedType<X> type)
SlimAnnotatedType into the store.type - type to storeDeploymentException - if the type identifier is not unique<X> void putIfAbsent(SlimAnnotatedType<X> type)
SlimAnnotatedType into the store. Nothing is done if the store already contains a type with the given id.type - type to storeCopyright © 2012 Seam Framework. All Rights Reserved.