com.opensymphony.xwork2.config
Interface ConfigurationProvider

All Known Implementing Classes:
BeanSelectionProvider, ClasspathConfigurationProvider, DefaultPropertiesProvider, LegacyPropertiesConfigurationProvider, MethodConfigurationProvider, StrutsXmlConfigurationProvider, XmlConfigurationProvider

public interface ConfigurationProvider

Interface to be implemented by all forms of XWork configuration classes.

Version:
$Revision: 1213 $
Author:
$Author: mrdon $

Method Summary
 void destroy()
           
 void init(Configuration configuration)
           
 void loadPackages()
           
 boolean needsReload()
          Tells whether the ConfigurationProvider should reload its configuration
 void register(ContainerBuilder builder, LocatableProperties props)
           
 

Method Detail

destroy

void destroy()

init

void init(Configuration configuration)
          throws ConfigurationException
Throws:
ConfigurationException

register

void register(ContainerBuilder builder,
              LocatableProperties props)
              throws ConfigurationException
Throws:
ConfigurationException

loadPackages

void loadPackages()
                  throws ConfigurationException
Throws:
ConfigurationException

needsReload

boolean needsReload()
Tells whether the ConfigurationProvider should reload its configuration

Returns:
true, whether the ConfigurationProvider should reload its configuration, falseotherwise.


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.