Previous Page | Next Page

Server Control (IServer Interface)

Using the IServer Server Interface


Calling the Server Interface

The IServer server interface is called by connecting to the SAS Metadata Server and obtaining a handle to the IServer interface.

A SAS Java Metadata Interface client accesses the IServer interface by importing the appropriate packages, instantiating an object factory, and connecting to the SAS Metadata Server with a handle to the interface that is appropriate for the task that it wants to perform.

The IServer interface is provided in the sas.oma.omi.jar file in the SAS 9.2 Platform VJR. A Java client accesses the IServer interface by importing the appropriate com.sas.meta.SASOMI packages. Import com.sas.meta.SASOMI.IServer and com.sas.metadata.remote into your client.

The SAS 9.2 Java Metadata Interface provides the MdFactory interface to instantiate an object factory for the SAS Metadata Server and the MdOMRConnection interface for connecting to the SAS Metadata Server. Use the MdOMRConnection interface's makeIServerConnection method to connect to the server with the IServer interface.


Understanding the IServer Server Interface

The IServer interface includes the following server control methods:

Pause

Temporarily limits the availability of the SAS Metadata Server.

Refresh

Changes certain SAS Metadata Server invocation and configuration options on a running server.

Resume

Returns a paused SAS Metadata Server to an ONLINE state.

Status

Polls the SAS Metadata Server for status, platform version, SAS Metadata Model version, server locale, server configuration information, and journaling statistics.

Stop

Shuts down the SAS Metadata Server.

Previous Page | Next Page | Top of Page