|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.virtual.plugins.cache.PreInitializeVFSContexts
public class PreInitializeVFSContexts
Initialize vfs contexts - performance improvements.
Field Summary | |
---|---|
protected org.jboss.logging.Logger |
log
|
Constructor Summary | |
---|---|
PreInitializeVFSContexts()
|
Method Summary | |
---|---|
java.util.List<VFS> |
getReferences()
Get VFS references. |
void |
setHoldReference(boolean holdReference)
Should we hold the reference to initialized VFSs. |
void |
setInitializedVFSContexts(java.util.Map<java.net.URL,ExceptionHandler> initializedVFSContexts)
Set URLs that need to be initialized before anything else. |
void |
setTempStores(java.util.Map<java.net.URL,TempStore> tempStores)
Set temp stores. |
void |
start()
Start initializer. |
void |
stop()
Clear possible references. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.jboss.logging.Logger log
Constructor Detail |
---|
public PreInitializeVFSContexts()
Method Detail |
---|
public void start() throws java.lang.Exception
java.lang.Exception
- for any exceptionpublic void stop()
public java.util.List<VFS> getReferences()
public void setInitializedVFSContexts(java.util.Map<java.net.URL,ExceptionHandler> initializedVFSContexts)
initializedVFSContexts
- the URLs to be initializedpublic void setTempStores(java.util.Map<java.net.URL,TempStore> tempStores)
tempStores
- the temp storespublic void setHoldReference(boolean holdReference)
holdReference
- the hold reference flag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |