|
||||||||||
| 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<Long>
org.jboss.deployers.vfs.spi.structure.modified.SynchWrapperModificationChecker
public class SynchWrapperModificationChecker
Synch wrapper modification checker. If there is no modification, we check if the deployment is perhaps a temp, only then checking if we need to update some resource. e.g. some .jsp or .xhtml file for JBossWeb to pick up the change
| Field Summary |
|---|
| Fields inherited from class org.jboss.deployers.vfs.spi.structure.modified.AbstractStructureModificationChecker |
|---|
log |
| Constructor Summary | |
|---|---|
SynchWrapperModificationChecker(AbstractStructureModificationChecker<Long> delegate,
SynchAdapter synchAdapter)
|
|
| Method Summary | |
|---|---|
void |
addStructureRoot(org.jboss.virtual.VirtualFile root)
Add structure root. |
protected StructureCache<Long> |
getCache()
Get the structure cache. |
protected MainDeployerStructure |
getMainDeployerStructure()
Get main deployer structure. |
protected boolean |
hasRootBeenModified(org.jboss.virtual.VirtualFile root)
Check the root for modification. |
protected boolean |
hasStructureBeenModifed(org.jboss.virtual.VirtualFile root,
VFSDeploymentContext deploymentContext)
Has structure been modified. |
void |
removeStructureRoot(org.jboss.virtual.VirtualFile root)
Remove structure root. |
void |
setOriginalAttributes(org.jboss.virtual.VisitorAttributes attributes)
Set original visitor attributes. |
void |
setTempAttributes(org.jboss.virtual.VisitorAttributes attributes)
Set temp visitor attributes. |
| Methods inherited from class org.jboss.deployers.vfs.spi.structure.modified.AbstractStructureModificationChecker |
|---|
getDeploymentContext, hasStructureBeenModified, hasStructureBeenModified, hasStructureBeenModified, hasStructureBeenModified, setCache |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SynchWrapperModificationChecker(AbstractStructureModificationChecker<Long> delegate,
SynchAdapter synchAdapter)
| Method Detail |
|---|
protected StructureCache<Long> getCache()
AbstractStructureModificationChecker
getCache in class AbstractStructureModificationChecker<Long>protected MainDeployerStructure getMainDeployerStructure()
AbstractStructureModificationChecker
getMainDeployerStructure in class AbstractStructureModificationChecker<Long>
protected boolean hasRootBeenModified(org.jboss.virtual.VirtualFile root)
throws IOException
AbstractStructureModificationChecker
hasRootBeenModified in class AbstractStructureModificationChecker<Long>root - the root to check
IOException - for any error
protected boolean hasStructureBeenModifed(org.jboss.virtual.VirtualFile root,
VFSDeploymentContext deploymentContext)
throws IOException
AbstractStructureModificationChecker
hasStructureBeenModifed in class AbstractStructureModificationChecker<Long>root - the client rootdeploymentContext - the deployment context
IOException - for any errorpublic void addStructureRoot(org.jboss.virtual.VirtualFile root)
StructureListener
addStructureRoot in interface StructureListeneraddStructureRoot in class AbstractStructureModificationChecker<Long>root - the structure rootpublic void removeStructureRoot(org.jboss.virtual.VirtualFile root)
StructureListener
removeStructureRoot in interface StructureListenerremoveStructureRoot in class AbstractStructureModificationChecker<Long>root - the structure rootpublic void setOriginalAttributes(org.jboss.virtual.VisitorAttributes attributes)
attributes - the attributespublic void setTempAttributes(org.jboss.virtual.VisitorAttributes attributes)
attributes - the attributes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||