com.ibm.websphere.management.application.client

Class AppDeploymentController

  1. java.lang.Object
  2. extended bycom.ibm.websphere.management.application.client.AppDeploymentController
All implemented interfaces:
java.io.Serializable

  1. public class AppDeploymentController
  2. extends java.lang.Object
  3. implements java.io.Serializable
The AppDeploymentController instance is used to prepare an application EAR file before installing it in WebSphere cell. The prparation phase involves collecting WebSphere-specific information, collectively known as bindings, that are used to tie deployment descriptors of application and its modules to WebSphere runtime.

The AppDeploymentController instance is created using a static factory method. It takes a local EAR file and creates a sequence of AppDeploymentTask objects (tasks) that are used collect various pieces of information needed to prepare the application. Once all the tasks are processed and the necessary information is collected, the AppDeploymentController instance is saved which saves some of the task data back into the EAR file and the rest to a hashtable. The updated EAR file and the hashtable returned by the AppDeploymentController can be passed to the AppManagement MBean in its installApplication API. The following sample code shows this operation -


 // Create controller
 String earFile = "C:/temp/foo.ear"; // EAR file to be installed
 Hashtable tbl = new Hashtable();
 tbl.put (AppConstants.APPDEPL_LOCALE, Locale.getDefault());

 // One can also optionally put default binding generation options as follows.
 Properties props = new Properties();
 tbl.put (AppConstants.APPDEPL_DFLTBNDG, props); // if not specified then default binding generation will not run
 // You can specify any of the following
 props.put (AppConstants.APPDEPL_DFLTLTBNDG_VHOST, "default_host");
 props.put (AppConstants.APPDEPL_DFLTLTBNDG_DDSJNDI, "jdbc/MyDataSource");
 props.put (AppConstants.APPDEPL_DFLTLTBNDG_DDSUSER, "username");
 props.put (AppConstants.APPDEPL_DFLTLTBNDG_DDSPASS, "password");
 props.put (AppConstants.APPDEPL_DFLTLTBNDG_EJBJNDIPREFIX, "ejb");
 props.put (AppConstants.APPDEPL_DFLTLTBNDG_CFJNDI, "cf/MyFactory");
 props.put (AppConstants.APPDEPL_DFLTLTBNDG_CFRESAUTH, "Container");
 props.put (AppConstants.APPDEPL_DFLTLTBNDG_STRATEGY, "C:/mydir/strategy.xml");
 props.put (AppConstants.APPDEPL_DFLTLTBNDG_FORCE, AppConstants.YES_KEY);

 AppDeploymentController controller = AppDeploymentController.readArchive (earFile, tbl);

 // iterate through tasks
 AppDeploymentTask installTask = controller.getFirstTask();
 while (installTask != null)
 {
         // display the task
      String[][] data = installTask.getTaskData();

         // The task data is displayed in client specific manner.
         // Or it can be used to set specific task data by looking for a particular task name.

         installTask.setTaskData (data); // once it is changed
         installTask = controller.getNextTask();
 }

 // save the data back into ear file and the options table owned by the controller
 controller.saveAndClose();

 // get options saved by controller
 Hashtable options = controller.getAppOptions();

 // use the ear file and options table to install the app
 AdminClient adminClient = // create admin client
 AppManagementProxy proxy = AppManagementProxy.getJMXProxyForClient (adminClient);
 proxy.installApplication (earFile, "SomeAppName", options, null);

See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. protected
  2. long
_deploymentMode
  1. protected
  2. AdminClient
adminClient
  1. protected
  2. java.util.List
changedTaskProcessList
  1. protected
  2. ConfigService
configService
  1. protected
  2. Session
configSession
  1. protected
  2. int
currentTask
  1. protected
  2. com.ibm.websphere.management.application.client.AppDeploymentInfo
deploymentInfo
  1. static
  2. int
HIGHEST_CLIENT_MAJOR_VERSION
  1. protected
  2. java.util.Hashtable
preferences
  1. protected
  2. java.util.ResourceBundle
resBundle
  1. protected
  2. java.util.Hashtable
taskDataChangeListeners
  1. static
  2. java.lang.String
taskHelperSuffix
Deprecated.
  1. protected
  2. java.util.Vector<com.ibm.websphere.management.application.client.AppDeploymentTaskInfo>
taskInfo
  1. protected
  2. java.util.Vector<java.lang.String>
taskNames
  1. protected
  2. java.util.Vector<AppDeploymentTask>
tasks

Constructor Summary

Constructor and Description
AppDeploymentController(com.ibm.websphere.management.application.client.AppDeploymentInfo info,java.util.Hashtable prefs,java.util.Vector taskI)
Returns a new AppDeploymentController instance.
AppDeploymentController(com.ibm.websphere.management.application.client.AppDeploymentInfo info,java.util.Vector tAll,java.util.Hashtable prefs,java.util.Vector taskI)
Returns a new AppDeploymentController instance.
AppDeploymentController(java.util.Vector tAll,java.util.Vector taskI,java.util.Hashtable prefs)
Returns a new AppDeploymentController instance.

Method Summary

Modifier and Type Method and Description
  1. boolean
checkIfEnhancedEar()
  1. void
checkIfSufficientlyDoneInTaskHelper(java.lang.String taskName)
  1. void
close(boolean bSave,boolean bValidate,boolean bClose)
Closes the archive and saves it optionally.
  1. void
completeDefaultBindingTask(com.ibm.ws.management.application.client.DefaultBinding task)
Called by the client code to complete the DefaultBinding task.
  1. protected
  2. void
createAppDeploymentTasks()
Create application deployment tasks.
  1. void
createDeploymentPlan(java.io.OutputStream out)
  1. AdminClient
getAdminClient()
  1. java.util.Vector
getAllTasks()
Returns all tasks.
  1. java.util.Hashtable
getAppDeploymentSavedResults()
Returns the saved results at the end of app preparation phase.
  1. java.lang.String[]
getAppDeploymentTaskNames()
Returns the task names for all the tasks that should be executed during app preparation phase.
  1. java.util.Hashtable
getAppOptions()
Returns the app deployment options from the AppDeploymentInfo instance.
  1. int
getAppVersion()
  1. int
getAppVersion(boolean checkForFeature)
  1. int
getClientMajorVersion()
Returns the major version of the client code associated with this controller.
  1. ConfigService
getConfigService()
  1. Session
getConfigSession()
  1. com.ibm.ws.management.application.client.DataHolder
getDataHolder()
  1. com.ibm.ws.management.application.client.DefaultBinding
getDefaultBindingTask(java.util.Hashtable prefs)
Called by the client code to return an instance of DefaultBinding task.
  1. protected
  2. void
getDependencyTask(int i)
  1. void
getDependencyTask(java.lang.String taskName)
Executes the dependency resolver for the given task
  1. long
getDeploymentMode()
  1. org.eclipse.emf.ecore.resource.Resource
getEnhancedEarDeploymentResource(java.lang.String resName)
  1. AppDeploymentTask
getFirstTask()
Returns the first Task object in the client side preparation process.
  1. java.lang.String[][]
getModifiedTaskData(java.lang.String taskName,java.lang.String[][] data)
  1. AppDeploymentTask
getNextTask()
Returns the next Task object in the client side preparation process.
  1. protected
  2. AppDeploymentTask
getNthTask(int i)
  1. int
getRarVersion()
  1. java.lang.String
getSecurityPolicyData()
  1. java.lang.String
getSecurityPolicyWarning()
  1. java.util.List
getSelectedOptions()
  1. java.util.Hashtable
getServerTable()
  1. AppDeploymentTask
getTaskByName(java.lang.String taskName)
Returns the task with a given name
  1. AppDeploymentTask
getTaskByName(java.lang.String taskName,boolean b)
Returns the task with a given name
  1. protected
  2. com.ibm.websphere.management.application.client.AppDeploymentTaskHelper
getTaskHelper(int taskIndex)
Returns task helper for task.
  1. protected
  2. com.ibm.websphere.management.application.client.AppDeploymentTaskHelper
getTaskHelper(java.lang.String taskName)
Returns task helper for task.
  1. com.ibm.websphere.management.application.client.AppDeploymentTaskInfo
getTaskInfo()
Deprecated. Returns AppDeploymentTaskInfo instance for current task.
  1. com.ibm.websphere.management.application.client.AppDeploymentTaskInfo
getTaskInfo(java.lang.String taskName)
Deprecated. Returns AppDeploymentTaskInfo instance for given task.
  1. protected
  2. void
handlePreferences(java.util.Hashtable instPrefs)
  1. protected
  2. void
initializeEncoderDecoder()
  1. boolean
isClientModuleEnabled()
  1. boolean
isPartialDeploymentInfo()
Returns whether the archive for this AppDeploymentController is opened for editing/viewing.
  1. void
postAllPrepareTask(com.ibm.websphere.management.application.client.AppDeploymentInfo appInstallInfo,AppDeploymentTask task)
  1. AppDeploymentTask
preAllCompleteTask(AppDeploymentTask t)
  1. protected
  2. void
prepareTask(int i,AppDeploymentTask task)
  1. static
  2. AppDeploymentController
readArchive(java.lang.String ear,java.util.Hashtable preferences)
Creates a new instance of AppDeploymentController for a given application EAR file and a set of preferences.
  1. static
  2. AppDeploymentController
readArchive(java.lang.String ear,java.util.Hashtable preferences,java.util.Vector taskI)
Creates a new instance of AppDeploymentController for a given application EAR file and a set of preferences.
  1. void
readDeploymentPlan(java.io.File file)
  1. void
readDeploymentPlan(java.io.InputStream in)
  1. void
resetDataHolder()
  1. void
saveAndClose()
Saves the task data back into application archive.
  1. void
saveAsFile(java.lang.String moduleUri,java.lang.String fileUriInModule,java.io.InputStream inputStream)
Save the input stream as a file in the specified location
  1. void
setAppOptions(java.util.Hashtable tbl)
Sets the app deployment options from the AppDeploymentInfo instance.
  1. protected
  2. void
setDeploymentMode(java.util.Hashtable<java.lang.String,?> preferences)
  1. void
setVariableMap(java.util.Vector vtask)
  1. java.lang.String[]
validate()
Validates the task data.
  1. java.lang.String[]
validateInTaskHelper(java.lang.String taskName)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

taskHelperSuffix

  1. @Deprecated
  2. public static final java.lang.String taskHelperSuffix
Deprecated.
See Also:

HIGHEST_CLIENT_MAJOR_VERSION

  1. public static final int HIGHEST_CLIENT_MAJOR_VERSION
See Also:

taskInfo

  1. protected java.util.Vector<com.ibm.websphere.management.application.client.AppDeploymentTaskInfo> taskInfo

taskNames

  1. protected java.util.Vector<java.lang.String> taskNames

tasks

  1. protected java.util.Vector<AppDeploymentTask> tasks

currentTask

  1. protected int currentTask

preferences

  1. protected java.util.Hashtable preferences

deploymentInfo

  1. protected transient com.ibm.websphere.management.application.client.AppDeploymentInfo deploymentInfo

resBundle

  1. protected transient java.util.ResourceBundle resBundle

_deploymentMode

  1. protected long _deploymentMode

configService

  1. protected ConfigService configService

configSession

  1. protected Session configSession

adminClient

  1. protected AdminClient adminClient

taskDataChangeListeners

  1. protected java.util.Hashtable taskDataChangeListeners

changedTaskProcessList

  1. protected java.util.List changedTaskProcessList

Constructor Detail

AppDeploymentController

  1. public AppDeploymentController( com.ibm.websphere.management.application.client.AppDeploymentInfo info,
  2. java.util.Hashtable prefs,
  3. java.util.Vector taskI)
  4. throws com.ibm.websphere.management.application.client.AppDeploymentException
Returns a new AppDeploymentController instance. This constructor should never be called directly. Instead AppDeploymentController.readArchive (ear, prefs) method should be used.
Parameters:
info - The application information object
prefs - Preferences
taskI - The task related information
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

AppDeploymentController

  1. public AppDeploymentController( java.util.Vector tAll,
  2. java.util.Vector taskI,
  3. java.util.Hashtable prefs)
  4. throws com.ibm.websphere.management.application.client.AppDeploymentException
Returns a new AppDeploymentController instance. This constructor should never be called directly. Instead AppDeploymentController.readArchive (ear, prefs) method should be used.
Parameters:
tAll - All tasks
prefs - Preferences
taskI - The task related information
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

AppDeploymentController

  1. public AppDeploymentController( com.ibm.websphere.management.application.client.AppDeploymentInfo info,
  2. java.util.Vector tAll,
  3. java.util.Hashtable prefs,
  4. java.util.Vector taskI)
  5. throws com.ibm.websphere.management.application.client.AppDeploymentException
Returns a new AppDeploymentController instance. This constructor should never be called directly. Instead AppDeploymentController.readArchive (ear, prefs) method should be used.
Parameters:
info - The application information object
tAll - All tasks
prefs - Preferences
taskI - The task related information
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

Method Detail

readArchive

  1. public static AppDeploymentController readArchive( java.lang.String ear,
  2. java.util.Hashtable preferences)
  3. throws com.ibm.websphere.management.application.client.AppDeploymentException
Creates a new instance of AppDeploymentController for a given application EAR file and a set of preferences. This controller instance is then used to create and manage various tasks (AppDeploymentTask instances) performed during application installation.
Parameters:
ear - The application EAR file name
preferences - The preferences table. The hashtable can have following keys
AppConstants.APPDEPL_LOCALE java.util.Locale
Returns:
AppDeploymentController instance
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

readArchive

  1. public static AppDeploymentController readArchive( java.lang.String ear,
  2. java.util.Hashtable preferences,
  3. java.util.Vector taskI)
  4. throws com.ibm.websphere.management.application.client.AppDeploymentException
Creates a new instance of AppDeploymentController for a given application EAR file and a set of preferences. This controller instance is then used to create and manage various tasks (AppDeploymentTask instances) performed during application installation.
Parameters:
ear - The application EAR file name
taskI - Should always be null
Returns:
AppDeploymentController instance
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

setDeploymentMode

  1. protected void setDeploymentMode( java.util.Hashtable<java.lang.String,?> preferences)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getDeploymentMode

  1. public long getDeploymentMode()

getClientMajorVersion

  1. public int getClientMajorVersion( )
Returns the major version of the client code associated with this controller. Typically this is useful only when tasks are created on the application server for editing. In that scenario, if a remote client (e.g. wsadmin) running a lower level WebSphere calls a WebSphere server code (AppManagement.getApplicationInfo) then the server code needs to figure out the client version to know what task information to pass back. If a task in v5 has new columns added in v6 then they can not be passed to the remote wsadmin client since the runtime on that client will know nothing about the new columns. In this case, the client version is helpful in determining what to pass back. For all other scenarios (install, local mode install/edit, update) the client version is treated as the highest version i.e. version that can handle the latest version of the tasks.
Returns:
int remote client major version for edit mode, highest version in all other cases.

handlePreferences

  1. protected void handlePreferences( java.util.Hashtable instPrefs)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getDefaultBindingTask

  1. public com.ibm.ws.management.application.client.DefaultBinding getDefaultBindingTask( java.util.Hashtable prefs)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Called by the client code to return an instance of DefaultBinding task. This method should be used together with completeDefaultBindingTask to get/set the default binding options. The call should be done before getFirstTask is called if default bindings is to be performed. Code snippets:
     DefaultBinding task = appController.getDefaultBindingTask(optProps);
      
     // codes implemented by client to display the binding options
     // and inputs from user, or under the cover to set up the
     // values

     appController.completeDefaultBindingTask(task);

     AppDeploymentTask task = appController.getFirstTask();
     ...
     ...
 
That is all client needs to do for default bindings.
Parameters:
prefs - perference table
Returns:
an instance of DefaultBinding task
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

completeDefaultBindingTask

  1. public void completeDefaultBindingTask( com.ibm.ws.management.application.client.DefaultBinding task)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Called by the client code to complete the DefaultBinding task. See getDefaultBindingTask(java.util.Hashtable) for more information.
Parameters:
task - an instance of DefaultBinding task
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

initializeEncoderDecoder

  1. protected void initializeEncoderDecoder( )
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

createAppDeploymentTasks

  1. protected void createAppDeploymentTasks( )
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Create application deployment tasks.
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getTaskHelper

  1. protected com.ibm.websphere.management.application.client.AppDeploymentTaskHelper getTaskHelper( java.lang.String taskName)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Returns task helper for task.
Parameters:
taskName -
Returns:
AppDeploymentTaskHelper
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getTaskHelper

  1. protected com.ibm.websphere.management.application.client.AppDeploymentTaskHelper getTaskHelper( int taskIndex)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Returns task helper for task.
Parameters:
taskIndex -
Returns:
AppDeploymentTaskHelper
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getAppDeploymentTaskNames

  1. public java.lang.String[] getAppDeploymentTaskNames( )
Returns the task names for all the tasks that should be executed during app preparation phase.
Returns:
The array of task names.

getFirstTask

  1. public AppDeploymentTask getFirstTask( )
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Returns the first Task object in the client side preparation process.
Returns:
The first task object
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getNthTask

  1. protected AppDeploymentTask getNthTask( int i)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

prepareTask

  1. protected void prepareTask(int i,
  2. AppDeploymentTask task)
  3. throws com.ibm.websphere.management.application.client.AppDeploymentException
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getNextTask

  1. public AppDeploymentTask getNextTask( )
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Returns the next Task object in the client side preparation process.
Returns:
The next task object
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getTaskByName

  1. public AppDeploymentTask getTaskByName( java.lang.String taskName,
  2. boolean b)
  3. throws com.ibm.websphere.management.application.client.AppDeploymentException
Returns the task with a given name
Parameters:
taskName - The task name
b - The boolean that specifies if the returned task becomes the current task in the preparation phase
Returns:
The task instance
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getAllTasks

  1. public java.util.Vector getAllTasks( )
Returns all tasks.
Returns:
A vector of tasks

getTaskByName

  1. public AppDeploymentTask getTaskByName( java.lang.String taskName)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Returns the task with a given name
Parameters:
taskName - The task name
Returns:
The task instance
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getDependencyTask

  1. protected void getDependencyTask( int i)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getDependencyTask

  1. public void getDependencyTask(java.lang.String taskName)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Executes the dependency resolver for the given task
Parameters:
taskName - The task name
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

close

  1. public void close(boolean bSave,
  2. boolean bValidate,
  3. boolean bClose)
  4. throws com.ibm.websphere.management.application.client.AppDeploymentException
Closes the archive and saves it optionally.
Parameters:
bSave - Specifies if the task data should be saved
bValidate - Specifies if the task data should be validated
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

saveAndClose

  1. public void saveAndClose()
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Saves the task data back into application archive.
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

validate

  1. public java.lang.String[] validate( )
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Validates the task data. Checked to see if all tasks are sifficiently done.
Returns:
The string array of empty and/or syntatically invalid task data
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

validateInTaskHelper

  1. public java.lang.String[] validateInTaskHelper( java.lang.String taskName)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

checkIfSufficientlyDoneInTaskHelper

  1. public void checkIfSufficientlyDoneInTaskHelper( java.lang.String taskName)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getAppOptions

  1. public java.util.Hashtable getAppOptions( )
Returns the app deployment options from the AppDeploymentInfo instance.
Returns:
The app deployment options

setAppOptions

  1. public void setAppOptions(java.util.Hashtable tbl)
Sets the app deployment options from the AppDeploymentInfo instance.

getAppDeploymentSavedResults

  1. public java.util.Hashtable getAppDeploymentSavedResults( )
Returns the saved results at the end of app preparation phase. This method should be called AFTER the saveAndClose method is called.
Returns:
The app deployment options

getTaskInfo

  1. public com.ibm.websphere.management.application.client.AppDeploymentTaskInfo getTaskInfo( )
Deprecated. Returns AppDeploymentTaskInfo instance for current task.
Returns:
The AppDeploymentTaskInfo instance

getTaskInfo

  1. public com.ibm.websphere.management.application.client.AppDeploymentTaskInfo getTaskInfo( java.lang.String taskName)
Deprecated. Returns AppDeploymentTaskInfo instance for given task.
Returns:
The AppDeploymentTaskInfo instance

isPartialDeploymentInfo

  1. public boolean isPartialDeploymentInfo( )
Returns whether the archive for this AppDeploymentController is opened for editing/viewing.
Returns:
true if archive is opened for editing or viewing.

getSecurityPolicyData

  1. public java.lang.String getSecurityPolicyData( )
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Returns:
the contents of the was.policy file in string format
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getSecurityPolicyWarning

  1. public java.lang.String getSecurityPolicyWarning( )
Returns:
the warning message if the enterprise application is a J2EE 1.2 application and a was.policy file is added to grant all permissions to the applicaiton.

saveAsFile

  1. public void saveAsFile(java.lang.String moduleUri,
  2. java.lang.String fileUriInModule,
  3. java.io.InputStream inputStream)
  4. throws com.ibm.websphere.management.application.client.AppDeploymentException
Save the input stream as a file in the specified location
Parameters:
moduleUri - The name of the module file within the archive
fileUriInModule - The relative location and name of the file to be saved as within the module file
inputStream - The input stream to be saved
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

createDeploymentPlan

  1. public void createDeploymentPlan( java.io.OutputStream out)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

readDeploymentPlan

  1. public void readDeploymentPlan( java.io.File file)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

readDeploymentPlan

  1. public void readDeploymentPlan( java.io.InputStream in)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getSelectedOptions

  1. public java.util.List getSelectedOptions( )

getAppVersion

  1. public int getAppVersion()

getAppVersion

  1. public int getAppVersion(boolean checkForFeature)

getRarVersion

  1. public int getRarVersion()
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getServerTable

  1. public java.util.Hashtable getServerTable( )
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getAdminClient

  1. public AdminClient getAdminClient( )

getConfigSession

  1. public Session getConfigSession( )

getConfigService

  1. public ConfigService getConfigService( )
  2. throws java.lang.Exception
Throws:
java.lang.Exception

checkIfEnhancedEar

  1. public boolean checkIfEnhancedEar( )

getEnhancedEarDeploymentResource

  1. public org.eclipse.emf.ecore.resource.Resource getEnhancedEarDeploymentResource( java.lang.String resName)

postAllPrepareTask

  1. public void postAllPrepareTask( com.ibm.websphere.management.application.client.AppDeploymentInfo appInstallInfo,
  2. AppDeploymentTask task)

setVariableMap

  1. public void setVariableMap(java.util.Vector vtask)

preAllCompleteTask

  1. public AppDeploymentTask preAllCompleteTask( AppDeploymentTask t)
  2. throws com.ibm.websphere.management.application.client.AppDeploymentException
Throws:
com.ibm.websphere.management.application.client.AppDeploymentException

getModifiedTaskData

  1. public java.lang.String[][] getModifiedTaskData( java.lang.String taskName,
  2. java.lang.String[][] data)

resetDataHolder

  1. public void resetDataHolder()

getDataHolder

  1. public com.ibm.ws.management.application.client.DataHolder getDataHolder( )

isClientModuleEnabled

  1. public boolean isClientModuleEnabled( )
Returns:
whether client module is deployed