javax.management.DynamicMBean
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, RuntimeMBean
, WebLogicMBean
public interface DeploymentManagerMBean extends RuntimeMBean
This MBean provides deployment operations.
A DeploymentManager object is a stateless interface into the WebLogic Server deployment framework. It currently provides access to the AppDeploymentRuntimeMBeans that allow the user to start and stop deployments. In the future, this MBean may be enhanced with operations to support deployment applications to the domain, as well as extended WebLogic Server deployment features, such as production redeployment and partial deployment of modules in an enterprise application.
This MBean emits notifications when an application is created or removed and when the application state changes. The notification types are:
The userdata is the object name of the application.
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
ADMIN_MODE |
|
static java.lang.String |
ALT_DD |
|
static java.lang.String |
ALT_WLS_DD |
|
static java.lang.String |
APP_VERSION |
|
static java.lang.String |
APPDEPLOYMENT_ACTIVE |
|
static java.lang.String |
APPDEPLOYMENT_ADMIN |
|
static java.lang.String |
APPDEPLOYMENT_CREATED |
|
static java.lang.String |
APPDEPLOYMENT_DELETED |
|
static java.lang.String |
APPDEPLOYMENT_FAILED |
|
static java.lang.String |
APPDEPLOYMENT_NEW |
|
static java.lang.String |
APPDEPLOYMENT_PREPARED |
|
static java.lang.String |
APPDEPLOYMENT_RETIRED |
|
static java.lang.String |
APPDEPLOYMENT_UNKNOWN |
|
static java.lang.String |
APPDEPLOYMENT_UPDATE_PENDING |
|
static java.lang.String |
CACHE_IN_APP_DIRECTORY |
|
static java.lang.String |
CLUSTER_DEPLOYMENT_TIMEOUT |
|
static java.lang.String |
CREATE_PLAN |
|
static java.lang.String |
DEFAULT_SUBMODULE_TARGETS |
|
static java.lang.String |
DEPLOYMENT_ORDER |
|
static java.lang.String |
DEPLOYMENT_PRINCIPAL_NAME |
|
static java.lang.String |
EDIT_SESSION |
|
static java.lang.String |
FORCE_UNDEPLOYMENT_TIMEOUT |
|
static java.lang.String |
GRACEFUL_IGNORE_SESSIONS |
|
static java.lang.String |
GRACEFUL_PRODUCTION_TO_ADMIN |
|
static java.lang.String |
LIB_IMPL_VERSION |
|
static java.lang.String |
LIB_SPEC_VERSION |
|
static java.lang.String |
LIBDEPLOYMENT_CREATED |
|
static java.lang.String |
LIBDEPLOYMENT_DELETED |
|
static java.lang.String |
LIBRARY |
|
static java.lang.String |
NO_VERSION |
|
static java.lang.String |
PARTITION |
|
static java.lang.String |
PLAN_VERSION |
|
static java.lang.String |
REMOVE_PLAN_OVERRIDE |
|
static java.lang.String |
RESOURCE_GROUP |
|
static java.lang.String |
RESOURCE_GROUP_TEMPLATE |
|
static java.lang.String |
RETIRE_GRACEFULLY |
|
static java.lang.String |
RETIRE_TIMEOUT |
|
static java.lang.String |
RMI_GRACE_PERIOD |
|
static java.lang.String |
SECURITY_MODEL |
|
static java.lang.String |
SECURITY_VALIDATION_ENABLED |
|
static java.lang.String |
SPECIFIED_TARGETS_ONLY |
|
static java.lang.String |
STAGE_MODE |
|
static java.lang.String |
START_TASK |
|
static java.lang.String |
STATIC_DEPLOYMENT |
|
static java.lang.String |
SUB_MODULE_TARGETS |
|
static java.lang.String |
TASK_ID |
|
static java.lang.String |
TIMEOUT |
|
static java.lang.String |
USE_NONEXCLUSIVE_LOCK |
|
static java.lang.String |
VERSION_IDENTIFIER |
Modifier and Type | Method | Description |
---|---|---|
DeploymentProgressObjectMBean |
appendToExtensionLoader(java.lang.String codeSourcePath) |
Appends a code source to the search path of the WebLogic Extension Loader,
which is also referred to as the WebLogic Domain Loader.
|
DeploymentProgressObjectMBean |
appendToExtensionLoader(java.lang.String codeSourcePath,
java.lang.String[] targets,
java.util.Properties deploymentOptions) |
Appends a code source to the search path of the WebLogic Extension Loader,
which is also referred to as the WebLogic Domain Loader.
|
java.lang.String |
confirmApplicationName(java.lang.Boolean isRedeployment,
java.lang.String appSource,
java.lang.String altAppDescriptor,
java.lang.String tentativeName,
java.lang.String tentativeApplicationId) |
Used by the deployment subsystem to confirm an application name.
|
java.lang.String |
confirmApplicationName(java.lang.Boolean isRedeployment,
java.lang.String appSource,
java.lang.String altAppDescriptor,
java.lang.String tentativeName,
java.lang.String tentativeApplicationId,
java.util.Properties deploymentOptions) |
Used by the deployment subsystem to confirm an application name.
|
DeploymentProgressObjectMBean |
deploy(java.lang.String name,
java.lang.String applicationPath,
java.lang.String plan) |
A convenience method for distributing and starting an application.
|
DeploymentProgressObjectMBean |
deploy(java.lang.String name,
java.lang.String applicationPath,
java.lang.String[] targets,
java.lang.String plan,
java.util.Properties deploymentOptions) |
A convenience method for distributing and starting an application.
|
DeploymentProgressObjectMBean |
distribute(java.lang.String name,
java.lang.String applicationPath,
java.lang.String plan) |
Distribute an application.
|
DeploymentProgressObjectMBean |
distribute(java.lang.String name,
java.lang.String applicationPath,
java.lang.String[] targets,
java.lang.String plan,
java.util.Properties deploymentOptions) |
Distribute an application.
|
AppDeploymentRuntimeMBean[] |
getAppDeploymentRuntimes() |
Provides access to the applications that are deployed in the
domain.
|
DeploymentProgressObjectMBean[] |
getDeploymentProgressObjects() |
Provides access to the deployment operations that have been
performed on this domain.
|
LibDeploymentRuntimeMBean[] |
getLibDeploymentRuntimes() |
Provides access to the libraries that are deployed to the
domain.
|
int |
getMaximumDeploymentProgressObjectsCount() |
The maximum number of progress objects allowed.
|
AppDeploymentRuntimeMBean |
lookupAppDeploymentRuntime(java.lang.String appName) |
Finds the application deployment runtime MBean for an application.
|
AppDeploymentRuntimeMBean |
lookupAppDeploymentRuntime(java.lang.String appName,
java.util.Properties deploymentOptions) |
Finds the application deployment runtime MBean for an application based on the deploymentOptions parameter.
|
LibDeploymentRuntimeMBean |
lookupLibDeploymentRuntime(java.lang.String libName) |
Find the library deployment runtime MBean for a library.
|
void |
purgeCompletedDeploymentProgressObjects() |
Removes progress objects for completed operations.
|
DeploymentProgressObjectMBean |
redeploy(java.lang.String name,
java.lang.String applicationPath,
java.lang.String plan,
java.util.Properties deploymentOptions) |
Redeploy the application that is deployed to a resource group template
in the background for the targets specified
with the options specified.
|
DeploymentProgressObjectMBean |
redeploy(java.lang.String name,
java.lang.String plan,
java.util.Properties deploymentOptions) |
Redeploy the application that is deployed to a resource group template
in the background for the targets specified
with the options specified.
|
void |
removeDeploymentProgressObject(java.lang.String appName) |
Removes a progress object.
|
void |
setMaximumDeploymentProgressObjectsCount(int maxCount) |
Sets the maximum number of progress objects allowed.
|
DeploymentProgressObjectMBean |
undeploy(java.lang.String name,
java.lang.String template) |
Undeploy the application that is deployed to a resource group
template using the default options.
|
DeploymentProgressObjectMBean |
undeploy(java.lang.String name,
java.util.Properties deploymentOptions) |
Undeploy the application that is deployed to a resource group template in the background
with the options specified.
|
DeploymentProgressObjectMBean |
update(java.lang.String name,
java.lang.String plan,
java.util.Properties deploymentOptions) |
Allows for updating an application configuration using an changed
deployment plan for applications deployed to a resource group template.
|
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, removePropertyChangeListener
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
static final java.lang.String APPDEPLOYMENT_CREATED
static final java.lang.String APPDEPLOYMENT_DELETED
static final java.lang.String APPDEPLOYMENT_NEW
static final java.lang.String APPDEPLOYMENT_PREPARED
static final java.lang.String APPDEPLOYMENT_ADMIN
static final java.lang.String APPDEPLOYMENT_ACTIVE
static final java.lang.String APPDEPLOYMENT_RETIRED
static final java.lang.String APPDEPLOYMENT_FAILED
static final java.lang.String APPDEPLOYMENT_UPDATE_PENDING
static final java.lang.String APPDEPLOYMENT_UNKNOWN
static final java.lang.String LIBDEPLOYMENT_CREATED
static final java.lang.String LIBDEPLOYMENT_DELETED
static final java.lang.String ADMIN_MODE
static final java.lang.String ALT_DD
static final java.lang.String ALT_WLS_DD
static final java.lang.String APP_VERSION
static final java.lang.String CREATE_PLAN
static final java.lang.String CLUSTER_DEPLOYMENT_TIMEOUT
static final java.lang.String DEFAULT_SUBMODULE_TARGETS
static final java.lang.String DEPLOYMENT_PRINCIPAL_NAME
static final java.lang.String DEPLOYMENT_ORDER
static final java.lang.String FORCE_UNDEPLOYMENT_TIMEOUT
static final java.lang.String GRACEFUL_IGNORE_SESSIONS
static final java.lang.String GRACEFUL_PRODUCTION_TO_ADMIN
static final java.lang.String NO_VERSION
static final java.lang.String PLAN_VERSION
static final java.lang.String LIB_SPEC_VERSION
static final java.lang.String LIB_IMPL_VERSION
static final java.lang.String LIBRARY
static final java.lang.String RETIRE_GRACEFULLY
static final java.lang.String RETIRE_TIMEOUT
static final java.lang.String RMI_GRACE_PERIOD
static final java.lang.String SECURITY_MODEL
static final java.lang.String SECURITY_VALIDATION_ENABLED
static final java.lang.String STAGE_MODE
static final java.lang.String SUB_MODULE_TARGETS
static final java.lang.String TASK_ID
static final java.lang.String TIMEOUT
static final java.lang.String USE_NONEXCLUSIVE_LOCK
static final java.lang.String VERSION_IDENTIFIER
static final java.lang.String STATIC_DEPLOYMENT
static final java.lang.String CACHE_IN_APP_DIRECTORY
static final java.lang.String SPECIFIED_TARGETS_ONLY
static final java.lang.String PARTITION
static final java.lang.String EDIT_SESSION
static final java.lang.String RESOURCE_GROUP
static final java.lang.String RESOURCE_GROUP_TEMPLATE
static final java.lang.String REMOVE_PLAN_OVERRIDE
static final java.lang.String START_TASK
DeploymentProgressObjectMBean deploy(java.lang.String name, java.lang.String applicationPath, java.lang.String plan) throws java.lang.RuntimeException
A convenience method for distributing and starting an application.
The application source files and deployment plan are distributed to the deployment targets using the default options. This is a synchronous operation that returns when the deploy operation has completed. If distribution is successful, the application is then started on each of the targets. Successful deployment requires that all targets receive both the archive and deployment plan.
The default options are
If any modules are currently running, this method immediately restarts those modules using the newer files. Restarting modules in this manner is not the same as redeployment, because session state is not preserved for the active modules.
name
- The name of the applicationapplicationPath
- A supported Java EE application or module archive,
or a root directory for the application or module.plan
- The deployment plan for this application. May be null.java.lang.RuntimeException
DeploymentProgressObjectMBean deploy(java.lang.String name, java.lang.String applicationPath, java.lang.String[] targets, java.lang.String plan, java.util.Properties deploymentOptions) throws java.lang.RuntimeException
A convenience method for distributing and starting an application. The application source files and deployment plan are distributed to the deployment targets using the options specified. This is an asynchronous operation that returns immediately. If distribution is successful, the application is then started on each of the targets. Successful deployment requires that all targets receive both the archive and deployment plan.
If any modules are currently running, this method immediately restarts those modules using the newer files. Restarting modules in this manner is not the same as redeployment, because session state is not preserved for the active modules.
name
- The name of the applicationapplicationPath
- A supported Java EE application or module archive,
or a root directory for the application or module.targets
- The targets on which to deploy the
application. This would be server names,
cluster names, or module names in a similar format to
weblogic.Deployer (i.e. module1@server1). If null, the application
will be redeployed on all configured targets.plan
- The deployment plan for this application. May be null.deploymentOptions
- Allows for overriding the deployment options.
If null, default options will be used.
The values should all be of type
The keys, units and default values for options are
clusterDeploymentTimeout milliseconds 3600000,
gracefulIgnoreSessions boolean false,
gracefulProductionToAdmin boolean false,
retireGracefully boolean true,
retireTimeout seconds -1 (no timeout),
adminMode boolean false,
timeout milliseconds 0 (no timeout)java.lang.RuntimeException
DeploymentProgressObjectMBean distribute(java.lang.String name, java.lang.String applicationPath, java.lang.String plan) throws java.lang.RuntimeException
Distribute an application.
The application source files and deployment plan are distributed to the deployment targets using the default options. This is a synchronous operation that returns when the distribute operation has completed.
The default options are:
name
- The name of the applicationapplicationPath
- A supported Java EE application or module archive,
or a root directory for the application or module.plan
- The deployment plan for this application. May be null.java.lang.RuntimeException
DeploymentProgressObjectMBean distribute(java.lang.String name, java.lang.String applicationPath, java.lang.String[] targets, java.lang.String plan, java.util.Properties deploymentOptions) throws java.lang.RuntimeException
Distribute an application. The application source files and deployment plan are distributed to the deployment targets using the options specified. This is an asynchronous operation that returns immediately.
name
- The name of the applicationapplicationPath
- A supported Java EE application or module archive,
or a root directory for the application or module.targets
- The targets on which to deploy the
application. This would be server names,
cluster names, or module names in a similar format to
weblogic.Deployer (i.e. module1@server1). If null, the application
will be distributed on all configured targets.plan
- The deployment plan for this application. May be null.deploymentOptions
- Allows for overriding the deployment options.
If null, default options will be used.
The values should all be of type
The keys, units and default values for options are
clusterDeploymentTimeout milliseconds 3600000,
gracefulIgnoreSessions boolean false,
gracefulProductionToAdmin boolean false,
retireGracefully boolean true,
retireTimeout seconds -1 (no timeout),
adminMode boolean false,
timeout milliseconds 0 (no timeout)java.lang.RuntimeException
DeploymentProgressObjectMBean appendToExtensionLoader(java.lang.String codeSourcePath) throws java.lang.RuntimeException
Appends a code source to the search path of the WebLogic Extension Loader, which is also referred to as the WebLogic Domain Loader. The code source file is distributed to all targets using default options. When the operation is complete, classes and resources in the jar file will be visible for class loading at the extension loader. Since the jar is now in place on targeted servers, the classes and resources will continue to be available even after a targeted server restarts. This is an asynchronous operation that returns immediately.
codeSourcePath
- A jar file to add to the extension loaderjava.lang.RuntimeException
DeploymentProgressObjectMBean appendToExtensionLoader(java.lang.String codeSourcePath, java.lang.String[] targets, java.util.Properties deploymentOptions) throws java.lang.RuntimeException
Appends a code source to the search path of the WebLogic Extension Loader, which is also referred to as the WebLogic Domain Loader. The code source file is distributed to the targets using the options specified. When the operation is complete, classes and resources in the jar file will be visible for class loading at the extension loader. Since the jar is now in place on targeted servers, the classes and resources will continue to be available even after a targeted server restarts. This is an asynchronous operation that returns immediately.
codeSourcePath
- A jar file to add to the extension loadertargets
- The targets on which to distribute the
code source. This would be server names or
cluster names. If null, the code source
will be distributed on all configured targets.deploymentOptions
- Allows for overriding the deployment options.
If null, default options will be used.
The values should all be of type
The keys, units and default values for options are
clusterDeploymentTimeout milliseconds 3600000,
retireTimeout seconds -1 (no timeout),
timeout milliseconds 0 (no timeout)java.lang.RuntimeException
DeploymentProgressObjectMBean undeploy(java.lang.String name, java.lang.String template) throws java.lang.RuntimeException
Undeploy the application that is deployed to a resource group template using the default options. This is a synchronous operation that returns when the undeploy operation has completed. The default options are clusterDeploymentTimeout: 3600000 milliseconds, gracefulIgnoreSessions: false, gracefulProductionToAdmin: false, retireGracefully: true, retireTimeout: no timeout, adminMode: false, timeout: no timeout
name
- The application nametemplate
- The resource group templateDeploymentProgressObjectMBean
An object that provides the
state of the undeploy operation.RuntimeExceptionm
- if the operation cannot be started
All other errors are reported via the returned
DeploymentProgressObjectMBean.java.lang.RuntimeException
DeploymentProgressObjectMBean undeploy(java.lang.String name, java.util.Properties deploymentOptions) throws java.lang.RuntimeException
Undeploy the application that is deployed to a resource group template in the background
with the options specified. This is an asynchronous operation that
returns immediately. The returned DeploymentProgressObjectMBean
can be used to determine when the operation is completed.
Note that this API is only for undeploying applications that are deployed to a resource group template, and a resourceGroupTemplate property value must be provided in deploymentOptions. AppDeploymentRuntimeMBean should be used for undeploying applications that are not deployed to a resource group template.
name
- The application namedeploymentOptions
- Allows for overriding the deployment options.
The keys, units and default values for options are
clusterDeploymentTimeout milliseconds 3600000,
gracefulIgnoreSessions boolean false,
gracefulProductionToAdmin boolean false,
retireGracefully boolean true,
retireTimeout seconds -1 (no timeout),
adminMode boolean false,
timeout milliseconds 0 (no timeout)
resourceGroupTemplate this value is requiredjava.lang.RuntimeException
- if the operation cannot be started
All other errors are reported via the returned
DeploymentProgressObjectMBean.DeploymentProgressObjectMBean redeploy(java.lang.String name, java.lang.String plan, java.util.Properties deploymentOptions) throws java.lang.RuntimeException
Redeploy the application that is deployed to a resource group template
in the background for the targets specified
with the options specified. This is an asynchronous operation that
returns immediately. The returned DeploymentProgressObjectMBean
can be used to determine when the operation is completed.
Note that this API is only for redeploying applications or libraries that are deployed to a resource group template, and a resourceGroupTemplate property value must be provided in deploymentOptions. AppDeploymentRuntimeMBean should be used for redeploying applications that are not deployed to a resource group template, and LibDeploymentRuntimeMBean should be used for redeploying libraries that are not deployed to a resource group template.
name
- The application nameplan
- The deployment plan for this application. May be null.deploymentOptions
- Allows for overriding the deployment options.
The keys, units and default values for options are
clusterDeploymentTimeout milliseconds 3600000,
gracefulIgnoreSessions boolean false,
gracefulProductionToAdmin boolean false,
retireGracefully boolean true,
retireTimeout seconds -1 (no timeout),
adminMode boolean false,
timeout milliseconds 0 (no timeout)
resourceGroupTemplate this value is requiredjava.lang.RuntimeException
- if the operation cannot be started
All other errors are reported via the returned
DeploymentProgressObjectMBean.DeploymentProgressObjectMBean redeploy(java.lang.String name, java.lang.String applicationPath, java.lang.String plan, java.util.Properties deploymentOptions) throws java.lang.RuntimeException
Redeploy the application that is deployed to a resource group template
in the background for the targets specified
with the options specified. This is an asynchronous operation that
returns immediately. The returned DeploymentProgressObjectMBean
can be used to determine when the operation is completed.
Note that this API is only for redeploying applications or libraries that are deployed to a resource group template, and a resourceGroupTemplate property value must be provided in deploymentOptions. AppDeploymentRuntimeMBean should be used for redeploying applications that are not deployed to a resource group template, and LibDeploymentRuntimeMBean should be used for redeploying libraries that are not deployed to a resource group template.
name
- The application nameapplicationPath
- A supported Java EE application or module archive,
or a root diectory for the application or module. May be null.plan
- The deployment plan for this application. May be null.deploymentOptions
- Allows for overriding the deployment options.
The keys, units and default values for options are
clusterDeploymentTimeout milliseconds 3600000,
gracefulIgnoreSessions boolean false,
gracefulProductionToAdmin boolean false,
retireGracefully boolean true,
retireTimeout seconds -1 (no timeout),
adminMode boolean false,
timeout milliseconds 0 (no timeout)
resourceGroupTemplate this value is requiredjava.lang.RuntimeException
- if the operation cannot be started
All other errors are reported via the returned
DeploymentProgressObjectMBean.DeploymentProgressObjectMBean update(java.lang.String name, java.lang.String plan, java.util.Properties deploymentOptions) throws java.lang.RuntimeException
Allows for updating an application configuration using an changed deployment plan for applications deployed to a resource group template.
A configuration update is equivalent to replacing the application's deployment plan. The deployment plan is redeployed in-place. A new version of the application is not started, even if the new deployment plan has a different version.
The update succeeds only if changes to the deployment plan do not
require the application to be restarted. Configuration changes in
the new deployment plan must be limited to
tuning the application. Changes to resource bindings causes
the update to fail. Use redeploy(String, String, Properties)
to apply resource binding changes to a production application.
This method targets only root modules. Module level targeting is not supported.
Note that this API is only for updating applications that are deployed to a resource group template, and a resourceGroupTemplate property value must be provided in deploymentOptions. AppDeploymentRuntimeMBean should be used for updating applications that are not deployed to a resource group template.
name
- The application nameplan
- The deployment plan for this application. May be null.deploymentOptions
- Allows for overriding the deployment options.
The keys, units and default values for options are
clusterDeploymentTimeout milliseconds 3600000,
gracefulIgnoreSessions boolean false,
gracefulProductionToAdmin boolean false,
retireGracefully boolean true,
retireTimeout seconds -1 (no timeout),
adminMode boolean false,
timeout milliseconds 0 (no timeout)
resourceGroupTemplate this value is requiredjava.lang.RuntimeException
- if the operation cannot be started
All other errors are reported via the returned
DeploymentProgressObjectMBean.AppDeploymentRuntimeMBean[] getAppDeploymentRuntimes()
Provides access to the applications that are deployed in the domain.
AppDeploymentRuntimeMBean lookupAppDeploymentRuntime(java.lang.String appName)
Finds the application deployment runtime MBean for an application.
appName
- The name of the applicationAppDeploymentRuntimeMBean lookupAppDeploymentRuntime(java.lang.String appName, java.util.Properties deploymentOptions)
Finds the application deployment runtime MBean for an application based on the deploymentOptions parameter.
appName
- The name of the applicationdeploymentOptions
- Used to specify a partition.LibDeploymentRuntimeMBean[] getLibDeploymentRuntimes()
LibDeploymentRuntimeMBean lookupLibDeploymentRuntime(java.lang.String libName)
libName
- The name of the libraryDeploymentProgressObjectMBean[] getDeploymentProgressObjects()
Provides access to the deployment operations that have been performed on this domain.
void setMaximumDeploymentProgressObjectsCount(int maxCount)
Sets the maximum number of progress objects allowed.
maxCount
- The maximum number of progress objects allowedint getMaximumDeploymentProgressObjectsCount()
The maximum number of progress objects allowed.
void purgeCompletedDeploymentProgressObjects()
Removes progress objects for completed operations.
void removeDeploymentProgressObject(java.lang.String appName)
Removes a progress object.
appName
- The name of the application that the progress object is forjava.lang.String confirmApplicationName(java.lang.Boolean isRedeployment, java.lang.String appSource, java.lang.String altAppDescriptor, java.lang.String tentativeName, java.lang.String tentativeApplicationId) throws java.lang.RuntimeException
isRedeployment
- should be true in the case where this function
is called for a redeployment.appSource
- is a the path to the application.optional
- alternate application descriptor pathtentativeName
- The name proposed for the application
(provided by the user, or through the manifest).
Null if no name was specified by the user or through the manifest.tentativeApplicationId
- The tentative application ID. May only be null if the
application is not versioned. If tentativeName is null and
the application is versioned, this should be just the version
string (which includes both the implementation and
specification versions).java.lang.RuntimeException
java.lang.String confirmApplicationName(java.lang.Boolean isRedeployment, java.lang.String appSource, java.lang.String altAppDescriptor, java.lang.String tentativeName, java.lang.String tentativeApplicationId, java.util.Properties deploymentOptions) throws java.lang.RuntimeException
isRedeployment
- should be true in the case where this function
is called for a redeployment.appSource
- is a the path to the application.optional
- alternate app descriptor.tentativeName
- The name proposed for the application
(provided by the user, or through the manifest).
Null if no name was specified by the user or through the manifest.tentativeApplicationId
- The tentative application ID. May only be null if the
application is not versioned. If tentativeName is null and
the application is versioned, this should be just the version
string (which includes both the implementation and
specification versions).deploymentOptions
- deployment optionsjava.lang.RuntimeException