public abstract class AbstractResourceContainerImpl extends java.lang.Object implements ResourceContainer, PostPublishDataProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String | RESOURCE_MANAGER_CONFIG_FILE
This is the name of the XML file that contains the resource managers defined for the container.
|
Modifier | Constructor and Description |
---|---|
protected | AbstractResourceContainerImpl()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
void | commit(ContentData contentData)
This method promotes the content managed resource found in the workspace to the base edition.
|
ResourceContainerMetaData | getMetaData()
This method returns the metadata associated with the container.
|
ResourceManager | getResourceManager(java.lang.String resourceName)
This method returns the resource manager for the specified resource.
|
java.util.Map | getResourceManagers()
This method returns the list of resource managers belonging to the container.
|
void | initialize()
This method initializes the resource container by loading the resource managers defined along with additional container request tasks.
|
protected void | initializeCommitRequest(org.w3c.dom.Node commitRequestNode)
This method initializes the commit request node.
|
protected void | initializeManagedResources(org.w3c.dom.Node managedResourcesNode)
This method initializes the managed resources.
|
protected void | initializeNode(org.w3c.dom.Node node)
This method provides an additional initialization call for nodes that are not recognized by this default implementation.
|
protected void | initializeOperationalResources(org.w3c.dom.Node operationalResourcesNode)
This method initializes the operational resources.
|
protected void | initializePublishRequest(org.w3c.dom.Node publishRequestNode)
This method initializes the publish request node.
|
protected CommitRequest | parseCommitRequestNode(org.w3c.dom.Node commitRequestNode)
This method parses the commit request node.
|
void | postPublish(ContentData contentData)
This method processes the post-publish event.
|
void | processPostPublishData(java.lang.String postPublishData)
This method processes post-publish data on production server.
|
void | publish(ContentData contentData, ContentPublisher publisher)
This method publishes a task group from the content management workspace.
|
void | rollback(ContentData contentData)
This method cancels the content managed resource found in the workspace to the base edition.
|
void | setMetaData(ResourceContainerMetaData resourceContainerMetaData)
This method sets the metadata associated with the container.
|
protected abstract void | setResourceContainer(ResourceContainer resourceContainer)
This method sets the configured resource container to the particular resource container instance.
|
void | synchronize(ContentData contentData)
This method synchronizes the specified workspace.
|
java.lang.String | toString()
This method returns a String representation of the object.
|
public static final java.lang.String RESOURCE_MANAGER_CONFIG_FILE
protected AbstractResourceContainerImpl()
public void setMetaData(ResourceContainerMetaData resourceContainerMetaData)
public ResourceContainerMetaData getMetaData()
public void commit(ContentData contentData) throws ResourceException
public void synchronize(ContentData contentData) throws ResourceException
public void publish(ContentData contentData, ContentPublisher publisher) throws ResourceException
public void postPublish(ContentData contentData) throws ResourceException
public void processPostPublishData(java.lang.String postPublishData) throws ECException
public void rollback(ContentData contentData) throws ResourceException
public java.lang.String toString()
public ResourceManager getResourceManager(java.lang.String resourceName)
public java.util.Map getResourceManagers()
protected abstract void setResourceContainer(ResourceContainer resourceContainer)
public void initialize() throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException, java.rmi.RemoteException, javax.ejb.CreateException, java.sql.SQLException, javax.naming.NamingException
protected void initializeManagedResources(org.w3c.dom.Node managedResourcesNode)
protected void initializeOperationalResources(org.w3c.dom.Node operationalResourcesNode)
protected void initializeCommitRequest(org.w3c.dom.Node commitRequestNode)
protected CommitRequest parseCommitRequestNode(org.w3c.dom.Node commitRequestNode)
protected void initializePublishRequest(org.w3c.dom.Node publishRequestNode)
protected void initializeNode(org.w3c.dom.Node node)