|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.virtual.spi.cache.VFSCacheFactory
public class VFSCacheFactory
Simple vfs cache factory.
Method Summary | |
---|---|
static VFSCache |
getInstance()
Get VFS cache instance. |
static VFSCache |
getInstance(String defaultCacheImpl)
Get VFS cache instance. |
static VFSCache |
getInstance(String defaultCacheImpl,
Map<Object,Object> properties)
Get VFS cache instance. |
static void |
setInstance(VFSCache cache)
Set instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static VFSCache getInstance()
public static VFSCache getInstance(String defaultCacheImpl)
defaultCacheImpl
- - the possibly null name of the VFSCache
implementation to use. If null, the VFSUtils.VFS_CACHE_KEY
system property will be used.
public static VFSCache getInstance(String defaultCacheImpl, Map<Object,Object> properties)
defaultCacheImpl
- - the possibly null name of the VFSCache
implementation to use. If null, the VFSUtils.VFS_CACHE_KEY
system property will be used.properties
- the possible vfs cache impl properties
public static void setInstance(VFSCache cache)
cache
- cache instance to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |