public class CassandraDriverConnectionFactoryImpl extends Object implements CassandraDriverConnectionFactory
| Constructor and Description |
|---|
CassandraDriverConnectionFactoryImpl()
Default constructor
|
CassandraDriverConnectionFactoryImpl(CassandraDriverManagedConnectionFactory mcf,
javax.resource.spi.ConnectionManager cxManager)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
CassandraDriverConnection |
getConnection()
Get connection from factory
|
Reference |
getReference()
Get the Reference instance.
|
void |
setReference(Reference reference)
Set the Reference instance.
|
public CassandraDriverConnectionFactoryImpl()
public CassandraDriverConnectionFactoryImpl(CassandraDriverManagedConnectionFactory mcf, javax.resource.spi.ConnectionManager cxManager)
mcf - ManagedConnectionFactorycxManager - ConnectionManagerpublic CassandraDriverConnection getConnection() throws javax.resource.ResourceException
getConnection in interface CassandraDriverConnectionFactoryjavax.resource.ResourceException - Thrown if a connection can't be obtainedpublic Reference getReference() throws NamingException
getReference in interface ReferenceableNamingException - Thrown if a reference can't be obtainedpublic void setReference(Reference reference)
reference - A Reference instanceCopyright © 2015. All rights reserved.