|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JmsConnectionStubIfc
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 |
---|
JmsSessionStubIfc createSession(int ackMode, boolean transacted) throws javax.jms.JMSException
ackMode
- the session ack modetransacted
- true
if it is a transacted session
javax.jms.JMSException
- for any JMS errorvoid close() throws javax.jms.JMSException
javax.jms.JMSException
- for any JMS errorvoid destroy() throws javax.jms.JMSException
javax.jms.JMSException
- for any JMS errorjava.lang.String getConnectionId() throws javax.jms.JMSException
javax.jms.JMSException
- for any JMS error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |