com.opensymphony.xwork.interceptor.component
Class ComponentConfiguration

java.lang.Object
  extended bycom.opensymphony.xwork.interceptor.component.ComponentConfiguration
All Implemented Interfaces:
Serializable

public class ComponentConfiguration
extends Object
implements Serializable

Version:
$Revision: 1071 $
Author:
joew@thoughtworks.com, plightbo
See Also:
Serialized Form

Constructor Summary
ComponentConfiguration()
           
 
Method Summary
 void addComponentDefinition(String className, String scope, String enablerClass)
           
 void configure(ComponentManager componentManager, 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(String scope)
           
 void loadFromXml(InputStream is)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentConfiguration

public ComponentConfiguration()
Method Detail

addComponentDefinition

public void addComponentDefinition(String className,
                                   String scope,
                                   String enablerClass)

configure

public void configure(ComponentManager componentManager,
                      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(String scope)

loadFromXml

public void loadFromXml(InputStream is)
                 throws IOException,
                        SAXException
Throws:
IOException
SAXException

XWork Project Page