***  This API provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.connection.omr
Class OMRConnectionFactoryConfiguration

java.lang.Object
  |
  +--com.sas.services.connection.ConnectionFactoryConfiguration
        |
        +--com.sas.services.connection.omr.OMRConnectionFactoryConfiguration
All Implemented Interfaces:

public class OMRConnectionFactoryConfiguration
extends ConnectionFactoryConfiguration

A connection factory configuration that describes a server or a pool of servers to connect to using meta data in an OMR server.


Field Summary
static int flags
           
static String longTemplate
           
protected static Integer typeFailover
           
protected static Integer typeLoadBalancing
           
 
Constructor Summary
OMRConnectionFactoryConfiguration(com.sas.meta.SASOMI.IOMI omrServer, String objectID)
          Constructs a factory configuration based on the ID of a meta data object.
OMRConnectionFactoryConfiguration(com.sas.meta.SASOMI.IOMI omrServer, String repositoryID, String objectName)
          Constructs a factory configuration based on the name of a meta data object.
OMRConnectionFactoryConfiguration(LogicalServer object)
          Constructs a factory configuration based on a live connection to a meta data object.
OMRConnectionFactoryConfiguration(LogicalServer remoteObject)
          Constructs a factory configuration based on a live RMI connection to a meta data object.
OMRConnectionFactoryConfiguration(LogicalServer object, boolean fullyFetched)
          Constructs a factory configuration based on a live connection to a meta data object.
OMRConnectionFactoryConfiguration(LogicalServer remoteObject, boolean fullyFetched)
          Constructs a factory configuration based on a live RMI connection to a meta data object.
 
Method Summary
 boolean equals(Object that)
           
protected  ConnectionFactoryKernel getKernel(ConnectionFactoryManager manager, ConnectionFactoryConfiguration cxfConfig, Logger logger)
           
 LogicalServer getObject()
          Get the live connection to the LogicalServer object.
 String getObjectID()
          Get the fully-qualified ID of the LogicalServer object.
 String getObjectName()
          Get the name of the LogicalServer object.
 com.sas.meta.SASOMI.IOMI getOMRServer()
          Get the live connection to the OMR server.
 LogicalServer getRemoteObject()
          Get the live RMI connection to the LogicalServer object.
 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.
 
Methods inherited from class com.sas.services.connection.ConnectionFactoryConfiguration
getKernel, getKernelFromDelegate, kernelDestroyed, setMonitor
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeFailover

protected static final Integer typeFailover

typeLoadBalancing

protected static final Integer typeLoadBalancing

longTemplate

public static final String longTemplate

flags

public static final int flags
Constructor Detail

OMRConnectionFactoryConfiguration

public OMRConnectionFactoryConfiguration(com.sas.meta.SASOMI.IOMI omrServer,
                                         String objectID)
Constructs a factory configuration based on the ID of a meta data object.
Parameters:
omrServer - a live connection to an OMR server
objectID - 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".

OMRConnectionFactoryConfiguration

public OMRConnectionFactoryConfiguration(com.sas.meta.SASOMI.IOMI omrServer,
                                         String repositoryID,
                                         String objectName)
Constructs a factory configuration based on the name of a meta data object.
Parameters:
omrServer - a live connection to an OMR server
repositoryID - the fully-qualified ID of a the repository within the server that contains the named object
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".

OMRConnectionFactoryConfiguration

public OMRConnectionFactoryConfiguration(LogicalServer object)
Constructs a factory configuration based on a live connection to a meta data object.
Parameters:
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".

OMRConnectionFactoryConfiguration

public OMRConnectionFactoryConfiguration(LogicalServer object,
                                         boolean fullyFetched)
Constructs a factory configuration based on a live connection to a meta data object.
Parameters:
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.

OMRConnectionFactoryConfiguration

public OMRConnectionFactoryConfiguration(LogicalServer remoteObject)
Constructs a factory configuration based on a live RMI connection to a meta data object.
Parameters:
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".

OMRConnectionFactoryConfiguration

public OMRConnectionFactoryConfiguration(LogicalServer remoteObject,
                                         boolean fullyFetched)
Constructs a factory configuration based on a live RMI connection to a meta data object.
Parameters:
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

getOMRServer

public com.sas.meta.SASOMI.IOMI getOMRServer()
Get the live connection to the OMR server.
Returns:
the live connection to the OMR server

getObjectID

public String getObjectID()
Get the fully-qualified ID of the LogicalServer object.
Returns:
the fully-qualified ID of the LogicalServer object

getRepositoryID

public String getRepositoryID()
Get the fully-qualified ID of the repository within the server that contains the object.
Returns:
the fully-qualified ID of the repository within the server that contains the object

getObjectName

public String getObjectName()
Get the name of the LogicalServer object.
Returns:
the name of the LogicalServer object

getObject

public LogicalServer getObject()
Get the live connection to the LogicalServer object.
Returns:
the live connection to the LogicalServer object

getRemoteObject

public LogicalServer getRemoteObject()
Get the live RMI connection to the LogicalServer object.
Returns:
the live RMI connection to the LogicalServer object

isFullyFetched

public boolean isFullyFetched()
Show whether or not all attributes and associations needed to process the logical service have been fetched.
Returns:
whether or not all attributes and associations needed to process the logical service have been fetched

equals

public boolean equals(Object that)
Overrides:
equals in class ConnectionFactoryConfiguration

hashCode

public int hashCode()
Overrides:
hashCode in class ConnectionFactoryConfiguration

getKernel

protected ConnectionFactoryKernel getKernel(ConnectionFactoryManager manager,
                                            ConnectionFactoryConfiguration cxfConfig,
                                            Logger logger)
                                     throws ConnectionFactoryException
Overrides:
getKernel in class ConnectionFactoryConfiguration

***  This API provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:53