|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.admin.DefaultBehaviorProvider<T>
T
- The type of values represented by this provider.public abstract class DefaultBehaviorProvider<T>
An interface for determining the default behavior of a property. A property exhibits default behavior when it has no values defined. There are four different types of default behavior:
UndefinedDefaultBehaviorProvider
implementation
DefinedDefaultBehaviorProvider
implementation
AliasDefaultBehaviorProvider
implementation
AbsoluteInheritedDefaultBehaviorProvider
and
RelativeInheritedDefaultBehaviorProvider
implementations.
DefaultBehaviorProviderVisitor
interface.
Constructor Summary | |
---|---|
protected |
DefaultBehaviorProvider()
Creates a new default behavior provider. |
Method Summary | ||
---|---|---|
abstract
|
accept(DefaultBehaviorProviderVisitor<T,R,P> v,
P p)
Apply a visitor to this default behavior provider. |
|
protected void |
initialize()
Performs any run-time initialization required by this default behavior provider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DefaultBehaviorProvider()
Method Detail |
---|
public abstract <R,P> R accept(DefaultBehaviorProviderVisitor<T,R,P> v, P p)
R
- The return type of the visitor's methods.P
- The type of the additional parameters to the visitor's
methods.v
- The default behavior visitor.p
- Optional additional visitor parameter.
protected void initialize() throws java.lang.Exception
The default implementation is to do nothing.
java.lang.Exception
- If this default behavior provider could not be
initialized.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |