Package org.jboss.weld.annotated.slim
Class SlimAnnotatedTypeStoreImpl
- java.lang.Object
-
- org.jboss.weld.bootstrap.api.helpers.AbstractBootstrapService
-
- org.jboss.weld.annotated.slim.SlimAnnotatedTypeStoreImpl
-
- All Implemented Interfaces:
SlimAnnotatedTypeStore
,org.jboss.weld.bootstrap.api.BootstrapService
,org.jboss.weld.bootstrap.api.Service
public class SlimAnnotatedTypeStoreImpl extends org.jboss.weld.bootstrap.api.helpers.AbstractBootstrapService implements SlimAnnotatedTypeStore
-
-
Constructor Summary
Constructors Constructor Description SlimAnnotatedTypeStoreImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanupAfterBoot()
<X> Set<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
public <X> SlimAnnotatedType<X> get(Class<X> type, String suffix)
Description copied from interface:SlimAnnotatedTypeStore
Retrieves a previously storedSlimAnnotatedType
that matches the given type and ID suffix.- Specified by:
get
in interfaceSlimAnnotatedTypeStore
-
get
public <X> Set<SlimAnnotatedType<X>> get(Class<X> type)
Description copied from interface:SlimAnnotatedTypeStore
Retrieves a previously stored list ofSlimAnnotatedType
s that match the given type.- Specified by:
get
in interfaceSlimAnnotatedTypeStore
- Parameters:
type
- the annotated type type- Returns:
-
put
public <X> void put(SlimAnnotatedType<X> type)
Description copied from interface:SlimAnnotatedTypeStore
Put aSlimAnnotatedType
into the store.- Specified by:
put
in interfaceSlimAnnotatedTypeStore
- Parameters:
type
- type to store
-
cleanupAfterBoot
public void cleanupAfterBoot()
- Specified by:
cleanupAfterBoot
in interfaceorg.jboss.weld.bootstrap.api.BootstrapService
-
-