oracle.aurora.jem
Class JEMConnection

java.lang.Object
  |
  +--oracle.aurora.jem.JEMConnection

public class JEMConnection
extends java.lang.Object

This class represents an active connection from a client to a JEM provider. Depending on the communication channel used to connect from client to server, this may represent a JDBC connection to the database.


Constructor Summary
TypeConstructor
protected JEMConnection()
           
  JEMConnection(oracle.aurora.jem.OracleConnection usrconn)
          Constructs a new instance of JEMConnection
 
Method Summary
TypeMethod
 void cancel()
           
 void close()
           
static java.lang.String CreateURL(java.lang.String sid, java.lang.String host, java.lang.String port, java.lang.String driver)
           
 oracle.aurora.jem.OracleConnection getConnection()
          Returns the encapsulated OracleConnection instance
 java.lang.String getEntityName()
           
 java.lang.String getUserName()
           
 void setEntityName(java.lang.String entname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JEMConnection

protected JEMConnection()
                 throws JEMException

JEMConnection

public JEMConnection(oracle.aurora.jem.OracleConnection usrconn)
              throws JEMException
Constructs a new instance of JEMConnection
Parameters:
usrconn - The Oracle JDBC connection instance this JEMConnection will wrap around
Method Detail

close

public void close()
           throws JEMException

cancel

public void cancel()
            throws JEMException

getEntityName

public java.lang.String getEntityName()

setEntityName

public void setEntityName(java.lang.String entname)

getConnection

public oracle.aurora.jem.OracleConnection getConnection()
Returns the encapsulated OracleConnection instance

getUserName

public java.lang.String getUserName()

CreateURL

public static java.lang.String CreateURL(java.lang.String sid,
                                         java.lang.String host,
                                         java.lang.String port,
                                         java.lang.String driver)