|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.novanic.eventservice.config.loader.WebDescriptorConfigurationLoader
public class WebDescriptorConfigurationLoader
WebDescriptorConfigurationLoader is used by EventServiceConfigurationFactory
to load the EventServiceConfiguration with the servlet parameters / init-parameters
of the web-descriptor.
| Constructor Summary | |
|---|---|
WebDescriptorConfigurationLoader(javax.servlet.ServletConfig aServletConfig)
|
|
| Method Summary | |
|---|---|
boolean |
isAvailable()
Checks if the configuration is available and can be loaded. |
EventServiceConfiguration |
load()
Loads the configuration with the WebDescriptorConfigurationLoader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebDescriptorConfigurationLoader(javax.servlet.ServletConfig aServletConfig)
| Method Detail |
|---|
public boolean isAvailable()
ConfigurationLoader.load() shouldn't called. In the case of WebDescriptorConfigurationLoader the method
returns true when the init-parameters for the servlet are registered in the web-descriptor.
isAvailable in interface ConfigurationLoaderpublic EventServiceConfiguration load()
WebDescriptorConfigurationLoader.
load in interface ConfigurationLoaderEventServiceConfiguration the loaded configuration
ConfigurationException - occurs when the configuration can't be loaded or if it contains unreadable values.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||