Package org.jboss.weld.annotated.slim
Interface SlimAnnotatedTypeStore
-
- All Superinterfaces:
org.jboss.weld.bootstrap.api.BootstrapService
,org.jboss.weld.bootstrap.api.Service
- All Known Implementing Classes:
SlimAnnotatedTypeStoreImpl
public interface SlimAnnotatedTypeStore extends org.jboss.weld.bootstrap.api.BootstrapService
StoresSlimAnnotatedType
s.- Author:
- Jozef Hartinger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <X> Collection<SlimAnnotatedType<X>>
get(Class<X> type)
Retrieves a previously stored list ofSlimAnnotatedType
s that match the given type.<X> SlimAnnotatedType<X>
get(Class<X> type, String suffix)
Retrieves a previously storedSlimAnnotatedType
that matches the given type and ID suffix.<X> void
put(SlimAnnotatedType<X> type)
Put aSlimAnnotatedType
into the store.
-
-
-
Method Detail
-
get
<X> Collection<SlimAnnotatedType<X>> get(Class<X> type)
Retrieves a previously stored list ofSlimAnnotatedType
s that match the given type.- Parameters:
type
- the annotated type type- Returns:
-
get
<X> SlimAnnotatedType<X> get(Class<X> type, String suffix)
Retrieves a previously storedSlimAnnotatedType
that matches the given type and ID suffix.
-
put
<X> void put(SlimAnnotatedType<X> type)
Put aSlimAnnotatedType
into the store.- Parameters:
type
- type to store
-
-