biz.hammurapi.jms.adapter.jca
Interface ConnectionFactory

All Known Implementing Classes:
ConnectionFactoryImpl

public interface ConnectionFactory

Connection factory.

Author:
Pavel

Method Summary
 Connection getConnection(boolean stateful)
          Stateful connection caches proxy instances and as such retains conversational state if proxy services use local delegates.
 Connection getConnection(java.lang.Object state)
          Creates stateful connection with pre-set state.
 

Method Detail

getConnection

Connection getConnection(boolean stateful)
                         throws javax.resource.ResourceException
Stateful connection caches proxy instances and as such retains conversational state if proxy services use local delegates.

Parameters:
stateful -
Returns:
Throws:
javax.resource.ResourceException

getConnection

Connection getConnection(java.lang.Object state)
                         throws javax.resource.ResourceException
Creates stateful connection with pre-set state.

Parameters:
state - State obtained from previously used connection.
Returns:
Throws:
javax.resource.ResourceException


Copyright © 2006 Hammurapi Group. All Rights Reserved.