|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jms.client.intravm.IntravmJmsConnectionStub
This class is responsible for implementing the client side of a intravm client-server connection for the JMS server. It is used to ovecome the performance issues associated with say and RMI based client-server running in the same VM. Depending on the different implementation of the client server ORB (i.e RMI or CORBA) some of the smarter products will simply turn a distributed request into a local client server call hence bypassing all marshalling.
Generic, by implication, impliesthat we are sacrificing the performance of the lower end ORB (intravm ORB) to provide a transparent framework for all underlying ORBs.
Method Summary | |
void |
close()
Close the connection and deallocate any resources. |
JmsSessionStubIfc |
createSession(int ackMode,
boolean transacted)
Create a session. |
void |
destroy()
Release all local resources used by this object. |
java.lang.String |
getConnectionId()
Retrieve the identity of this conection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public JmsSessionStubIfc createSession(int ackMode, boolean transacted) throws javax.jms.JMSException
JmsConnectionStubIfc
createSession
in interface JmsConnectionStubIfc
org.exolab.jms.client.JmsConnectionStubIfc
ackMode
- the session ack modetransacted
- true
if it is a transacted sessionjavax.jms.JMSException
- for any JMS errorpublic void close() throws javax.jms.JMSException
JmsConnectionStubIfc
close
in interface JmsConnectionStubIfc
org.exolab.jms.client.JmsConnectionStubIfc
javax.jms.JMSException
- for any JMS errorpublic void destroy() throws javax.jms.JMSException
JmsConnectionStubIfc
destroy
in interface JmsConnectionStubIfc
org.exolab.jms.client.JmsConnectionStubIfc
javax.jms.JMSException
- for any JMS errorpublic java.lang.String getConnectionId() throws javax.jms.JMSException
JmsConnectionStubIfc
getConnectionId
in interface JmsConnectionStubIfc
org.exolab.jms.client.JmsConnectionStubIfc
javax.jms.JMSException
- for any JMS error
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |