GigaSpaces XAP 9.0 API

org.openspaces.admin.application
Class ApplicationFileDeployment

java.lang.Object
  extended by 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

Constructor Summary
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
 
Method Summary
 ApplicationConfig create()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 directory
applicationFileName - The application xml file (absolute or relative to the application directory)
Method Detail

create

public ApplicationConfig create()

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.