org.glassfish.deployment.autodeploy
Class AutoDeployDirectoryScanner
java.lang.Object
org.glassfish.deployment.autodeploy.AutoDeployDirectoryScanner
- All Implemented Interfaces:
- DirectoryScanner
public class AutoDeployDirectoryScanner
- extends java.lang.Object
- implements DirectoryScanner
Implementation of Directory scanner for autodeployment
Providing functionality for scanning the input source directory
and return the list of deployable components for autodeployment.
Provide the list of deployable modules/application, depending upon the "type" entry
passed to getAllDeployableEntity(File autodeployDir, String type).
- Author:
- vikas
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoDeployDirectoryScanner
public AutoDeployDirectoryScanner()
deployedEntity
public void deployedEntity(java.io.File autodeployDir,
java.io.File deployedEntity)
- Specified by:
deployedEntity in interface DirectoryScanner
undeployedEntity
public void undeployedEntity(java.io.File autodeployDir,
java.io.File undeployedEntity)
- Specified by:
undeployedEntity in interface DirectoryScanner
hasNewDeployableEntity
public boolean hasNewDeployableEntity(java.io.File autodeployDir)
- return true if any new deployable entity is present in autodeployDir
- Specified by:
hasNewDeployableEntity in interface DirectoryScanner
- Parameters:
autodeployDir -
- Returns:
getAllFilesForUndeployment
public java.io.File[] getAllFilesForUndeployment(java.io.File autodeployDir,
boolean includeSubdir)
- Specified by:
getAllFilesForUndeployment in interface DirectoryScanner
getAllDeployableModules
public java.io.File[] getAllDeployableModules(java.io.File autodeployDir,
boolean includeSubDir)
- Get the list of all deployable files
- Specified by:
getAllDeployableModules in interface DirectoryScanner
- Parameters:
autodeployDir -
- Returns:
printException
protected void printException(java.lang.Exception e)
getListOfFiles
protected java.io.File[] getListOfFiles(java.io.File dir)
getListOfFiles
protected java.io.File[] getListOfFiles(java.io.File dir,
boolean includeSubDir)
Copyright © 2012 GlassFish Community. All Rights Reserved.