|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface that connection stubs must implement in order to support remote invocations. This level of indirection will enable us to support different ORB environments. The only restriction is that the stubs must support this interface and that it must have a default constructor.
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. |
Method Detail |
public JmsSessionStubIfc createSession(int ackMode, boolean transacted) throws javax.jms.JMSException
ackMode
- the session ack modetransacted
- true
if it is a transacted sessionjavax.jms.JMSException
- for any JMS errorpublic void close() throws javax.jms.JMSException
javax.jms.JMSException
- for any JMS errorpublic void destroy() throws javax.jms.JMSException
javax.jms.JMSException
- for any JMS errorpublic java.lang.String getConnectionId() throws javax.jms.JMSException
javax.jms.JMSException
- for any JMS error
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |