Class AutoDeployDirectoryScanner
java.lang.Object
org.glassfish.deployment.autodeploy.AutoDeployDirectoryScanner
- All Implemented Interfaces:
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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeployedEntity(File autodeployDir, File deployedEntity) File[]getAllDeployableModules(File autodeployDir, boolean includeSubDir) Get the list of all deployable filesFile[]getAllFilesForUndeployment(File autodeployDir, boolean includeSubdir) protected File[]getListOfFiles(File dir) protected File[]getListOfFiles(File dir, boolean includeSubDir) booleanhasNewDeployableEntity(File autodeployDir) return true if any new deployable entity is present in autodeployDirprotected voidvoidundeployedEntity(File autodeployDir, File undeployedEntity)
-
Field Details
-
deplLogger
-
-
Constructor Details
-
AutoDeployDirectoryScanner
public AutoDeployDirectoryScanner()
-
-
Method Details
-
deployedEntity
- Specified by:
deployedEntityin interfaceDirectoryScanner
-
undeployedEntity
- Specified by:
undeployedEntityin interfaceDirectoryScanner
-
hasNewDeployableEntity
return true if any new deployable entity is present in autodeployDir- Specified by:
hasNewDeployableEntityin interfaceDirectoryScanner- Parameters:
autodeployDir-- Returns:
-
getAllFilesForUndeployment
- Specified by:
getAllFilesForUndeploymentin interfaceDirectoryScanner
-
getAllDeployableModules
Get the list of all deployable files- Specified by:
getAllDeployableModulesin interfaceDirectoryScanner- Parameters:
autodeployDir-- Returns:
-
printException
-
getListOfFiles
-
getListOfFiles
-