public class ApplicationFileDeployment extends Object
ApplicationConfig
by reading an xml fileConstructor and Description |
---|
ApplicationFileDeployment(File applicationDirectory)
Creates a new application deployment based on the specified file
|
ApplicationFileDeployment(File applicationDirectoryOrZip,
String applicationFileName)
Creates a new application deployment based on the specified file
|
public ApplicationFileDeployment(File applicationDirectory)
applicationDirectory
- - the application directory or zip file containing the application xml file and
the processing unit jar files.
All jars referenced from application.xml are relative to this directory. If
the processingUnit defined in the xml file with a '/' it is relative to the
gigaspaces installation directory, and not the application directory
Assumes the directory or zip file contains application.xml file.public ApplicationFileDeployment(File applicationDirectoryOrZip, String applicationFileName)
applicationDirectoryOrZip
- - the application directory or zip file containing the application xml file and
the processing unit jar files.
All jars referenced from application.xml are relative to this directory. If
the processingUnit defined in the xml file with a '/' it is relative to the
gigaspaces installation directory, and not the application directoryapplicationFileName
- The application xml file (absolute or relative to the application directory)public ApplicationConfig create()
Copyright © GigaSpaces.