|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.chain.legacy.CatalogConfiguratorPlugIn
CatalogConfiguratorPlugIn parses the configuration
resource specified by the path or resource
property to configure the default Catalog registered with the
CatalogFactory for this application.
/WEB-INF/lib,
or a separate file under /WEB-INF/classes.
| Field Summary | |
private static org.apache.commons.logging.Log |
log
|
private java.lang.String |
path
|
private java.lang.String |
resource
|
| Constructor Summary | |
CatalogConfiguratorPlugIn()
|
|
| Method Summary | |
void |
destroy()
Clean up at web application shutdown. |
java.lang.String |
getPath()
Return the context-relative resource path to load from. |
java.lang.String |
getResource()
Return the classloader resource path to load from. |
void |
init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig config)
Parse the configuration documents specified by the path
or resource property to configure the default
Catalog that is registered in the CatalogFactory
instance for this application. |
void |
setPath(java.lang.String path)
Set the context-relative resource path to load from. |
void |
setResource(java.lang.String resource)
Set the classloader resource path to load from. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static org.apache.commons.logging.Log log
private java.lang.String path
private java.lang.String resource
| Constructor Detail |
public CatalogConfiguratorPlugIn()
| Method Detail |
public java.lang.String getPath()
Return the context-relative resource path to load from.
public void setPath(java.lang.String path)
Set the context-relative resource path to load from.
path - The new context relative resource pathpublic java.lang.String getResource()
Return the classloader resource path to load from.
public void setResource(java.lang.String resource)
Set the classloader resource path to load from.
resource - The new classloader resource pathpublic void destroy()
Clean up at web application shutdown.
destroy in interface org.apache.struts.action.PlugIn
public void init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig config)
throws javax.servlet.ServletException
Parse the configuration documents specified by the path
or resource property to configure the default
Catalog that is registered in the CatalogFactory
instance for this application.
init in interface org.apache.struts.action.PlugInjavax.servlet.ServletException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||