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.
|
<K,V> Map<K,V> |
getSharedMap(Map<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 LazyValueHolder<Set<Type>> getTypeClosureHolder(Type type)
public void cleanupAfterBoot()
BootstrapServicecleanupAfterBoot in interface BootstrapServiceCopyright © 2016. All Rights Reserved.