Package org.objectweb.joram.client.jms
Class ContextConnection
- java.lang.Object
-
- org.objectweb.joram.client.jms.ContextConnection
-
class ContextConnection extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private booleanautoStartprivate Connectionconnectionprivate intcounterprivate booleanlockClientID
-
Constructor Summary
Constructors Constructor Description ContextConnection(Connection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidclose()SessioncreateSession()(package private) SessioncreateSession(int mode)(package private) booleangetAutoStart()StringgetClientID()ExceptionListenergetExceptionListener()ConnectionMetaDatagetMetaData()(package private) voidlockClientID()(package private) voidsetAutoStart(boolean autoStart)voidsetClientID(String clientID)voidsetExceptionListener(ExceptionListener listener)voidstart()voidstop()
-
-
-
Field Detail
-
counter
private int counter
-
autoStart
private boolean autoStart
-
connection
private Connection connection
-
lockClientID
private boolean lockClientID
-
-
Constructor Detail
-
ContextConnection
ContextConnection(Connection connection)
-
-
Method Detail
-
lockClientID
void lockClientID()
-
createSession
public Session createSession() throws JMSException
- Throws:
JMSException
-
createSession
Session createSession(int mode) throws JMSException
- Throws:
JMSException
-
close
void close() throws JMSException- Throws:
JMSException
-
start
public void start()
-
stop
public void stop()
-
getMetaData
public ConnectionMetaData getMetaData()
-
getExceptionListener
public ExceptionListener getExceptionListener()
-
setExceptionListener
public void setExceptionListener(ExceptionListener listener)
-
getClientID
public String getClientID()
-
setClientID
public void setClientID(String clientID)
-
setAutoStart
void setAutoStart(boolean autoStart)
-
getAutoStart
boolean getAutoStart()
-
-