|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.ldap.props.AbstractPropertyConfig
public abstract class AbstractPropertyConfig
AbstractPropertyConfig provides a base implementation of
PropertyConfig.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
logger
Log for this class. |
| Constructor Summary | |
|---|---|
AbstractPropertyConfig()
|
|
| Method Summary | |
|---|---|
void |
checkImmutable()
Verifies if this property config is immutable. |
protected void |
checkStringInput(String s,
boolean allowNull)
Verifies that a string is not null or empty. |
abstract String |
getPropertiesDomain()
This returns the properties domain for this property config. |
abstract boolean |
hasEnvironmentProperty(String name)
This returns whether the supplied property exists. |
void |
makeImmutable()
Make this property config immutable. |
void |
setEnvironmentProperties(Hashtable<String,String> properties)
See setEnvironmentProperties(String,String). |
void |
setEnvironmentProperties(Properties properties)
See PropertyConfig.setEnvironmentProperties(String,String). |
abstract void |
setEnvironmentProperties(String name,
String value)
This adds environment properties to this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public AbstractPropertyConfig()
| Method Detail |
|---|
public void makeImmutable()
public void checkImmutable()
IllegalStateException - if this property config is immutablepublic abstract String getPropertiesDomain()
getPropertiesDomain in interface PropertyConfigString properties domain
public abstract void setEnvironmentProperties(String name,
String value)
setEnvironmentProperties in interface PropertyConfigname - String property namevalue - String property valuepublic void setEnvironmentProperties(Properties properties)
PropertyConfig.setEnvironmentProperties(String,String).
setEnvironmentProperties in interface PropertyConfigproperties - Propertiespublic void setEnvironmentProperties(Hashtable<String,String> properties)
setEnvironmentProperties(String,String).
setEnvironmentProperties in interface PropertyConfigproperties - Hashtable of environment propertiespublic abstract boolean hasEnvironmentProperty(String name)
hasEnvironmentProperty in interface PropertyConfigname - String to check
boolean whether the supplied property exists
protected void checkStringInput(String s,
boolean allowNull)
s - to verifyallowNull - whether null strings are valid
IllegalArgumentException - if the string is null or empty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||