1 45 package org.exolab.jms.net.connector; 46 47 import org.exolab.jms.net.uri.URI; 48 49 50 59 public interface ManagedConnection { 60 61 69 void setInvocationHandler(InvocationHandler handler) 70 throws ResourceException; 71 72 78 void setConnectionEventListener(ManagedConnectionListener listener) 79 throws ResourceException; 80 81 89 Connection getConnection() throws ResourceException; 90 91 96 boolean isAlive(); 97 98 104 URI getRemoteURI() throws ResourceException; 105 106 112 URI getLocalURI() throws ResourceException; 113 114 119 void destroy() throws ResourceException; 120 121 } 122 | Popular Tags |