public class SharedObjectCache extends Object implements BootstrapService
Constructor and Description |
---|
SharedObjectCache() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
|
void |
cleanupAfterBoot()
Called by Weld once it finishes initialization and before it starts serving requests.
|
Type |
getResolvedType(Type type) |
<K,V> Map<K,V> |
getSharedMap(Map<K,V> map) |
<K,V> ArraySetMultimap<K,V> |
getSharedMultimap(ArraySetMultimap<K,V> map) |
<T> Set<T> |
getSharedSet(Set<T> set) |
LazyValueHolder<Set<Type>> |
getTypeClosureHolder(Type type) |
static SharedObjectCache |
instance(BeanManagerImpl manager) |
public static SharedObjectCache instance(BeanManagerImpl manager)
public <K,V> ArraySetMultimap<K,V> getSharedMultimap(ArraySetMultimap<K,V> map)
public LazyValueHolder<Set<Type>> getTypeClosureHolder(Type type)
public void cleanupAfterBoot()
BootstrapService
cleanupAfterBoot
in interface BootstrapService
Copyright © 2013 Seam Framework. All Rights Reserved.