|
||||||||||
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.
Constructor Summary | |
---|---|
PreInitializeVFSContexts()
|
Method Summary | |
---|---|
List<VFS> |
getReferences()
Get VFS references. |
void |
setHoldReference(boolean holdReference)
Should we hold the reference to initialized VFSs. |
void |
setInitializedVFSContexts(Map<URL,ExceptionHandler> initializedVFSContexts)
Set URLs that need to be initialized before anything else. |
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 |
Constructor Detail |
---|
public PreInitializeVFSContexts()
Method Detail |
---|
public void start() throws Exception
Exception
- for any exceptionpublic void stop()
public List<VFS> getReferences()
public void setInitializedVFSContexts(Map<URL,ExceptionHandler> initializedVFSContexts)
initializedVFSContexts
- the URLs to be initializedpublic 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 |