@Contract
public abstract class DeploymentManager
extends java.lang.Object
implements weblogic.application.DeploymentFinder
Modifier and Type | Class and Description |
---|---|
static interface |
DeploymentManager.DeploymentCreator
Use this class to create Deployment instances.
|
private static class |
DeploymentManager.DeploymentManagerInstance |
Constructor and Description |
---|
DeploymentManager() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addModuleListener(ModuleListener listener) |
abstract java.lang.String |
confirmApplicationName(boolean isRedeployment,
java.io.File appSourceFile,
java.io.File altDescriptor,
java.lang.String tentativeName,
java.lang.String tentativeApplicationId,
DomainMBean domain)
Used by the deployment subsystem to confirm an application name.
|
abstract java.lang.String |
confirmApplicationName(boolean isRedeployment,
java.io.File appSourceFile,
java.io.File altDescriptor,
java.lang.String tentativeName,
java.lang.String tentativeApplicationId,
DomainMBean domain,
java.lang.String rgt,
java.lang.String rg,
java.lang.String partition)
Used by the deployment subsystem to confirm an application name.
|
abstract weblogic.application.WorkDeployment |
findDeployment(BasicDeploymentMBean mbean)
Finds a previously created Deployment instance for this
BasicDeploymentMBean.
|
abstract java.util.Map |
getAllVersionsOfLibraries(java.util.List<java.lang.String> libaryids) |
abstract DeploymentManager.DeploymentCreator |
getDeploymentCreator(BasicDeploymentMBean mbean,
java.io.File path)
A deployment creator must first be obtained in order to get a Deployment.
|
static DeploymentManager |
getDeploymentManager()
Deprecated.
November 20, 2015 Use
LocatorUtilities.getService(Class) |
abstract java.util.Iterator |
getDeployments() |
abstract MBeanFactory |
getMBeanFactory() |
abstract java.util.Iterator |
getModuleListeners() |
abstract Deployment |
removeDeployment(BasicDeploymentMBean mbean)
Removes a previously created Deployment instance for this
BasicDeploymentMBean.
|
abstract Deployment |
removeDeployment(java.lang.String applicationId)
Removes a previously created Deployment instance for this
id.
|
abstract void |
removeModuleListener(ModuleListener listener) |
@Deprecated public static DeploymentManager getDeploymentManager()
LocatorUtilities.getService(Class)
public abstract java.lang.String confirmApplicationName(boolean isRedeployment, java.io.File appSourceFile, java.io.File altDescriptor, java.lang.String tentativeName, java.lang.String tentativeApplicationId, DomainMBean domain) throws DeploymentException
isRedeployment
- should be true in the case where this function is
called for a redeploymentappSourceFile
- is a File representing the applicationaltDescriptor
- is an optional alternate descriptortentativeName
- 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 manifesttentativeName
- 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)domain
- The DomainMBean instance from Configuration MBean ServerDeploymentException
public abstract java.lang.String confirmApplicationName(boolean isRedeployment, java.io.File appSourceFile, java.io.File altDescriptor, java.lang.String tentativeName, java.lang.String tentativeApplicationId, DomainMBean domain, java.lang.String rgt, java.lang.String rg, java.lang.String partition) throws DeploymentException
isRedeployment
- should be true in the case where this function is
called for a redeploymentappSourceFile
- is a File representing the applicationaltDescriptor
- is an optional alternate descriptortentativeName
- 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 manifesttentativeName
- 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)domain
- The DomainMBean instance from Configuration MBean Serverrgt
- The resource group template this deployment might be scoped torg
- The resource group this deployment might be scoped topartition
- The partition this deployment might be scoped toDeploymentException
public abstract DeploymentManager.DeploymentCreator getDeploymentCreator(BasicDeploymentMBean mbean, java.io.File path) throws DeploymentException
mbean
- The mbean for which a deployment is requested.path
- managed server's path to the application. The "real"
path is resolved in SlaveDeployer and depends on whether it's an
internal app, staging mode etc.DeploymentException
- If it wraps an ApplicationException, the operation was vetoed by
listeners. Otherwise it indicates that some other internal error occured.public abstract weblogic.application.WorkDeployment findDeployment(BasicDeploymentMBean mbean)
BasicDeploymentMBean
- a deployable mbeanpublic abstract Deployment removeDeployment(BasicDeploymentMBean mbean)
BasicDeploymentMBean
- a deployable mbeanpublic abstract Deployment removeDeployment(java.lang.String applicationId)
applicationId
- an Application idpublic abstract java.util.Iterator getDeployments()
public abstract java.util.Map getAllVersionsOfLibraries(java.util.List<java.lang.String> libaryids)
public abstract MBeanFactory getMBeanFactory()
public abstract void addModuleListener(ModuleListener listener)
public abstract void removeModuleListener(ModuleListener listener)
public abstract java.util.Iterator getModuleListeners()