public abstract class AbstractConfigService extends AbstractContexed implements ConfigService
ConfigService
that supports the recursive loading of properties from
a ResourceService
Additional property files can be included by adding a property of the form add_properties.name=resource-list<\i>. A property of the form nest_properties.name=resource-list<\i> will cause the included properties to be prefixed by name.
conn
Constructor and Description |
---|
AbstractConfigService(AppContext conn) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<ConfigService> |
getType()
Returns the type of service the class should be registered under.
|
protected java.util.Properties |
loadFile(java.util.Properties parent_props,
java.lang.String config_list,
boolean required) |
java.util.Properties |
processAdditions(java.util.Properties props,
ResourceService serv) |
getContext, getLogger, resetLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, clearServiceProperties, getServiceProperties, setProperty
getContext
cleanup
public AbstractConfigService(AppContext conn)
protected java.util.Properties loadFile(java.util.Properties parent_props, java.lang.String config_list, boolean required)
public java.util.Properties processAdditions(java.util.Properties props, ResourceService serv)
public final java.lang.Class<ConfigService> getType()
AppContextService
getType
in interface AppContextService<ConfigService>