public class ConnectionFactoryImpl extends Object implements HazelcastConnectionFactory
Constructor and Description |
---|
ConnectionFactoryImpl() |
ConnectionFactoryImpl(ManagedConnectionFactoryImpl mcf,
javax.resource.spi.ConnectionManager cm) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
HazelcastConnection |
getConnection() |
HazelcastConnection |
getConnection(javax.resource.cci.ConnectionSpec connSpec) |
javax.resource.cci.ResourceAdapterMetaData |
getMetaData() |
javax.resource.cci.RecordFactory |
getRecordFactory() |
Reference |
getReference() |
int |
hashCode() |
void |
setId(int id) |
void |
setReference(Reference ref) |
String |
toString() |
public ConnectionFactoryImpl()
public ConnectionFactoryImpl(ManagedConnectionFactoryImpl mcf, javax.resource.spi.ConnectionManager cm)
public HazelcastConnection getConnection() throws javax.resource.ResourceException
getConnection
in interface HazelcastConnectionFactory
getConnection
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
HazelcastConnection
public HazelcastConnection getConnection(javax.resource.cci.ConnectionSpec connSpec) throws javax.resource.ResourceException
getConnection
in interface HazelcastConnectionFactory
getConnection
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
HazelcastConnection
public javax.resource.cci.ResourceAdapterMetaData getMetaData() throws javax.resource.ResourceException
getMetaData
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
public javax.resource.cci.RecordFactory getRecordFactory() throws javax.resource.ResourceException
getRecordFactory
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
public void setReference(Reference ref)
public Reference getReference() throws NamingException
getReference
in interface Referenceable
NamingException
public void setId(int id)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.