|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.deployers.vfs.spi.structure.modified.AbstractStructureModificationChecker<T>
T
- exact cache value typepublic abstract class AbstractStructureModificationChecker<T>
AbstractStructureModificationChecker.
Field Summary | |
---|---|
protected org.jboss.logging.Logger |
log
The log |
Constructor Summary | |
---|---|
protected |
AbstractStructureModificationChecker()
|
protected |
AbstractStructureModificationChecker(MainDeployerStructure mainDeployer)
|
Method Summary | |
---|---|
void |
addStructureRoot(org.jboss.virtual.VirtualFile root)
Add structure root. |
protected StructureCache<T> |
getCache()
Get the structure cache. |
protected VFSDeploymentContext |
getDeploymentContext(String name)
Get deployment context. |
protected MainDeployerStructure |
getMainDeployerStructure()
Get main deployer structure. |
protected boolean |
hasRootBeenModified(org.jboss.virtual.VirtualFile root)
Check the root for modification. |
protected abstract boolean |
hasStructureBeenModifed(org.jboss.virtual.VirtualFile root,
VFSDeploymentContext deploymentContext)
Has structure been modified. |
boolean |
hasStructureBeenModified(VFSDeployment deployment)
Has structure been modified. |
boolean |
hasStructureBeenModified(VFSDeploymentContext deploymentContext)
Has structure been modified. |
protected boolean |
hasStructureBeenModified(VFSDeploymentContext deploymentContext,
boolean checkRoot)
Has structure been modified. |
boolean |
hasStructureBeenModified(org.jboss.virtual.VirtualFile root)
Has structure been modified. |
void |
removeStructureRoot(org.jboss.virtual.VirtualFile root)
Remove structure root. |
void |
setCache(StructureCache<T> cache)
Set the structure cache. |
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 |
---|
protected AbstractStructureModificationChecker()
protected AbstractStructureModificationChecker(MainDeployerStructure mainDeployer)
Method Detail |
---|
protected StructureCache<T> getCache()
public void setCache(StructureCache<T> cache)
cache
- the structure cacheprotected MainDeployerStructure getMainDeployerStructure()
protected VFSDeploymentContext getDeploymentContext(String name)
name
- the deployment context name
public boolean hasStructureBeenModified(org.jboss.virtual.VirtualFile root) throws IOException
StructureModificationChecker
hasStructureBeenModified
in interface StructureModificationChecker
root
- the structure's root
IOException
- for any errorpublic boolean hasStructureBeenModified(VFSDeployment deployment) throws IOException
StructureModificationChecker
hasStructureBeenModified
in interface StructureModificationChecker
deployment
- the vfs deployment
IOException
- for any errorpublic boolean hasStructureBeenModified(VFSDeploymentContext deploymentContext) throws IOException
StructureModificationChecker
hasStructureBeenModified
in interface StructureModificationChecker
deploymentContext
- the vfs deployment context
IOException
- for any errorprotected boolean hasStructureBeenModified(VFSDeploymentContext deploymentContext, boolean checkRoot) throws IOException
deploymentContext
- the deployment contextcheckRoot
- should we check root
IOException
- for any errorprotected boolean hasRootBeenModified(org.jboss.virtual.VirtualFile root) throws IOException
root
- the root to check
IOException
- for any errorprotected abstract boolean hasStructureBeenModifed(org.jboss.virtual.VirtualFile root, VFSDeploymentContext deploymentContext) throws IOException
root
- the client rootdeploymentContext
- the deployment context
IOException
- for any errorpublic void addStructureRoot(org.jboss.virtual.VirtualFile root)
StructureListener
addStructureRoot
in interface StructureListener
root
- the structure rootpublic void removeStructureRoot(org.jboss.virtual.VirtualFile root)
StructureListener
removeStructureRoot
in interface StructureListener
root
- the structure root
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |