|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork2.test.StubConfigurationProvider
public class StubConfigurationProvider
Constructor Summary | |
---|---|
StubConfigurationProvider()
|
Method Summary | |
---|---|
void |
destroy()
Called before removed from the configuration manager |
void |
init(Configuration configuration)
Initializes with the configuration |
void |
loadPackages()
Loads the packages for the configuration. |
boolean |
needsReload()
Tells whether the ContainerProvider should reload its configuration |
void |
register(ContainerBuilder builder,
LocatableProperties props)
Registers beans and properties for the Container |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StubConfigurationProvider()
Method Detail |
---|
public void destroy()
ContainerProvider
destroy
in interface ContainerProvider
public void init(Configuration configuration) throws ConfigurationException
ContainerProvider
init
in interface ContainerProvider
init
in interface PackageProvider
configuration
- The configuration
ConfigurationException
- If anything goes wrongpublic void loadPackages() throws ConfigurationException
PackageProvider
loadPackages
in interface PackageProvider
ConfigurationException
public boolean needsReload()
ContainerProvider
needsReload
in interface ContainerProvider
needsReload
in interface PackageProvider
public void register(ContainerBuilder builder, LocatableProperties props) throws ConfigurationException
ContainerProvider
register
in interface ContainerProvider
builder
- The builder to register beans withprops
- The properties to register constants with
ConfigurationException
- If anything goes wrong
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |