Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.opensymphony.xwork2.config
Interface PackageProvider

All Known Subinterfaces:
  ConfigurationProvider

All Known Implementing Classes:
  StubConfigurationProvider, XmlConfigurationProvider, XWorkConfigurationProvider

    public interface PackageProvider

Provides configuration packages. The separate init and loadPackages calls are due to the need to preserve backwards compatibility with the 2.0 `ConfigurationProvider` interface

Since:
  2.1

Method Summary
`void` | `init(Configuration configuration)` Initializes with the configuration
`void` | `loadPackages()` Loads the packages for the configuration.
`boolean` | `needsReload()` Tells whether the PackageProvider should reload its configuration

Method Detail

### init

    void init(Configuration configuration)
              throws ConfigurationException

  Initializes with the configuration

  Parameters:
    `configuration` - The configuration
  Throws:
    `ConfigurationException` - If anything goes wrong

### needsReload

    boolean needsReload()

  Tells whether the PackageProvider should reload its configuration

  Returns:
    `true`, whether the PackageProvider should reload its configuration, `false`otherwise.

### loadPackages

    void loadPackages()
                      throws ConfigurationException

  Loads the packages for the configuration.

  Throws:
    `ConfigurationException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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