Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.storage.sql.ra
Class ConnectionRequestInfoImpl

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.ra.ConnectionRequestInfoImpl
All Implemented Interfaces:
javax.resource.spi.ConnectionRequestInfo

public class ConnectionRequestInfoImpl
extends java.lang.Object
implements javax.resource.spi.ConnectionRequestInfo

The connection request info encapsulates the credentials and other info passed when creating a Connection.

Its implementation is entirely specific to the resource adapter.

Author:
Florent Guillaume

Constructor Summary
ConnectionRequestInfoImpl()
           
ConnectionRequestInfoImpl(ConnectionSpecImpl connectionSpec)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 ConnectionSpecImpl getConnectionSpec()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionRequestInfoImpl

public ConnectionRequestInfoImpl()

ConnectionRequestInfoImpl

public ConnectionRequestInfoImpl(ConnectionSpecImpl connectionSpec)
Method Detail

getConnectionSpec

public ConnectionSpecImpl getConnectionSpec()

hashCode

public int hashCode()
Specified by:
hashCode in interface javax.resource.spi.ConnectionRequestInfo
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Specified by:
equals in interface javax.resource.spi.ConnectionRequestInfo
Overrides:
equals in class java.lang.Object

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.