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 voidcleanupAfterBoot()<X> Set<SlimAnnotatedType<X>>get(Class<X> type)Retrieves a previously stored list ofSlimAnnotatedTypes that match the given type.<X> SlimAnnotatedType<X>get(Class<X> type, String suffix)Retrieves a previously storedSlimAnnotatedTypethat matches the given type and ID suffix.<X> voidput(SlimAnnotatedType<X> type)Put aSlimAnnotatedTypeinto the store.
-
-
-
Method Detail
-
get
public <X> SlimAnnotatedType<X> get(Class<X> type, String suffix)
Description copied from interface:SlimAnnotatedTypeStoreRetrieves a previously storedSlimAnnotatedTypethat matches the given type and ID suffix.- Specified by:
getin interfaceSlimAnnotatedTypeStore
-
get
public <X> Set<SlimAnnotatedType<X>> get(Class<X> type)
Description copied from interface:SlimAnnotatedTypeStoreRetrieves a previously stored list ofSlimAnnotatedTypes that match the given type.- Specified by:
getin interfaceSlimAnnotatedTypeStore- Parameters:
type- the annotated type type- Returns:
-
put
public <X> void put(SlimAnnotatedType<X> type)
Description copied from interface:SlimAnnotatedTypeStorePut aSlimAnnotatedTypeinto the store.- Specified by:
putin interfaceSlimAnnotatedTypeStore- Parameters:
type- type to store
-
cleanupAfterBoot
public void cleanupAfterBoot()
- Specified by:
cleanupAfterBootin interfaceorg.jboss.weld.bootstrap.api.BootstrapService
-
-