|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.admin.server.ServerManagementContext
public final class ServerManagementContext
Server management connection context.
| Method Summary | ||
|---|---|---|
static ServerManagementContext |
getInstance()
Get the single server-side management context. |
|
|
getManagedObject(ManagedObjectPath<C,S> path)
Gets the named managed object. |
|
|
getPropertyValue(ManagedObjectPath<C,S> path,
PropertyDefinition<PD> pd)
Gets the effective value of a property in the named managed object. |
|
|
getPropertyValues(ManagedObjectPath<C,S> path,
PropertyDefinition<PD> pd)
Gets the effective values of a property in the named managed object. |
|
RootCfg |
getRootConfiguration()
Get the root configuration manager associated with this management context. |
|
ServerManagedObject<RootCfg> |
getRootConfigurationManagedObject()
Get the root configuration server managed object associated with this management context. |
|
|
listManagedObjects(ManagedObjectPath<?,?> parent,
InstantiableRelationDefinition<C,S> rd)
Lists the child managed objects of the named parent managed object. |
|
boolean |
managedObjectExists(ManagedObjectPath<?,?> path)
Determines whether or not the named managed object exists. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ServerManagementContext getInstance()
public <C extends ConfigurationClient,S extends Configuration> ServerManagedObject<? extends S> getManagedObject(ManagedObjectPath<C,S> path)
throws ConfigException
C - The type of client managed object configuration that the
path definition refers to.S - The type of server managed object configuration that the
path definition refers to.path - The path of the managed object.
ConfigException - If the named managed object could not be found or if it
could not be decoded.
public <C extends ConfigurationClient,S extends Configuration,PD> PD getPropertyValue(ManagedObjectPath<C,S> path,
PropertyDefinition<PD> pd)
throws java.lang.IllegalArgumentException,
ConfigException,
PropertyException
C - The type of client managed object configuration that the
path definition refers to.S - The type of server managed object configuration that the
path definition refers to.PD - The type of the property to be retrieved.path - The path of the managed object containing the property.pd - The property to be retrieved.
null if there are no values defined.
java.lang.IllegalArgumentException - If the property definition is not associated with the
referenced managed object's definition.
PropertyException - If the managed object was found but the requested
property could not be decoded.
ConfigException - If the named managed object could not be found or if it
could not be decoded.
public <C extends ConfigurationClient,S extends Configuration,PD> java.util.SortedSet<PD> getPropertyValues(ManagedObjectPath<C,S> path,
PropertyDefinition<PD> pd)
throws java.lang.IllegalArgumentException,
ConfigException,
PropertyException
C - The type of client managed object configuration that the
path definition refers to.S - The type of server managed object configuration that the
path definition refers to.PD - The type of the property to be retrieved.path - The path of the managed object containing the property.pd - The property to be retrieved.
java.lang.IllegalArgumentException - If the property definition is not associated with the
referenced managed object's definition.
PropertyException - If the managed object was found but the requested
property could not be decoded.
ConfigException - If the named managed object could not be found or if it
could not be decoded.public RootCfg getRootConfiguration()
public ServerManagedObject<RootCfg> getRootConfigurationManagedObject()
public <C extends ConfigurationClient,S extends Configuration> java.lang.String[] listManagedObjects(ManagedObjectPath<?,?> parent,
InstantiableRelationDefinition<C,S> rd)
throws java.lang.IllegalArgumentException
C - The type of client managed object configuration that the
relation definition refers to.S - The type of server managed object configuration that the
relation definition refers to.parent - The path of the parent managed object.rd - The instantiable relation definition.
java.lang.IllegalArgumentException - If the relation definition is not associated with the
parent managed object's definition.public boolean managedObjectExists(ManagedObjectPath<?,?> path)
path - The path of the named managed object.
true if the named managed object
exists, false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||