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.
|
protected void | dynamicLoadResourceContainer(java.util.List rcList, java.lang.String loadingDirectory)
Dynamic load resource containers from resource container manager file which has not been specified in the wc-resource-containers.xml in the wc-resource-containers.xml
|
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 | 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.
|
void | initialize()
This method initializes the managed resource container manager.
|
protected ResourceContainer[] | initialize(java.net.URL configuration)
This method initializes the managed resource container manager.
|
protected void | initializeDefaultConfiguration(org.w3c.dom.Node defaultConfigurationNode)
This method initializes the default configuration settings.
|
protected void | initializedQuickPublishConfiguration(org.w3c.dom.Node quickPublishConfigNode)
This method initializes the quick publish settings.
|
protected void | initializeResourceContainers(java.util.List resourceContainers, org.w3c.dom.Node resourceContainersNode)
This method initializes the resource containers.
|
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.
|
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
public ResourceContainer[] getResourceContainers()
public ResourceContainer getResourceContainer(java.lang.String resourceContainerName)
public void initialize() throws java.lang.Exception
protected ResourceContainer[] initialize(java.net.URL configuration) throws java.lang.Exception
protected void initializedQuickPublishConfiguration(org.w3c.dom.Node quickPublishConfigNode)
protected void initializeDefaultConfiguration(org.w3c.dom.Node defaultConfigurationNode) throws java.lang.Exception
protected void initializeResourceContainers(java.util.List resourceContainers, org.w3c.dom.Node resourceContainersNode) throws java.lang.Exception
public static ResourceContainerManager singleton()
public void rollback(ContentData contentData) throws ResourceException
public void commit(ContentData contentData) throws ResourceException
public void postCommit(ContentData contentData) throws ResourceException
public void synchronize(ContentData contentData) throws ResourceException
public void publish(ContentData contentData) throws ResourceException
public void postPublish(ContentData contentData) throws ResourceException
protected void dynamicLoadResourceContainer(java.util.List rcList, java.lang.String loadingDirectory) throws java.lang.Exception
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 getApproveUniqueIndexViolationAction()
public java.lang.String getCheckUniqueIndexViolationAction()
public java.lang.String getApproveForeignKeyViolationAction()
public ResourceManager getResourceManager(java.lang.String tableName)
public int getBatchSize()