org.hibersap.execution.jca.cci
Interface ConnectionSpecFactory

All Known Implementing Classes:
AbstractConnectionSpecFactory, SapBapiJcaAdapterConnectionSpecFactory

public interface ConnectionSpecFactory

Factory for creating instances of ConnectionSpec implementations. Decouples Hibersap from the ConnectionSpec implementation and thus from the actually used JCA implementation.

Author:
Carsten Erker

Method Summary
 javax.resource.cci.ConnectionSpec createConnectionSpec(Credentials credentials)
          Creates an instance of the ConnectionSpec implementation using the specified credentials.
 

Method Detail

createConnectionSpec

javax.resource.cci.ConnectionSpec createConnectionSpec(Credentials credentials)
                                                       throws InternalHiberSapException
Creates an instance of the ConnectionSpec implementation using the specified credentials.

Parameters:
credentials - The credentials to populate to the ConnectionSpec object.
Returns:
The ConnectionSpec object, initialized with the credential properties.
Throws:
InternalHiberSapException


Copyright © 2011 akquinet tech@spree GmbH. All Rights Reserved.