The VisiBroker Server Manager allows client applications to monitor and manage object servers, view and set properties at runtime for those servers, and view and invoke methods on Server Manager objects. The Server Manager uses elements known as containers which represent each major ORB component. A container can contain properties, operations, and even other containers.
NamedContainer
get_container(String name) throws
com.inprise.vbroker.ServerManager.ContainerPackage.
NameInvalid;Returns the child container identified by the name parameter. If there is not any child container with this name, a NameInvalid exception is raised.public void add_container(
com.inprise.vbroker.ServerManager.ContainerPackage.
NamedContainer
container) throws com.inprise.vbroker.ServerManager.ContainerPackage.
NameAlreadyPresent,
com.inprise.vbroker.ServerManager.ContainerPackage.
ValueInvalid;public void set_container(String name, com.inprise.vbroker.ServerManager.Container value) throws
com.inprise.vbroker.ServerManager.ContainerPackage.
NameInvalid,
com.inprise.vbroker.ServerManager.ContainerPackage.
ValueInvalid,
com.inprise.vbroker.ServerManager.ContainerPackage.
ValueNotSettable;Sets the storage of this container. If recurse=true, it also sets the storage for all its children as well.The Server Manager provides an abstract notion of storage that can be implemented in any fashion. Individual containers may choose to store their properties in databases, flat files, or some other means. The storage implementation included with the VisiBroker ORB uses a flat-file-based approach.Closes the storage. This method also updates the storage with any properties that have been changed since the last Container::persist_properties call. In database implementations, this method closes the database connection.public com.inprise.vbroker.ServerManager.ContainerPackage.
Property
read_property(String propertyName) throws com.inprise.vbroker.ServerManager.ContainerPackage.
NameInvalid,
com.inprise.vbroker.ServerManager.StorageException;Returns the property value for propertyName read from the storage.