org.jboss.weld.resources
Class SharedObjectCache
java.lang.Object
org.jboss.weld.resources.SharedObjectCache
- All Implemented Interfaces:
- org.jboss.weld.bootstrap.api.Service
public class SharedObjectCache
- extends Object
- implements org.jboss.weld.bootstrap.api.Service
Allows classes to share Maps/Sets to conserve memory.
- Author:
- Stuart Douglas
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedObjectCache
public SharedObjectCache()
getSharedSet
public <T> Set<T> getSharedSet(Set<T> set)
getSharedMap
public <K,V> Map<K,V> getSharedMap(Map<K,V> map)
getSharedMultimap
public <K,V> ArraySetMultimap<K,V> getSharedMultimap(ArraySetMultimap<K,V> map)
getTypeClosure
public Set<Type> getTypeClosure(Type type)
getResolvedType
public Type getResolvedType(Type type)
cleanup
public void cleanup()
- Specified by:
cleanup
in interface org.jboss.weld.bootstrap.api.Service
Copyright © 2013 Seam Framework. All Rights Reserved.