|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.admin.servermgmt.Validator
public class Validator
Base class for all domain config validators. Validates the non-null ness of a domain config entry and its type.
| Constructor Summary | |
|---|---|
Validator(String name,
Class type)
Constructs new Validator object. |
|
| Method Summary | |
|---|---|
String |
getName()
Returns the name of the entry. |
void |
validate(Object obj)
Checks the validity of the given value for the entry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Validator(String name,
Class type)
name - Name of an entry that is used in case of validation errors.
If the name is null "" is used instead.type - | Method Detail |
|---|
public String getName()
public void validate(Object obj)
throws InvalidConfigException
obj -
InvalidConfigException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||