public class SharedObjectCache extends java.lang.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> java.util.Map<K,V> |
getSharedMap(java.util.Map<K,V> map) |
<T> java.util.Set<T> |
getSharedSet(java.util.Set<T> set) |
LazyValueHolder<java.util.Set<java.lang.reflect.Type>> |
getTypeClosureHolder(java.lang.reflect.Type type) |
static SharedObjectCache |
instance(BeanManagerImpl manager) |
public static SharedObjectCache instance(BeanManagerImpl manager)
public <T> java.util.Set<T> getSharedSet(java.util.Set<T> set)
public <K,V> java.util.Map<K,V> getSharedMap(java.util.Map<K,V> map)
public LazyValueHolder<java.util.Set<java.lang.reflect.Type>> getTypeClosureHolder(java.lang.reflect.Type type)
public void cleanupAfterBoot()
BootstrapServicecleanupAfterBoot in interface BootstrapServiceCopyright © 2014. All Rights Reserved.