|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.AbstractConfig
public abstract class AbstractConfig
Provides common implementations for configuration objects.
| Field Summary | |
|---|---|
protected org.slf4j.Logger |
logger
Logger for this class. |
| Constructor Summary | |
|---|---|
AbstractConfig()
|
|
| Method Summary | |
|---|---|
void |
checkImmutable()
Verifies if this config is immutable. |
protected void |
checkStringInput(String s,
boolean allowNull)
Verifies that a string is not null or empty. |
void |
makeImmutable()
Make this config immutable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.slf4j.Logger logger
| Constructor Detail |
|---|
public AbstractConfig()
| Method Detail |
|---|
public void makeImmutable()
public void checkImmutable()
IllegalStateException - if this config is immutable
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 | |||||||||