com.ibm.datapower.wamt.clientAPI
Class ServiceDeployment

java.lang.Object
  extended by com.ibm.datapower.wamt.clientAPI.ServiceDeployment

public class ServiceDeployment
extends java.lang.Object

The ServiceDeployment is used to check the inter-dependent service before the deployment, and is used to deploy the service source configuration to device. Objects of this class are automatically instantiated when Domain.createServiceDeployment(ServiceConfiguration, URLSource, String, String, boolean) or Domain.createServiceDeployment(ServiceConfiguration, boolean) is invoked.

The InterDependentServiceCollection object is created when this object is instantiated, so the returns of methods getFilesToBeOverwritten(), getInterDependentServices(), and getObjectsToBeOverwritten() are cached at the same time. Consequently, those returns could be a slight difference when the service is deploying to device.


Field Summary
static java.lang.String COPYRIGHT_2012_2013
           
 
Method Summary
 ProgressContainer deployServiceConfiguration()
          Push a service source configuration onto the device.
 StringCollection getFilesToBeOverwritten()
          Get a file list to be overwritten.
 RuntimeService[] getInterDependentServices()
          Get all interdependent service(s) when this class is instantiated.
 ConfigObject[] getObjectsToBeOverwritten()
          Get ConfigObject(s) to be overwritten.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_2012_2013

public static final java.lang.String COPYRIGHT_2012_2013
See Also:
Constant Field Values
Method Detail

getInterDependentServices

public RuntimeService[] getInterDependentServices()
                                           throws DeletedException,
                                                  NotExistException,
                                                  InUseException,
                                                  InvalidParameterException,
                                                  AMPException,
                                                  java.io.IOException
Get all interdependent service(s) when this class is instantiated.

Returns:
the interdependent service(s)

getFilesToBeOverwritten

public StringCollection getFilesToBeOverwritten()
                                         throws DeletedException,
                                                NotExistException,
                                                InUseException,
                                                InvalidParameterException,
                                                AMPException,
                                                java.io.IOException
Get a file list to be overwritten.

Returns:
the file list to be overwritten

getObjectsToBeOverwritten

public ConfigObject[] getObjectsToBeOverwritten()
                                         throws DeletedException,
                                                NotExistException,
                                                InUseException,
                                                InvalidParameterException,
                                                AMPException,
                                                java.io.IOException
Get ConfigObject(s) to be overwritten.

Returns:
the ConfigObject array to be overwritten.

deployServiceConfiguration

public ProgressContainer deployServiceConfiguration()
                                             throws DeletedException,
                                                    FullException,
                                                    NotManagedException
Push a service source configuration onto the device.

Returns:
the ProgressContainer object for this long running task


© Copyright IBM Corp. 2006, 2010 All Rights Reserved.