|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.jms.client.intravm.IntravmJmsConnectionStub
public class 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 JmsConnectionStubIfcackMode - the session ack modetransacted - true if it is a transacted session
javax.jms.JMSException - for any JMS error
public void close()
throws javax.jms.JMSException
JmsConnectionStubIfc
close in interface JmsConnectionStubIfcjavax.jms.JMSException - for any JMS error
public void destroy()
throws javax.jms.JMSException
JmsConnectionStubIfc
destroy in interface JmsConnectionStubIfcjavax.jms.JMSException - for any JMS error
public java.lang.String getConnectionId()
throws javax.jms.JMSException
JmsConnectionStubIfc
getConnectionId in interface JmsConnectionStubIfcjavax.jms.JMSException - for any JMS error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||