|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.connection.omr.OMRConnectionFactoryConfiguration
public class OMRConnectionFactoryConfiguration
A connection factory configuration that describes a server or a pool of
servers to connect to using meta data in an OMR server. This class may
be simpler to set up and use than
com.sas.services.connection.platform.PlatformConnectionFactoryConfiguration
,
but it also has fewer features. For example, objects of this class do not
automatically reconnect to the metadata server if their connections are lost
during their lifetime.
The permission set of the user associated with the connection to the metadata
server has an impact on the behavior of connection factories that are
configured by reading metadata over that connection. In particular, connection
factory configurations that contain a login object are interpreted differently
by different users. See the
"Metadata Repository Security Issues" section of the package description for
com.sas.services.connection.platform
for more information.
Field Summary | |
---|---|
static int |
flags
|
static java.lang.String |
longTemplate
|
protected static java.lang.Integer |
typeFailover
|
protected static java.lang.Integer |
typeLoadBalancing
|
Constructor Summary | |
---|---|
OMRConnectionFactoryConfiguration(com.sas.meta.SASOMI.IOMI omrServer,
java.lang.String objectID)
Constructs a factory configuration based on the ID of a meta data object. |
|
OMRConnectionFactoryConfiguration(com.sas.meta.SASOMI.IOMI omrServer,
java.lang.String repositoryID,
java.lang.String objectName)
Constructs a factory configuration based on the name of a meta data object. |
|
OMRConnectionFactoryConfiguration(com.sas.metadata.LogicalServer object)
Deprecated. use OMRConnectionFactoryConfiguration(com.sas.metadata.remote.LogicalServer) |
|
OMRConnectionFactoryConfiguration(com.sas.metadata.remote.LogicalServer remoteObject)
Constructs a factory configuration based on a live RMI connection to a meta data object. |
|
OMRConnectionFactoryConfiguration(com.sas.metadata.LogicalServer object,
boolean fullyFetched)
Deprecated. use OMRConnectionFactoryConfiguration(com.sas.metadata.remote.LogicalServer) |
|
OMRConnectionFactoryConfiguration(com.sas.metadata.remote.LogicalServer remoteObject,
boolean fullyFetched)
Constructs a factory configuration based on a live RMI connection to a meta data object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object that)
|
com.sas.metadata.LogicalServer |
getObject()
Deprecated. use getRemoteObject() |
java.lang.String |
getObjectID()
Get the fully-qualified ID of the LogicalServer object. |
java.lang.String |
getObjectName()
Get the name of the LogicalServer object. |
com.sas.meta.SASOMI.IOMI |
getOMRServer()
Get the live connection to the OMR server. |
com.sas.metadata.remote.LogicalServer |
getRemoteObject()
Get the live RMI connection to the LogicalServer object. |
java.lang.String |
getRepositoryID()
Get the fully-qualified ID of the repository within the server that contains the object. |
int |
hashCode()
|
boolean |
isFullyFetched()
Show whether or not all attributes and associations needed to process the logical service have been fetched. |
java.lang.String |
toString()
|
Methods inherited from class com.sas.services.connection.ConnectionFactoryConfiguration |
---|
getKernel, getKernel, getKernelFromDelegate, kernelDestroyed |
Field Detail |
---|
protected static final java.lang.Integer typeFailover
protected static final java.lang.Integer typeLoadBalancing
public static final java.lang.String longTemplate
public static final int flags
Constructor Detail |
---|
public OMRConnectionFactoryConfiguration(com.sas.meta.SASOMI.IOMI omrServer, java.lang.String objectID)
omrServer
- a live connection to an OMR serverobjectID
- the fully-qualified ID of a LogicalServer object in the OMR server.
The LogicalServer object must be associated with a ServiceType object that has Name
attribute "Logical IOM Server".public OMRConnectionFactoryConfiguration(com.sas.meta.SASOMI.IOMI omrServer, java.lang.String repositoryID, java.lang.String objectName)
omrServer
- a live connection to an OMR serverrepositoryID
- the fully-qualified ID of a the repository within the server
to search first for the object with the given objectName. If
null
or ""
(empty string) is specified, then all
non-project repositories will be searched in an unspecified order.objectName
- the name of a LogicalServer object in the OMR server.
The LogicalServer object must be associated with a ServiceType object that has Name
attribute "Logical IOM Server".public OMRConnectionFactoryConfiguration(com.sas.metadata.LogicalServer object)
object
- a live connection to a LogicalServer object in the OMR server.
The LogicalServer object must be associated with a ServiceType object that has Name
attribute "Logical IOM Server".public OMRConnectionFactoryConfiguration(com.sas.metadata.LogicalServer object, boolean fullyFetched)
object
- a live connection to a LogicalServer object in the OMR server.
The LogicalServer object must be associated with a ServiceType object that has Name
attribute "Logical IOM Server".fullyFetched
- true if all attributes and associations needed
to process this logical server have already been fetched.public OMRConnectionFactoryConfiguration(com.sas.metadata.remote.LogicalServer remoteObject)
remoteObject
- a live RMI connection to a LogicalServer object in the OMR server.
The LogicalServer object must be associated with a ServiceType object that has Name
attribute "Logical IOM Server".public OMRConnectionFactoryConfiguration(com.sas.metadata.remote.LogicalServer remoteObject, boolean fullyFetched)
remoteObject
- a live RMI connection to a LogicalServer object in the OMR server.
The LogicalServer object must be associated with a ServiceType object that has Name
attribute "Logical IOM Server".fullyFetched
- true if all attributes and associations needed
to process this logical server have already been fetched.Method Detail |
---|
public com.sas.meta.SASOMI.IOMI getOMRServer()
public java.lang.String getObjectID()
public java.lang.String getRepositoryID()
public java.lang.String getObjectName()
public com.sas.metadata.LogicalServer getObject()
public com.sas.metadata.remote.LogicalServer getRemoteObject()
public boolean isFullyFetched()
public boolean equals(java.lang.Object that)
equals
in class ConnectionFactoryConfiguration
public int hashCode()
hashCode
in class ConnectionFactoryConfiguration
public java.lang.String toString()
toString
in class java.lang.Object
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |