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 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 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. For more information, see Pause.
Refresh
Changes certain SAS Metadata Server invocation and configuration options on a running server. For more information, see Refresh.
Resume
Returns a paused SAS Metadata Server to an ONLINE state. For more information, see Resume.
Status
Polls the SAS Metadata Server for status, platform version, SAS Metadata Model version, server locale, server configuration information, and journaling statistics. For more information, see Status.
Stop
Shuts down the SAS Metadata Server. For more information, see Stop.