Print Page as PDF
gov.va.med.vistalink.adapter.cci.VistaLinkConnectionFactory ICR (5178)

gov.va.med.vistalink.adapter.cci.VistaLinkConnectionFactory    ICR (5178)

Name Value
NUMBER 5178
IA # 5178
DATE CREATED 2008/04/11
CUSTODIAL PACKAGE VISTALINK
USAGE Supported
TYPE Other
DBIC APPROVAL STATUS APPROVED
NAME gov.va.med.vistalink.adapter.cci.VistaLinkConnectionFactory
GENERAL DESCRIPTION
public class VistaLinkConnectionFactory extends
java.lang.Object implements javax.resource.cci.ConnectionFactory,
java.io.Serializable, javax.resource.Referenceable.

This implementation class provides an interface for getting connection to an
EIS instance. It should be retrieved via JNDI lookup from the J2EE container.
STATUS Active
KEYWORDS vistalink
DURATION Till Otherwise Agreed
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
getConnection()
public javax.resource.cci.Connection getConnection()
throws javax.resource.ResourceException

Gets a VistaLinkConnection handle for J2SE mode (no argument)

public javax.resource.cci.Connection
getConnection(javax.resource.cci.ConnectionSpec connectionSpec) throws
javax.resource.ResourceException

Gets a VistaLink connection in J2EE mode (connection spec argument).
VARIABLES TYPE VARIABLES DESCRIPTION
connectionSpec Input
javax.resource.cci.ConnectionSpec: For J2EE only.
Pass in a VistALink connectionSpec implementation to identify the end-user
under whose identity to execute RPCs. For J2SE, use the no-arg version of this
method.
return value Output
javax.resource.cci.Connection: returns a handle to a
connection from the connection pool.
throws Output
throws javax.resource.ResourceException.
DATE ACTIVATED 2008/07/11