public class ResourceContainerManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RESOURCE_CONTAINER_CONFIG_FILE
The
XML configuration file that contains the list of resource containers. |
Modifier and Type | Method and Description |
---|---|
void |
commit(ContentData contentData)
This method promotes the workspace specified in the given content data.
|
java.lang.String |
getApproveForeignKeyViolationAction()
This method returns whether or not the resource managers within this container should merge
the foreign key violations.
|
java.lang.String |
getApproveJvmName()
Returns the Approve JVM name.
|
java.lang.String |
getApproveUniqueIndexViolationAction()
This method returns whether or not the resource managers within this container should merge
the unique index violations.
|
int |
getBatchSize()
Trivial accessor for JDBC batch-size specification in QuickPublish
|
java.lang.String |
getCheckUniqueIndexViolationAction()
This method returns whether or not the resource managers within this container should merge
the unique index violations.
|
java.lang.Boolean |
getForceEARUpdate()
Returns whether or not the EAR will be updated during quick publish.
|
java.lang.Integer |
getPostPublishSize()
This method returns Quick Publish setting for the post publish size in the Staging database.
|
java.lang.String |
getQuickPublishJvmName()
Returns the Quick Publish JVM name.
|
java.lang.Integer |
getQuickPublishUpdateStaglogStmtNum()
This method returns Quick Publish setting for the SQL statement number to update the Staglog table in the Staging database.
|
ResourceContainer |
getResourceContainer(java.lang.String resourceContainerName)
This method returns the resource container matching the specified resource container name.
|
ResourceContainer[] |
getResourceContainers()
This method returns the resource containers that are managed by the container manager.
|
ResourceManager |
getResourceManager(java.lang.String tableName)
This method returns the resource manager matching the specified table name / resource manager name.
|
java.lang.String |
getSchedulerApplicationType()
Returns the application type for scheduler workload.
|
void |
initialize()
This method initializes the managed resource container manager.
|
boolean |
isApproveJvmNameDefined()
Returns whether Approve JVM name from default configuration is defined or not.
|
java.lang.Boolean |
isPostPublish()
This method returns Quick Publish setting for post publish in the Staging database.
|
boolean |
isQuickPublishJvmNameDefined()
Returns whether Quick Publish JVM name is defined or not.
|
boolean |
isSchedulerApplicationTypeDefined()
Returns whether application type from default configuration is defined or not.
|
java.lang.Boolean |
isStaglogLowerCase()
This method returns Quick Publish setting for case sensitive Staglog records in the Staging database.
|
void |
postCommit(ContentData contentData)
This method composes post-commit and calls the command registered.
|
void |
postPublish(ContentData contentData)
This method composes post-publish data and propagates the data to a production server.
|
void |
publish(ContentData contentData)
This method publishes a task group.
|
void |
rollback(ContentData contentData)
This method rolls back the workspace specified in the given content data.
|
static ResourceContainerManager |
singleton()
This method returns the singleton instance of the container manager.
|
void |
synchronize(ContentData contentData)
This method synchronizes the workspace specified in the given content data.
|
public static final java.lang.String RESOURCE_CONTAINER_CONFIG_FILE
XML
configuration file that contains the list of resource containers.public ResourceContainer[] getResourceContainers()
public ResourceContainer getResourceContainer(java.lang.String resourceContainerName)
resourceContainerName
- The resource container name.public void initialize() throws java.lang.Exception
java.lang.Exception
- This is thrown when there is a problem initializing the container manager or any of the
containers that belong to it.public static ResourceContainerManager singleton()
public void rollback(ContentData contentData) throws ResourceException
contentData
- The content data.ResourceException
- This is thrown if there is any problem rolling back the workspace.public void commit(ContentData contentData) throws ResourceException
contentData
- The content data.ResourceException
- This is thrown if there is any problem promoting the workspace.public void postCommit(ContentData contentData) throws ResourceException
contentData
- The content data.ResourceException
- This is thrown if any problem occurs in the post-publish event processing.public void synchronize(ContentData contentData) throws ResourceException
contentData
- The content data.ResourceException
- This is thrown if there is any problem synchronizing the workspace.public void publish(ContentData contentData) throws ResourceException
contentData
- The content management content data.ResourceException
- This is thrown if there is any problem publishing the task group.public void postPublish(ContentData contentData) throws ResourceException
contentData
- The content data.ResourceException
- This is thrown if any problem occurs in the post-publish event processing.public java.lang.Boolean isStaglogLowerCase()
public java.lang.Integer getQuickPublishUpdateStaglogStmtNum()
public java.lang.Boolean isPostPublish()
public java.lang.Integer getPostPublishSize()
public java.lang.Boolean getForceEARUpdate()
public java.lang.String getQuickPublishJvmName()
public boolean isQuickPublishJvmNameDefined()
public java.lang.String getApproveJvmName()
public boolean isApproveJvmNameDefined()
public java.lang.String getSchedulerApplicationType()
public boolean isSchedulerApplicationTypeDefined()
public java.lang.String getApproveUniqueIndexViolationAction()
public java.lang.String getCheckUniqueIndexViolationAction()
public java.lang.String getApproveForeignKeyViolationAction()
public ResourceManager getResourceManager(java.lang.String tableName)
tableName
- The resource container name.public int getBatchSize()