org.apache.geronimo.connector.outbound
Class ManagedConnectionInfo

java.lang.Object
  extended by org.apache.geronimo.connector.outbound.ManagedConnectionInfo

public class ManagedConnectionInfo
extends Object

ConnectionRequest.java Created: Thu Sep 25 14:29:07 2003

Version:
1.0

Constructor Summary
ManagedConnectionInfo(ManagedConnectionFactory managedConnectionFactory, ConnectionRequestInfo connectionRequestInfo)
           
 
Method Summary
 void addConnectionHandle(ConnectionInfo connectionInfo)
           
 void clearConnectionHandles()
           
 Collection<ConnectionInfo> getConnectionInfos()
           
 ConnectionRequestInfo getConnectionRequestInfo()
           
 long getLastUsed()
           
 ManagedConnection getManagedConnection()
           
 ManagedConnectionFactory getManagedConnectionFactory()
           
 ConnectionInterceptor getPoolInterceptor()
           
 Subject getSubject()
           
 XAResource getXAResource()
           
 boolean hasConnectionHandles()
           
 boolean hasConnectionInfo(ConnectionInfo connectionInfo)
           
 boolean isFirstConnectionInfo(ConnectionInfo connectionInfo)
           
 void removeConnectionHandle(ConnectionInfo connectionInfo)
           
 boolean securityMatches(ManagedConnectionInfo other)
           
 void setConnectionEventListener(GeronimoConnectionEventListener listener)
           
 void setConnectionRequestInfo(ConnectionRequestInfo cri)
           
 void setLastUsed(long lastUsed)
           
 void setManagedConnection(ManagedConnection managedConnection)
           
 void setManagedConnectionFactory(ManagedConnectionFactory managedConnectionFactory)
           
 void setPoolInterceptor(ConnectionInterceptor poolInterceptor)
           
 void setSubject(Subject subject)
           
 void setXAResource(XAResource xares)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedConnectionInfo

public ManagedConnectionInfo(ManagedConnectionFactory managedConnectionFactory,
                             ConnectionRequestInfo connectionRequestInfo)
Method Detail

getManagedConnectionFactory

public ManagedConnectionFactory getManagedConnectionFactory()

setManagedConnectionFactory

public void setManagedConnectionFactory(ManagedConnectionFactory managedConnectionFactory)

getConnectionRequestInfo

public ConnectionRequestInfo getConnectionRequestInfo()

setConnectionRequestInfo

public void setConnectionRequestInfo(ConnectionRequestInfo cri)

getSubject

public Subject getSubject()

setSubject

public void setSubject(Subject subject)

getManagedConnection

public ManagedConnection getManagedConnection()

setManagedConnection

public void setManagedConnection(ManagedConnection managedConnection)

getXAResource

public XAResource getXAResource()

setXAResource

public void setXAResource(XAResource xares)

getLastUsed

public long getLastUsed()

setLastUsed

public void setLastUsed(long lastUsed)

setPoolInterceptor

public void setPoolInterceptor(ConnectionInterceptor poolInterceptor)

getPoolInterceptor

public ConnectionInterceptor getPoolInterceptor()

setConnectionEventListener

public void setConnectionEventListener(GeronimoConnectionEventListener listener)

addConnectionHandle

public void addConnectionHandle(ConnectionInfo connectionInfo)

removeConnectionHandle

public void removeConnectionHandle(ConnectionInfo connectionInfo)

hasConnectionHandles

public boolean hasConnectionHandles()

clearConnectionHandles

public void clearConnectionHandles()

getConnectionInfos

public Collection<ConnectionInfo> getConnectionInfos()

securityMatches

public boolean securityMatches(ManagedConnectionInfo other)

hasConnectionInfo

public boolean hasConnectionInfo(ConnectionInfo connectionInfo)

isFirstConnectionInfo

public boolean isFirstConnectionInfo(ConnectionInfo connectionInfo)


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.