|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MdOMRConnection
Used to manage connections the the SAS/Open Metadata Repository.
MdOMRConnection is used to make connections to servers and to hold the IOMI handle for I/O operations in the metadata classes. The MdOMRConnection instance is created when the factory is first initialized.
Field Summary | |
---|---|
static java.lang.String |
HOST_KEY
Static string for the hostname key stored in the credential map |
static java.lang.String |
PASSWORD_KEY
Static string for the password key stored in the credential map |
static java.lang.String |
PORT_KEY
Static string for the port key stored in the credential map |
static java.lang.String |
SECURITY_PACKAGE_LIST_KEY
Static string for the security package list stored in the credential map |
static int |
SERVER_STATUS_ERROR
The metadata server connection is broken |
static int |
SERVER_STATUS_OK
The metadata server is working properly |
static int |
SERVER_STATUS_PAUSED
The metadata server is paused |
static java.lang.String |
SPN_KEY
Static string for the SPN stored in the credential map |
static java.lang.String |
USERNAME_KEY
Static string for the username key stored in the credential map |
Method Summary | |
---|---|
void |
closeIMetadataTransportConnection(com.sas.meta.SASOMI.IMetadataTransport transportConnection)
This method does nothing. |
void |
closeIOMConnection(com.sas.iom.SAS.IWorkspace workspace)
This method does nothing. |
void |
closeIOMHandle()
Close our handle to the IOMI interface() |
void |
closeISecurityAdminConnection(com.sas.meta.SASOMI.ISecurityAdmin secAdminConnection)
This method does nothing. |
void |
closeISecurityConnection(com.sas.meta.SASOMI.ISecurity iSecurity)
This method does nothing. |
void |
closeIServerConnection(com.sas.meta.SASOMI.IServer iServer)
This method does nothing. |
void |
closeOMRConnection()
Immediately closes the connection to the SAS Metadata Server which has been set as the CMRHandle. |
void |
disconnectIMetadataTransportConnection(com.sas.meta.SASOMI.IMetadataTransport transportConnection)
Immediately disconnects a connection to a SAS Metadata Server. |
void |
disconnectIOMConnection(com.sas.iom.SAS.IWorkspace workspace)
Immediately disconnects a connection to a SAS Workspace Server. |
void |
disconnectISecurityAdminConnection(com.sas.meta.SASOMI.ISecurityAdmin secAdminConnection)
Immediately disconnects a connection to a SAS Metadata Server. |
void |
disconnectISecurityConnection(com.sas.meta.SASOMI.ISecurity iSecurity)
Immediately disconnects a connection to a SAS Metadata Server. |
void |
disconnectIServerConnection(com.sas.meta.SASOMI.IServer iServer)
Immediately disconnects a connection to a SAS Metadata Server. |
void |
disconnectOMRConnection(com.sas.meta.SASOMI.IOMI iOMI)
Immediately disconnects a connection to a SAS Metadata Server. |
com.sas.meta.SASOMI.IOMI |
getCMRHandle()
Returns the IOMI connection for this connection object. |
java.util.Properties |
getCMRProperties()
Gets certain properties of the CMR connection. |
MdOMRConnection |
getConnection()
Simple accessor for the singleton query engine object. |
com.sas.services.connection.ConnectionResources |
getConnectionResources()
Get resources to be used during connection to IOM servers. |
java.util.Map<java.lang.String,java.lang.String> |
getCredentialMap()
Returns the map of credentials for OMR connection, if map key size is 0, then there have been no successfull connections. |
java.lang.String |
getCurrentServerVerion()
Deprecated. Deprecated as of 9.2. Use getServerModelVersion() . |
Identity |
getIdentityOfUserConnected(MdStore store,
java.lang.String reposID)
Returns the Identity object for the user currently connected to the server. |
com.sas.iom.SAS.IWorkspace |
getIOMHandle()
Get the first available IOM workspace handle. |
com.sas.iom.SAS.IWorkspace |
getIOMHandle(int index)
Get the specified IOM workspace handle. |
java.util.logging.Level |
getMessageLevel()
Get the level logging is set to for connections |
java.lang.String |
getPauseComment()
Returns a user-defined comment set by the administrator when the server was initially paused. |
int |
getPlatformVersion()
Returns the current platform version number. |
int |
getPlatformVersion(com.sas.meta.SASOMI.IServer serverConn)
Returns the current platform version number. |
java.lang.String |
getServerModelVersion()
Gets the server's model version information as a string. |
java.lang.String |
getServerModelVersion(com.sas.meta.SASOMI.IServer serverConn)
Gets the server's model version information as a string. |
int |
getServerStatus()
Returns the status of the metadata server. |
int |
getServerStatus(com.sas.meta.SASOMI.IServer serverConn)
Returns the status of the metadata server. |
java.lang.String |
getServerVersion(com.sas.meta.SASOMI.IServer serverConn)
Deprecated. Deprecated as of 9.2. Use getServerModelVersion(IServer) . |
int |
getVersionCompatibility()
Return the compatibility of the server to the client. 1 server is greater than client, -1 client is greater than server, and 0 is a matching version between client and server. |
int |
getVersionCompatibility(com.sas.meta.SASOMI.IServer serverConn)
Return the compatibility of the server to the client. 1 server is greater than client, -1 client is greater than server, and 0 is a matching version between client and server. |
boolean |
isServerPaused()
Returns true if the server is currently paused, either in an offline or admin state. |
com.sas.meta.SASOMI.IMetadataTransport |
makeIMetadataTransportConnection(com.sas.meta.SASOMI.IOMI OMRConnection)
Narrows a connection to a SAS Metadata Server to the IMetadataTransport interface. |
com.sas.meta.SASOMI.IMetadataTransport |
makeIMetadataTransportConnection(java.lang.String Host,
java.lang.String Port,
java.lang.String Username,
java.lang.String Password)
Makes a connection to the specified SAS Metadata Server and narrows it to the IMetadataTransport interface. |
com.sas.meta.SASOMI.IMetadataTransport |
makeIMetadataTransportConnectionUsingSecurityPackage(java.lang.String Host,
java.lang.String Port,
java.lang.String SecurityPackageList,
java.lang.String SPN)
Makes a connection to the specified SAS Metadata Server and narrows it to the IMetadataTransport interface. |
com.sas.iom.SAS.IWorkspace |
makeIOMConnection(java.lang.String Host,
java.lang.String Port,
java.lang.String Username,
java.lang.String Password)
Makes a connection to the specified SAS Workspace Server. |
com.sas.iom.SAS.IWorkspace |
makeIOMConnectionUsingSecurityPackage(java.lang.String Host,
java.lang.String Port,
java.lang.String SecurityPackageList,
java.lang.String SPN)
Makes a connection to the specified SAS Workspace Server. |
com.sas.meta.SASOMI.ISecurityAdmin |
MakeISecurityAdminConnection(com.sas.meta.SASOMI.IOMI OMRConnection)
Narrows a connection to a SAS Metadata Server to the ISecurityAdmin interface. |
com.sas.meta.SASOMI.ISecurityAdmin |
makeISecurityAdminConnection(java.lang.String Host,
java.lang.String Port,
java.lang.String Username,
java.lang.String Password)
Makes a connection to the specified SAS Metadata Server and narrows it to the ISecurityAdmin interface. |
com.sas.meta.SASOMI.ISecurityAdmin |
makeISecurityAdminConnectionUsingSecurityPackage(java.lang.String Host,
java.lang.String Port,
java.lang.String SecurityPackageList,
java.lang.String SPN)
Makes a connection to the specified SAS Metadata Server and narrows it to the ISecurity interface. |
com.sas.meta.SASOMI.ISecurity_1_1 |
MakeISecurityConnection()
Narrows the internal connection to a SAS Metadata Server to the ISecurity_1_1 interface. |
com.sas.meta.SASOMI.ISecurity_1_1 |
MakeISecurityConnection(com.sas.meta.SASOMI.IOMI OMRConnection)
Narrows a connection to a SAS Metadata Server to the ISecurity_1_1 interface. |
com.sas.meta.SASOMI.ISecurity_1_1 |
makeISecurityConnection(java.lang.String Host,
java.lang.String Port,
java.lang.String Username,
java.lang.String Password)
Makes a connection to the specified SAS Metadata Server and narrows it to the ISecurity_1_1 interface. |
com.sas.meta.SASOMI.ISecurity_1_1 |
makeISecurityConnectionUsingSecurityPackage(java.lang.String Host,
java.lang.String Port,
java.lang.String SecurityPackageList,
java.lang.String SPN)
Makes a connection to the specified SAS Metadata Server and narrows it to the ISecurity interface. |
com.sas.meta.SASOMI.IServer |
MakeIServerConnection()
Narrows a connection to a SAS Metadata Server to the IServer interface. |
com.sas.meta.SASOMI.IServer |
MakeIServerConnection(com.sas.meta.SASOMI.IOMI OMRConnection)
Narrows a connection to a SAS Metadata Server to the IServer interface. |
com.sas.meta.SASOMI.IServer |
makeIServerConnection(java.lang.String Host,
java.lang.String Port,
java.lang.String Username,
java.lang.String Password)
Makes a connection to the specified SAS Metadata Server and narrows it to the IServer interface. |
com.sas.meta.SASOMI.IServer |
makeIServerConnectionUsingSecurityPackage(java.lang.String Host,
java.lang.String Port,
java.lang.String SecurityPackageList,
java.lang.String SPN)
Makes a connection to the specified SAS Metadata Server and narrows it to the IServer interface. |
com.sas.meta.SASOMI.IOMI |
makeOMRConnection(java.lang.String host,
java.lang.String port,
java.lang.String user,
java.lang.String password)
Connect to the metadata server. |
com.sas.meta.SASOMI.IOMI |
makeOMRConnectionUsingSecurityPackage(java.lang.String host,
java.lang.String port,
java.lang.String securityPackageList,
java.lang.String spn)
Connect to the metadata server using a security package such as Kerberos. |
void |
setCMRHandle(com.sas.meta.SASOMI.IOMI iomi)
Set IOMI connection to be used by this connection object. |
void |
setConnectionResources(com.sas.services.connection.ConnectionResources cxResources)
Set resources to be used during connection to IOM servers. |
void |
setIOMHandle(com.sas.iom.SAS.IWorkspace work)
Add the IOM workspace handle to the IOM handle array. |
void |
setIOMHandle(com.sas.iom.SAS.IWorkspace work,
int index)
Add the IOM workspace handle in the IOM handle array at the specified index |
void |
setMessageLevel(java.util.logging.Level inLevel)
Set the logging level for connections. |
void |
validatePlatformVersion()
Check if connected server is a version supported by this client. |
Field Detail |
---|
static final java.lang.String USERNAME_KEY
static final java.lang.String PASSWORD_KEY
static final java.lang.String SECURITY_PACKAGE_LIST_KEY
static final java.lang.String SPN_KEY
static final java.lang.String HOST_KEY
static final java.lang.String PORT_KEY
static final int SERVER_STATUS_ERROR
static final int SERVER_STATUS_OK
static final int SERVER_STATUS_PAUSED
Method Detail |
---|
MdOMRConnection getConnection() throws java.rmi.RemoteException
java.rmi.RemoteException
- for RMI errorscom.sas.meta.SASOMI.IOMI getCMRHandle() throws java.rmi.RemoteException
java.rmi.RemoteException
- for RMI errorsvoid setCMRHandle(com.sas.meta.SASOMI.IOMI iomi) throws java.rmi.RemoteException
validatePlatformVersion()
when making the initial
IOMI connection to validate the server version before continuing.
iomi
- new IOMI connection
java.rmi.RemoteException
- for RMI errorscom.sas.iom.SAS.IWorkspace getIOMHandle(int index) throws java.rmi.RemoteException
index
- is the index into the IOM workspace handle array. If the specified index is less than zero,
the IOM workspace handle at location 0 is retrieved
java.rmi.RemoteException
- for RMI errorscom.sas.iom.SAS.IWorkspace getIOMHandle() throws java.rmi.RemoteException
java.rmi.RemoteException
- for RMI errorsvoid setIOMHandle(com.sas.iom.SAS.IWorkspace work) throws java.rmi.RemoteException
work
- IOM workspace handle
java.rmi.RemoteException
- for RMI errorsvoid setIOMHandle(com.sas.iom.SAS.IWorkspace work, int index) throws java.rmi.RemoteException
work
- IOM workspace handleindex
- offset in the available IOM workspace handle array
java.rmi.RemoteException
- for RMI errorsvoid closeIOMHandle() throws java.rmi.RemoteException
java.rmi.RemoteException
- for RMI errorscom.sas.meta.SASOMI.IOMI makeOMRConnection(java.lang.String host, java.lang.String port, java.lang.String user, java.lang.String password) throws java.rmi.RemoteException, MdException
host
- metadata server hostport
- metadata server portuser
- user namepassword
- password
UnsupportedPlatformVersionException
- if connected server is not supported
MdException
- if there is a problem connecting to the server
java.rmi.RemoteException
- for RMI errorscloseOMRConnection()
com.sas.meta.SASOMI.IOMI makeOMRConnectionUsingSecurityPackage(java.lang.String host, java.lang.String port, java.lang.String securityPackageList, java.lang.String spn) throws java.rmi.RemoteException, MdException
null, then
BridgeServer.SECURITY_PACKAGE_LIST_DEFAULT
will be used.
If spn is null, then one will be generated.
- Parameters:
host
- metadata server hostport
- metadata server portSecurityPackageList
- comma-separated list of acceptable security packagesspn
- server principal name
- Returns:
- IOMI connection
- Throws:
UnsupportedPlatformVersionException
- if connected server is not supported
MdException
- if there is a problem connecting to the server
java.rmi.RemoteException
- for RMI errors- See Also:
closeOMRConnection()
com.sas.meta.SASOMI.ISecurity_1_1 makeISecurityConnection(java.lang.String Host, java.lang.String Port, java.lang.String Username, java.lang.String Password) throws java.rmi.RemoteException, MdException
ISecurity_1_1
interface.
Uses user name and password to authenticate the connection.
Host
- SAS Metadata Server hostPort
- SAS Metadata Server portUsername
- user namePassword
- password
MdException
- if there is a problem making the connection
java.rmi.RemoteException
- for RMI errorsdisconnectISecurityConnection(ISecurity)
com.sas.meta.SASOMI.ISecurity_1_1 makeISecurityConnectionUsingSecurityPackage(java.lang.String Host, java.lang.String Port, java.lang.String SecurityPackageList, java.lang.String SPN) throws java.rmi.RemoteException, MdException
ISecurity
interface.
Uses a security package such as Kerberos to authenticate
the connection.
Host
- SAS Metadata Server hostPort
- SAS Metadata Server portSecurityPackageList
- security packages to use
(or null
for default)SPN
- server principal name (or null
for default)
MdException
- if there is a problem making the connection
java.rmi.RemoteException
- for RMI errorsdisconnectISecurityConnection(ISecurity)
com.sas.meta.SASOMI.IServer makeIServerConnection(java.lang.String Host, java.lang.String Port, java.lang.String Username, java.lang.String Password) throws java.rmi.RemoteException, MdException
IServer
interface.
Uses user name and password to authenticate the connection.
Host
- SAS Metadata Server hostPort
- SAS Metadata Server portUsername
- user namePassword
- password
MdException
- if there is a problem making the connection
java.rmi.RemoteException
- if there is a problem communicating
with the method implementationdisconnectIServerConnection(IServer)
com.sas.meta.SASOMI.IServer makeIServerConnectionUsingSecurityPackage(java.lang.String Host, java.lang.String Port, java.lang.String SecurityPackageList, java.lang.String SPN) throws java.rmi.RemoteException, MdException
IServer
interface.
Uses a security package such as Kerberos to authenticate
the connection.
Host
- SAS Metadata Server hostPort
- SAS Metadata Server portSecurityPackageList
- security packages to use
(or null
for default)SPN
- server principal name (or null
for default)
MdException
- if there is a problem making the connection
java.rmi.RemoteException
- for RMI errorsdisconnectIServerConnection(IServer)
com.sas.meta.SASOMI.IServer MakeIServerConnection() throws java.rmi.RemoteException, MdException
IServer
interface.
IServer
interface
MdException
- if there is a problem narrowing the connection
java.rmi.RemoteException
- for RMI errorscom.sas.meta.SASOMI.IServer MakeIServerConnection(com.sas.meta.SASOMI.IOMI OMRConnection) throws java.rmi.RemoteException, MdException
IServer
interface.
OMRConnection
- connection to a SAS Metadata Server
IServer
interface
MdException
- if there is a problem narrowing the connection
java.rmi.RemoteException
- for RMI errorsvoid closeIServerConnection(com.sas.meta.SASOMI.IServer iServer) throws java.rmi.RemoteException, MdException
iServer
- connection to SAS Metadata Server
MdException
- never thrown
java.rmi.RemoteException
- for RMI errorsdisconnectIServerConnection(IServer)
void disconnectIServerConnection(com.sas.meta.SASOMI.IServer iServer) throws java.rmi.RemoteException, MdException
iServer
- the connection to close
MdException
- if there is a problem disconnecting from the server
java.rmi.RemoteException
- for RMI errorsmakeIServerConnection(String, String, String, String)
,
makeIServerConnectionUsingSecurityPackage(String, String, String, String)
com.sas.meta.SASOMI.ISecurity_1_1 MakeISecurityConnection() throws java.rmi.RemoteException, MdException
ISecurity_1_1
interface.
ISecurity_1_1
interface
MdException
- if there is a problem narrowing the connection
java.rmi.RemoteException
- if there is a problem communicating
with the method implementationcom.sas.meta.SASOMI.ISecurity_1_1 MakeISecurityConnection(com.sas.meta.SASOMI.IOMI OMRConnection) throws java.rmi.RemoteException, MdException
ISecurity_1_1
interface.
OMRConnection
- connection to a SAS Metadata Server
ISecurity_1_1
interface
MdException
- if there is a problem narrowing the connection
java.rmi.RemoteException
- if there is a problem communicating
with the method implementationvoid closeISecurityConnection(com.sas.meta.SASOMI.ISecurity iSecurity) throws java.rmi.RemoteException, MdException
iSecurity
- connection to a SAS Metadata Server
java.rmi.RemoteException
- never thrown
MdException
- never throwndisconnectISecurityConnection(ISecurity)
void disconnectISecurityConnection(com.sas.meta.SASOMI.ISecurity iSecurity) throws java.rmi.RemoteException, MdException
iSecurity
- the connection to close
MdException
- if there is a problem disconnecting from the server
java.rmi.RemoteException
- if there is a network problem communicating
with the method implementationmakeISecurityConnection(String, String, String, String)
,
makeISecurityConnectionUsingSecurityPackage(String, String, String, String)
void closeOMRConnection() throws java.rmi.RemoteException
java.rmi.RemoteException
- never thrown
org.omg.CORBA.SystemException
- if there is a problem closing the connectionmakeOMRConnection(String, String, String, String)
,
makeOMRConnectionUsingSecurityPackage(String, String, String, String)
void disconnectOMRConnection(com.sas.meta.SASOMI.IOMI iOMI) throws java.rmi.RemoteException, MdException
iOMI
- the connection to close
MdException
- if there is a problem disconnecting from the server
java.rmi.RemoteException
- if there is a network problem communicating
with the method implementationmakeOMRConnection(String, String, String, String)
,
#makeOMRConnection(String, String, String, String, boolean)
,
#makeOMRConnectionUsingSecurityPackage(String, String, String, String, boolean)
com.sas.iom.SAS.IWorkspace makeIOMConnection(java.lang.String Host, java.lang.String Port, java.lang.String Username, java.lang.String Password) throws java.rmi.RemoteException, MdException
Host
- SAS Workspace Server hostPort
- SAS Workspace Server portUsername
- user namePassword
- password
MdException
- if there is a problem making the connection
java.rmi.RemoteException
- if there is a problem communicating
with the method implementationdisconnectIOMConnection(IWorkspace)
com.sas.iom.SAS.IWorkspace makeIOMConnectionUsingSecurityPackage(java.lang.String Host, java.lang.String Port, java.lang.String SecurityPackageList, java.lang.String SPN) throws java.rmi.RemoteException, MdException
Host
- SAS Workspace Server hostPort
- SAS Workspace Server portSecurityPackageList
- security packages to use
(or null
for default)SPN
- server principal name (or null
for default)
MdException
- if there is a problem making the connection
java.rmi.RemoteException
- if there is a problem communicating
with the method implementationdisconnectIOMConnection(IWorkspace)
void closeIOMConnection(com.sas.iom.SAS.IWorkspace workspace) throws java.rmi.RemoteException, MdException
workspace
- connection to a SAS Workspace Server
java.rmi.RemoteException
- never thrown
MdException
- never throwndisconnectIOMConnection(IWorkspace)
void disconnectIOMConnection(com.sas.iom.SAS.IWorkspace workspace) throws java.rmi.RemoteException, MdException
workspace
- the connection to close
MdException
- if there is a problem disconnecting from the server
java.rmi.RemoteException
- if there is a network problem communicating
with the method implementationmakeIOMConnection(String, String, String, String)
,
makeIOMConnectionUsingSecurityPackage(String, String, String, String)
com.sas.meta.SASOMI.ISecurityAdmin MakeISecurityAdminConnection(com.sas.meta.SASOMI.IOMI OMRConnection) throws java.rmi.RemoteException, MdException
ISecurityAdmin
interface.
OMRConnection
- connection to a SAS Metadata Server
ISecurityAdmin
interface
java.rmi.RemoteException
- never thrown
MdException
- if there is a network problemcom.sas.meta.SASOMI.ISecurityAdmin makeISecurityAdminConnection(java.lang.String Host, java.lang.String Port, java.lang.String Username, java.lang.String Password) throws java.rmi.RemoteException, MdException
ISecurityAdmin
interface.
Uses user name and password to authenticate the connection.
Host
- SAS Metadata Server hostPort
- SAS Metadata Server portUsername
- user namePassword
- password
MdException
- if there is a problem narrowing the connection
java.rmi.RemoteException
- if there is a problem communicating
with the method implementationdisconnectISecurityAdminConnection(ISecurityAdmin)
com.sas.meta.SASOMI.ISecurityAdmin makeISecurityAdminConnectionUsingSecurityPackage(java.lang.String Host, java.lang.String Port, java.lang.String SecurityPackageList, java.lang.String SPN) throws java.rmi.RemoteException, MdException
ISecurity
interface.
Uses a security package such as Kerberos to authenticate
the connection.
Host
- SAS Metadata Server hostPort
- SAS Metadata Server portSecurityPackageList
- security packages to use
(or null
for default)SPN
- server principal name (or null
for default)
MdException
- if there is a problem making the connection
java.rmi.RemoteException
- if there is a problem communicating
with the method implementationdisconnectISecurityAdminConnection(ISecurityAdmin)
void closeISecurityAdminConnection(com.sas.meta.SASOMI.ISecurityAdmin secAdminConnection) throws java.rmi.RemoteException, MdException
secAdminConnection
- connection to a SAS Metadata Server
java.rmi.RemoteException
- never thrown
MdException
- never throwndisconnectISecurityAdminConnection(ISecurityAdmin)
void disconnectISecurityAdminConnection(com.sas.meta.SASOMI.ISecurityAdmin secAdminConnection) throws java.rmi.RemoteException, MdException
secAdminConnection
- the connection to close
MdException
- if there is a problem disconnecting from the server
java.rmi.RemoteException
- if there is a network problem communicating
with the method implementationmakeISecurityAdminConnection(String, String, String, String)
,
makeISecurityAdminConnectionUsingSecurityPackage(String, String, String, String)
com.sas.meta.SASOMI.IMetadataTransport makeIMetadataTransportConnection(com.sas.meta.SASOMI.IOMI OMRConnection) throws java.rmi.RemoteException, MdException
IMetadataTransport
interface.
OMRConnection
- connection to a SAS Metadata Server
IMetadataTransport
interface
java.rmi.RemoteException
- never thrown
MdException
- if there is a network problemcom.sas.meta.SASOMI.IMetadataTransport makeIMetadataTransportConnection(java.lang.String Host, java.lang.String Port, java.lang.String Username, java.lang.String Password) throws java.rmi.RemoteException, MdException
IMetadataTransport
interface.
Uses user name and password to authenticate the connection.
Host
- SAS Metadata Server hostPort
- SAS Metadata Server portUsername
- user namePassword
- password
MdException
- if there is a problem narrowing the connection
java.rmi.RemoteException
- if there is a problem communicating
with the method implementationdisconnectIMetadataTransportConnection(IMetadataTransport)
com.sas.meta.SASOMI.IMetadataTransport makeIMetadataTransportConnectionUsingSecurityPackage(java.lang.String Host, java.lang.String Port, java.lang.String SecurityPackageList, java.lang.String SPN) throws java.rmi.RemoteException, MdException
IMetadataTransport
interface.
Uses a security package such as Kerberos to authenticate
the connection.
Host
- SAS Metadata Server hostPort
- SAS Metadata Server portSecurityPackageList
- security packages to use
(or null
for default)SPN
- server principal name (or null
for default)
MdException
- if there is a problem making the connection
java.rmi.RemoteException
- if there is a problem communicating
with the method implementationdisconnectIMetadataTransportConnection(IMetadataTransport)
void closeIMetadataTransportConnection(com.sas.meta.SASOMI.IMetadataTransport transportConnection) throws java.rmi.RemoteException, MdException
transportConnection
- connection to a SAS Metadata Server
java.rmi.RemoteException
- never thrown
MdException
- never throwndisconnectIMetadataTransportConnection(IMetadataTransport)
void disconnectIMetadataTransportConnection(com.sas.meta.SASOMI.IMetadataTransport transportConnection) throws java.rmi.RemoteException, MdException
transportConnection
- the connection to close
MdException
- if there is a problem disconnecting from the server
java.rmi.RemoteException
- if there is a network problem communicating
with the method implementationmakeIMetadataTransportConnection(String, String, String, String)
,
makeIMetadataTransportConnectionUsingSecurityPackage(String, String, String, String)
java.util.Properties getCMRProperties() throws java.rmi.RemoteException, MdException
com.sas.metadata.MdException
- if the
domain cannot be determined
java.rmi.RemoteException
MdException
java.lang.String getPauseComment() throws MdException, java.rmi.RemoteException
MdException
java.rmi.RemoteException
boolean isServerPaused() throws MdException, java.rmi.RemoteException
MdException
java.rmi.RemoteException
int getServerStatus() throws MdException, java.rmi.RemoteException
SERVER_STATUS_ERROR
SERVER_STATUS_OK
SERVER_STATUS_PAUSED
MdException
java.rmi.RemoteException
int getServerStatus(com.sas.meta.SASOMI.IServer serverConn) throws MdException, java.rmi.RemoteException
SERVER_STATUS_ERROR
SERVER_STATUS_OK
SERVER_STATUS_PAUSED
MdException
java.rmi.RemoteException
int getVersionCompatibility(com.sas.meta.SASOMI.IServer serverConn) throws MdException, java.rmi.RemoteException
serverConn
-
MdException
java.rmi.RemoteException
int getVersionCompatibility() throws MdException, java.rmi.RemoteException
serverConn
-
MdException
java.rmi.RemoteException
java.lang.String getServerModelVersion() throws MdException, java.rmi.RemoteException
MdException
java.rmi.RemoteException
java.lang.String getServerModelVersion(com.sas.meta.SASOMI.IServer serverConn) throws MdException, java.rmi.RemoteException
serverConn
-
MdException
java.rmi.RemoteException
java.lang.String getServerVersion(com.sas.meta.SASOMI.IServer serverConn) throws MdException, java.rmi.RemoteException
getServerModelVersion(IServer)
.
serverConn
-
MdException
java.rmi.RemoteException
java.lang.String getCurrentServerVerion() throws MdException, java.rmi.RemoteException
getServerModelVersion()
.
MdException
java.rmi.RemoteException
int getPlatformVersion() throws MdException, java.rmi.RemoteException
MdException
java.rmi.RemoteException
int getPlatformVersion(com.sas.meta.SASOMI.IServer serverConn) throws MdException, java.rmi.RemoteException
serverConn
- the IServer interface
MdException
java.rmi.RemoteException
Identity getIdentityOfUserConnected(MdStore store, java.lang.String reposID) throws MdException, java.rmi.RemoteException
A null value will be returned if the Identity could not be found at all.
store
- the object store to create the Identity inreposID
- the repository connected to. This must be the full 17 character repository id.
This will only be used if the an Identity for the user could not be found.
MdException
java.rmi.RemoteException
java.util.logging.Level getMessageLevel() throws java.rmi.RemoteException
java.rmi.RemoteException
void setMessageLevel(java.util.logging.Level inLevel) throws java.rmi.RemoteException
inLevel
-
java.rmi.RemoteException
java.util.Map<java.lang.String,java.lang.String> getCredentialMap() throws java.rmi.RemoteException
java.rmi.RemoteException
void setConnectionResources(com.sas.services.connection.ConnectionResources cxResources) throws java.rmi.RemoteException
cxResources
- resources to be used during connection to IOM servers.
java.rmi.RemoteException
- if a network error occurscom.sas.services.connection.ConnectionResources getConnectionResources() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a network error occursvoid validatePlatformVersion() throws MdException, java.rmi.RemoteException
UnsupportedPlatformVersionException
- if connected server is not supported
MdException
- if a server communication error occurs
java.rmi.RemoteException
- for RMI errors
|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |