|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.admin.Constraint
public abstract class Constraint
An interface for enforcing constraints and dependencies between managed objects and their properties. Constraints express relationships between managed objects and their properties, for example:
true, one or more additional properties must be
specified. This is useful for features like SSL, which when
enabled, requires that various SSL related configuration options
are specified
| Constructor Summary | |
|---|---|
protected |
Constraint()
Creates a new constraint. |
| Method Summary | |
|---|---|
java.util.Collection<ClientConstraintHandler> |
getClientConstraintHandlers()
Gets the client-side constraint handlers which will be used to enforce this constraint in client applications. |
java.util.Collection<ServerConstraintHandler> |
getServerConstraintHandlers()
Gets the server-side constraint handlers which will be used to enforce this constraint within the server. |
protected void |
initialize()
Initializes this constraint. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Constraint()
| Method Detail |
|---|
public java.util.Collection<ClientConstraintHandler> getClientConstraintHandlers()
null
but maybe empty (indicating that the constraint can only
be enforced on the server-side).public java.util.Collection<ServerConstraintHandler> getServerConstraintHandlers()
null and
must not be empty, since constraints must always be
enforced on the server.
protected void initialize()
throws java.lang.Exception
java.lang.Exception - If this constraint could not be initialized.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||