com.opensymphony.xwork.interceptor.component
Class ComponentConfiguration
java.lang.Object
com.opensymphony.xwork.interceptor.component.ComponentConfiguration
- All Implemented Interfaces:
- java.io.Serializable
public class ComponentConfiguration
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision: 1071 $
- Author:
- joew@thoughtworks.com, plightbo
- See Also:
- Serialized Form
Method Summary |
void |
addComponentDefinition(java.lang.String className,
java.lang.String scope,
java.lang.String enablerClass)
|
void |
configure(ComponentManager componentManager,
java.lang.String scope)
Configure a newly instantiated component manager by initializing all of the required components for the
current configuration and setting up the component enablers. |
boolean |
hasComponents(java.lang.String scope)
|
void |
loadFromXml(java.io.InputStream is)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentConfiguration
public ComponentConfiguration()
addComponentDefinition
public void addComponentDefinition(java.lang.String className,
java.lang.String scope,
java.lang.String enablerClass)
configure
public void configure(ComponentManager componentManager,
java.lang.String scope)
- Configure a newly instantiated component manager by initializing all of the required components for the
current configuration and setting up the component enablers.
- Parameters:
componentManager
-
hasComponents
public boolean hasComponents(java.lang.String scope)
loadFromXml
public void loadFromXml(java.io.InputStream is)
throws java.io.IOException,
org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException