com.hazelcast.jca
Interface HazelcastConnectionFactory

All Superinterfaces:
javax.resource.cci.ConnectionFactory, Referenceable, Serializable
All Known Implementing Classes:
ConnectionFactoryImpl

public interface HazelcastConnectionFactory
extends javax.resource.cci.ConnectionFactory

Interface to allow safe access to Hazelcast's connection interface without casting


Method Summary
 HazelcastConnection getConnection()
           
 HazelcastConnection getConnection(javax.resource.cci.ConnectionSpec connSpec)
           
 
Methods inherited from interface javax.resource.cci.ConnectionFactory
getMetaData, getRecordFactory
 
Methods inherited from interface javax.resource.Referenceable
setReference
 
Methods inherited from interface javax.naming.Referenceable
getReference
 

Method Detail

getConnection

HazelcastConnection getConnection()
                                  throws javax.resource.ResourceException
Specified by:
getConnection in interface javax.resource.cci.ConnectionFactory
Returns:
access to the real bridging object to access Hazelcast's infrastructure
Throws:
javax.resource.ResourceException
See Also:
HazelcastConnection

getConnection

HazelcastConnection getConnection(javax.resource.cci.ConnectionSpec connSpec)
                                  throws javax.resource.ResourceException
Specified by:
getConnection in interface javax.resource.cci.ConnectionFactory
Returns:
access to the real bridging object to access Hazelcast's infrastructure
Throws:
javax.resource.ResourceException
See Also:
HazelcastConnection


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.