de.fzj.unicore.wsrflite.utils.deployment
Class DeploymentPackage

java.lang.Object
  extended by de.fzj.unicore.wsrflite.utils.deployment.DeploymentPackage

public class DeploymentPackage
extends Object

Contains data needed for service deployment.

Note: when deploying a service JAR, its manifest must adhere to the following format:

IFace-Class: packageName.InterfaceClass
Impl-Class: packageName.ImplementationClass
IsWSRF: true|false
IsPersistent: true|false

Author:
j.daivandy@fz-juelich.de

Constructor Summary
DeploymentPackage(File jarFile)
           
DeploymentPackage(String serviceName, File jarFile)
           
DeploymentPackage(String serviceName, File jarFile, boolean isPersistent, int mode)
           
DeploymentPackage(String serviceName, String iFace, String impl, boolean isPersistent)
           
DeploymentPackage(String serviceName, String iFace, String impl, boolean isPersistent, String initTaskName)
           
 
Method Summary
 String getIFace()
           
 String getImpl()
           
 String getInitTaskName()
           
 boolean getIsPersistent()
           
 byte[] getJarAsBytes()
           
 File getJarFile()
           
 int getMode()
           
 String getServiceName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentPackage

public DeploymentPackage(String serviceName,
                         String iFace,
                         String impl,
                         boolean isPersistent)

DeploymentPackage

public DeploymentPackage(String serviceName,
                         String iFace,
                         String impl,
                         boolean isPersistent,
                         String initTaskName)

DeploymentPackage

public DeploymentPackage(File jarFile)

DeploymentPackage

public DeploymentPackage(String serviceName,
                         File jarFile)

DeploymentPackage

public DeploymentPackage(String serviceName,
                         File jarFile,
                         boolean isPersistent,
                         int mode)
Method Detail

getServiceName

public String getServiceName()

getIFace

public String getIFace()

getImpl

public String getImpl()

getIsPersistent

public boolean getIsPersistent()

getInitTaskName

public String getInitTaskName()

getMode

public int getMode()

getJarFile

public File getJarFile()

getJarAsBytes

public byte[] getJarAsBytes()


Copyright © 2010. All Rights Reserved.