public class BusinessObjectDocumentPlugInImpl
extends java.lang.Object
implements org.apache.struts.action.PlugIn
Constructor and Description |
---|
BusinessObjectDocumentPlugInImpl()
Creates an instance of the business object document struts plug-in.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
This method is defined by the interface but does not perform any operation.
|
void |
init(org.apache.struts.action.ActionServlet actionServlet,
org.apache.struts.config.ModuleConfig moduleConfig)
This method initialized the plug-in by parsing the common separated list of files
and call the utility to load the configuration.
|
void |
setAlternateApplicationErrorResourceBundle(java.lang.String configuration)
This method sets the extension common exceptions resource bundle base name.
|
void |
setConfig(java.lang.String configuration)
This method sets the configuration files to register that contains the URL to
Business Object Document transformation.
|
void |
setPrimaryApplicationErrorResourceBundle(java.lang.String configuration)
This method sets the base common exceptions resource bundle base name.
|
public BusinessObjectDocumentPlugInImpl()
public void setConfig(java.lang.String configuration)
configuration
- A list of files that defines the URL to Business Object Document transformation.public void setPrimaryApplicationErrorResourceBundle(java.lang.String configuration)
configuration
- The base common exceptions resource bundle base name.public void setAlternateApplicationErrorResourceBundle(java.lang.String configuration)
configuration
- The extension common exceptions resource bundle base name.public void destroy()
destroy
in interface org.apache.struts.action.PlugIn
PlugIn.destroy()
public void init(org.apache.struts.action.ActionServlet actionServlet, org.apache.struts.config.ModuleConfig moduleConfig) throws javax.servlet.ServletException
init
in interface org.apache.struts.action.PlugIn
actionServlet
- The associated action servlet.moduleConfig
- The module configuration.javax.servlet.ServletException
- A problem while parsing and loading the configuration files.PlugIn.init(org.apache.struts.action.ActionServlet, org.apache.struts.config.ModuleConfig)