org.jboss.jms.server.endpoint.advised
Class ConnectionAdvised
java.lang.Object
org.jboss.jms.server.endpoint.advised.AdvisedSupport
org.jboss.jms.server.endpoint.advised.ConnectionAdvised
- All Implemented Interfaces:
- Closeable, ConnectionEndpoint
- public class ConnectionAdvised
- extends AdvisedSupport
- implements ConnectionEndpoint
The server-side advised instance corresponding to a Connection. It is bound to the AOP
Dispatcher's map.
- Version:
- $Revision: 1323 $
$Id: ConnectionAdvised.java 1323 2006-09-20 00:48:57Z ovidiu.feodorov@jboss.com $
- Author:
- Tim Fox, Ovidiu Feodorov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
endpoint
protected ConnectionEndpoint endpoint
ConnectionAdvised
public ConnectionAdvised(ConnectionEndpoint endpoint)
close
public void close()
throws JMSException
- Description copied from interface:
Closeable
- Close the instance
- Specified by:
close
in interface Closeable
- Throws:
JMSException
closing
public void closing()
throws JMSException
- Description copied from interface:
Closeable
- Tell the instance to prepare to close
- Specified by:
closing
in interface Closeable
- Throws:
JMSException
isClosed
public boolean isClosed()
- Specified by:
isClosed
in interface Closeable
createSessionDelegate
public SessionDelegate createSessionDelegate(boolean transacted,
int acknowledgmentMode,
boolean isXA)
throws JMSException
- Specified by:
createSessionDelegate
in interface ConnectionEndpoint
- Throws:
JMSException
getClientID
public java.lang.String getClientID()
throws JMSException
- Specified by:
getClientID
in interface ConnectionEndpoint
- Throws:
JMSException
setClientID
public void setClientID(java.lang.String id)
throws JMSException
- Specified by:
setClientID
in interface ConnectionEndpoint
- Throws:
JMSException
start
public void start()
throws JMSException
- Specified by:
start
in interface ConnectionEndpoint
- Throws:
JMSException
stop
public void stop()
throws JMSException
- Specified by:
stop
in interface ConnectionEndpoint
- Throws:
JMSException
sendTransaction
public void sendTransaction(TransactionRequest request)
throws JMSException
- Specified by:
sendTransaction
in interface ConnectionEndpoint
- Throws:
JMSException
getPreparedTransactions
public javax.transaction.xa.Xid[] getPreparedTransactions()
throws JMSException
- Specified by:
getPreparedTransactions
in interface ConnectionEndpoint
- Throws:
JMSException
getEndpoint
public java.lang.Object getEndpoint()
- Specified by:
getEndpoint
in class AdvisedSupport
toString
public java.lang.String toString()
Copyright © 2006 JBoss Inc. All Rights Reserved.