|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.net.connector.AbstractManagedConnection
public abstract class AbstractManagedConnection
Abstract implementation of the ManagedConnection
interface.
Constructor Summary | |
---|---|
AbstractManagedConnection()
Construct a new AbstractManagedConnection . |
Method Summary | |
---|---|
protected ManagedConnectionListener |
getConnectionEventListener()
Returns the connection event listener. |
protected void |
notifyClosed()
Notifies when the peer closes the physical connection. |
protected void |
notifyError(java.lang.Throwable error)
Notifies of an error on the physical connection. |
void |
setConnectionEventListener(ManagedConnectionListener listener)
Registers a connection event listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.exolab.jms.net.connector.ManagedConnection |
---|
destroy, getConnection, getLocalURI, getPrincipal, getRemoteURI, ping, setInvocationHandler |
Constructor Detail |
---|
public AbstractManagedConnection()
AbstractManagedConnection
.
Method Detail |
---|
public void setConnectionEventListener(ManagedConnectionListener listener) throws ResourceException
setConnectionEventListener
in interface ManagedConnection
listener
- the connection event listener
ResourceException
- for any errorprotected void notifyClosed()
protected void notifyError(java.lang.Throwable error)
error
- the errorprotected ManagedConnectionListener getConnectionEventListener()
null
if no
listener is registered
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |