EclipseLink 1.0_1.0M2 API Reference - Incubation

org.eclipse.persistence.sessions.remote.jms
Class JMSConnection

java.lang.Object
  extended by RemoteConnection
      extended by org.eclipse.persistence.sessions.remote.jms.JMSConnection

Deprecated. since OracleAS TopLink 10g (10.1.3). This class is replaced by JMSTopicTransportManager

public class JMSConnection
extends RemoteConnection

This class exists on on the client side which talks to remote session controller through RMI connection.


Field Summary
protected  TopicPublisher publisher
          Deprecated.  
protected  TopicSession session
          Deprecated.  
protected  java.lang.String topicName
          Deprecated.  
 
Constructor Summary
JMSConnection(TopicSession session, TopicPublisher publisher)
          Deprecated. PUBLIC: The connection must be create from the server-side session controllers stub.
 
Method Summary
 void addRemoteControllerForSynchronization(java.lang.Object remoteDispatcher)
          Deprecated. Since 4.0
 void beginTransaction()
          Deprecated. INTERNAL: Begin a transaction on the database.
 RemoteUnitOfWork commitRootUnitOfWork(RemoteUnitOfWork theRemoteUnitOfWork)
          Deprecated. INTERNAL: Commit root unit of work from the client side to the server side.
 void commitTransaction()
          Deprecated. INTERNAL: Commit a transaction on the database.
 Session createRemoteSession()
          Deprecated. PUBLIC: Returns a remote session.
 void cursoredStreamClose(java.rmi.server.ObjID remoteCursoredStreamOid)
          Deprecated. Used for closing cursored streams across RMI.
 java.util.Vector cursoredStreamNextPage(RemoteCursoredStream remoteCursoredStream, ReadQuery query, RemoteSession session, int pageSize)
          Deprecated. Retrieve next page size of objects from the remote cursored stream
 int cursoredStreamSize(java.rmi.server.ObjID remoteCursoredStreamID)
          Deprecated. Return the cursored stream size
 RemoteCursoredStream cursorSelectObjects(CursoredStreamPolicy policy, DistributedSession session)
          Deprecated. INTERNAL: Returns remote cursor stream
 RemoteScrollableCursor cursorSelectObjects(ScrollableCursorPolicy policy, DistributedSession session)
          Deprecated. INTERNAL: Returns remote cursor stream
 void fixObjectReferences(Transporter remoteCursoredStream, ObjectLevelReadQuery query, RemoteSession session)
          Deprecated. INTERNAL: An object has been serialized from the server to the remote client.
 java.util.Vector getDefaultReadOnlyClasses()
          Deprecated. INTERNAL Return the read-only classes
 ClassDescriptor getDescriptor(java.lang.Class domainClass)
          Deprecated. INTERNAL: Return the table descriptor specified for the class.
 Login getLogin()
          Deprecated. INTERNAL: Return the table descriptor specified for the class.
 java.lang.Object getSequenceNumberNamed(java.lang.Object remoteFunctionCall)
          Deprecated. INTERNAL: Perform remote function call
 void initializeIdentityMapsOnServerSession()
          Deprecated. INTERNAL: Reset the cache on the server-side session.
 Transporter instantiateRemoteValueHolderOnServer(RemoteValueHolder remoteValueHolder)
          Deprecated. INTERNAL: Instantiate remote value holder on the server
 void processCommand(RemoteCommand command)
          Deprecated. ADVANCED: This method will send the command to the remote session for processing
 Transporter remoteExecute(DatabaseQuery query)
          Deprecated. INTERNAL: Execute the query on the server.
 Transporter remoteExecuteNamedQuery(java.lang.String name, java.lang.Class javaClass, java.util.Vector arguments)
          Deprecated. INTERNAL: Execute query remotely.
 void rollbackTransaction()
          Deprecated. INTERNAL: Rollback a transaction on the database.
 boolean scrollableCursorAbsolute(java.rmi.server.ObjID remoteScrollableCursorOid, int rows)
          Deprecated. Moves the cursor to the given row number in the result set
 void scrollableCursorAfterLast(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Moves the cursor to the end of the result set, just after the last row.
 void scrollableCursorBeforeFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Moves the cursor to the front of the result set, just before the first row
 void scrollableCursorClose(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Used for closing scrollable cursor across RMI.
 int scrollableCursorCurrentIndex(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Retrieves the current row index number
 boolean scrollableCursorFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Moves the cursor to the first row in the result set
 boolean scrollableCursorIsAfterLast(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Indicates whether the cursor is after the last row in the result set.
 boolean scrollableCursorIsBeforeFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Indicates whether the cursor is before the first row in the result set.
 boolean scrollableCursorIsFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Indicates whether the cursor is on the first row of the result set.
 boolean scrollableCursorIsLast(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Indicates whether the cursor is on the last row of the result set.
 boolean scrollableCursorLast(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Moves the cursor to the last row in the result set
 java.lang.Object scrollableCursorNextObject(java.rmi.server.ObjID remoteScrollableCursorOid, ReadQuery query, RemoteSession session)
          Deprecated. Retrieve next object from the remote scrollable cursor
 java.lang.Object scrollableCursorPreviousObject(java.rmi.server.ObjID remoteScrollableCursorOid, ReadQuery query, RemoteSession session)
          Deprecated. Retrieve previous object from the remote scrollable cursor
 boolean scrollableCursorRelative(java.rmi.server.ObjID remoteScrollableCursorOid, int rows)
          Deprecated. Moves the cursor to the given row number in the result set
 int scrollableCursorSize(java.rmi.server.ObjID cursorId)
          Deprecated. Return the scrollable cursor size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

session

protected TopicSession session
Deprecated. 

publisher

protected TopicPublisher publisher
Deprecated. 

topicName

protected java.lang.String topicName
Deprecated. 
Constructor Detail

JMSConnection

public JMSConnection(TopicSession session,
                     TopicPublisher publisher)
Deprecated. 
PUBLIC: The connection must be create from the server-side session controllers stub. The session in then created from the connection through createRemoteSession().

See Also:
createRemoteSession();
Method Detail

processCommand

public void processCommand(RemoteCommand command)
Deprecated. 
ADVANCED: This method will send the command to the remote session for processing

Parameters:
command - RemoteCOmmand Contains a command that will be executed on the remote session
See Also:
org.eclipse.persistence.internal.RemoteCommand

addRemoteControllerForSynchronization

public void addRemoteControllerForSynchronization(java.lang.Object remoteDispatcher)
                                           throws java.lang.Exception
Deprecated. Since 4.0

ADVANCED: This method is intended to be used by newly connecting nodes to notify the other nodes in a distributed system to send changes to this calling server

Parameters:
remoteTransporter - Transporter This transporter contains the RemoteDispatcher of the calling server.
Throws:
java.lang.Exception

beginTransaction

public void beginTransaction()
Deprecated. 
INTERNAL: Begin a transaction on the database.


commitRootUnitOfWork

public RemoteUnitOfWork commitRootUnitOfWork(RemoteUnitOfWork theRemoteUnitOfWork)
Deprecated. 
INTERNAL: Commit root unit of work from the client side to the server side.


commitTransaction

public void commitTransaction()
Deprecated. 
INTERNAL: Commit a transaction on the database.


createRemoteSession

public Session createRemoteSession()
Deprecated. 
PUBLIC: Returns a remote session.


cursoredStreamClose

public void cursoredStreamClose(java.rmi.server.ObjID remoteCursoredStreamOid)
Deprecated. 
Used for closing cursored streams across RMI.


cursoredStreamNextPage

public java.util.Vector cursoredStreamNextPage(RemoteCursoredStream remoteCursoredStream,
                                               ReadQuery query,
                                               RemoteSession session,
                                               int pageSize)
Deprecated. 
Retrieve next page size of objects from the remote cursored stream


cursoredStreamSize

public int cursoredStreamSize(java.rmi.server.ObjID remoteCursoredStreamID)
Deprecated. 
Return the cursored stream size


cursorSelectObjects

public RemoteCursoredStream cursorSelectObjects(CursoredStreamPolicy policy,
                                                DistributedSession session)
Deprecated. 
INTERNAL: Returns remote cursor stream


cursorSelectObjects

public RemoteScrollableCursor cursorSelectObjects(ScrollableCursorPolicy policy,
                                                  DistributedSession session)
Deprecated. 
INTERNAL: Returns remote cursor stream


fixObjectReferences

public void fixObjectReferences(Transporter remoteCursoredStream,
                                ObjectLevelReadQuery query,
                                RemoteSession session)
Deprecated. 
INTERNAL: An object has been serialized from the server to the remote client. Replace the transient attributes of the remote value holders with client-side objects. Being used for the cursored stream only


getDefaultReadOnlyClasses

public java.util.Vector getDefaultReadOnlyClasses()
Deprecated. 
INTERNAL Return the read-only classes


getDescriptor

public ClassDescriptor getDescriptor(java.lang.Class domainClass)
Deprecated. 
INTERNAL: Return the table descriptor specified for the class.


getLogin

public Login getLogin()
Deprecated. 
INTERNAL: Return the table descriptor specified for the class.


getSequenceNumberNamed

public java.lang.Object getSequenceNumberNamed(java.lang.Object remoteFunctionCall)
Deprecated. 
INTERNAL: Perform remote function call


initializeIdentityMapsOnServerSession

public void initializeIdentityMapsOnServerSession()
Deprecated. 
INTERNAL: Reset the cache on the server-side session.


instantiateRemoteValueHolderOnServer

public Transporter instantiateRemoteValueHolderOnServer(RemoteValueHolder remoteValueHolder)
Deprecated. 
INTERNAL: Instantiate remote value holder on the server


remoteExecute

public Transporter remoteExecute(DatabaseQuery query)
Deprecated. 
INTERNAL: Execute the query on the server.


remoteExecuteNamedQuery

public Transporter remoteExecuteNamedQuery(java.lang.String name,
                                           java.lang.Class javaClass,
                                           java.util.Vector arguments)
Deprecated. 
INTERNAL: Execute query remotely.


rollbackTransaction

public void rollbackTransaction()
Deprecated. 
INTERNAL: Rollback a transaction on the database.


scrollableCursorAbsolute

public boolean scrollableCursorAbsolute(java.rmi.server.ObjID remoteScrollableCursorOid,
                                        int rows)
Deprecated. 
Moves the cursor to the given row number in the result set


scrollableCursorAfterLast

public void scrollableCursorAfterLast(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Moves the cursor to the end of the result set, just after the last row.


scrollableCursorBeforeFirst

public void scrollableCursorBeforeFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Moves the cursor to the front of the result set, just before the first row


scrollableCursorClose

public void scrollableCursorClose(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Used for closing scrollable cursor across RMI.


scrollableCursorCurrentIndex

public int scrollableCursorCurrentIndex(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Retrieves the current row index number


scrollableCursorFirst

public boolean scrollableCursorFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Moves the cursor to the first row in the result set


scrollableCursorIsAfterLast

public boolean scrollableCursorIsAfterLast(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Indicates whether the cursor is after the last row in the result set.


scrollableCursorIsBeforeFirst

public boolean scrollableCursorIsBeforeFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Indicates whether the cursor is before the first row in the result set.


scrollableCursorIsFirst

public boolean scrollableCursorIsFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Indicates whether the cursor is on the first row of the result set.


scrollableCursorIsLast

public boolean scrollableCursorIsLast(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Indicates whether the cursor is on the last row of the result set.


scrollableCursorLast

public boolean scrollableCursorLast(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Moves the cursor to the last row in the result set


scrollableCursorNextObject

public java.lang.Object scrollableCursorNextObject(java.rmi.server.ObjID remoteScrollableCursorOid,
                                                   ReadQuery query,
                                                   RemoteSession session)
Deprecated. 
Retrieve next object from the remote scrollable cursor


scrollableCursorPreviousObject

public java.lang.Object scrollableCursorPreviousObject(java.rmi.server.ObjID remoteScrollableCursorOid,
                                                       ReadQuery query,
                                                       RemoteSession session)
Deprecated. 
Retrieve previous object from the remote scrollable cursor


scrollableCursorRelative

public boolean scrollableCursorRelative(java.rmi.server.ObjID remoteScrollableCursorOid,
                                        int rows)
Deprecated. 
Moves the cursor to the given row number in the result set


scrollableCursorSize

public int scrollableCursorSize(java.rmi.server.ObjID cursorId)
Deprecated. 
Return the scrollable cursor size


EclipseLink 1.0_1.0M2 API Reference - Incubation