org.openspaces.admin.application
Class ApplicationFileDeployment
java.lang.Object
org.openspaces.admin.application.ApplicationFileDeployment
public class ApplicationFileDeployment
- extends Object
A helper method that creates a ApplicationConfig
by reading an xml file
- Since:
- 9.0.1
- Author:
- itaif
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationFileDeployment
public ApplicationFileDeployment(File applicationDirectory)
- Creates a new application deployment based on the specified file
- Parameters:
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.- Since:
- 9.0.1
ApplicationFileDeployment
public ApplicationFileDeployment(File applicationDirectoryOrZip,
String applicationFileName)
- Creates a new application deployment based on the specified file
- Parameters:
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)
create
public ApplicationConfig create()
Copyright © GigaSpaces.