it.imolinfo.jbi4cics.connection.jca
Class JCACommareaBasedConnectionManager

java.lang.Object
  extended by it.imolinfo.jbi4cics.connection.jca.JCAAbstractConnectionManager
      extended by it.imolinfo.jbi4cics.connection.jca.JCACommareaBasedConnectionManager
All Implemented Interfaces:
ConnectionManager
Direct Known Subclasses:
CICSConnectionManager, IMSConnectionManager

public abstract class JCACommareaBasedConnectionManager
extends JCAAbstractConnectionManager

Author:
raffaele

Constructor Summary
JCACommareaBasedConnectionManager()
           
 
Method Summary
protected abstract  javax.resource.cci.ConnectionSpec createConnectionSpec(ServiceContext serviceContext)
           
protected  javax.resource.cci.Record createInputRecord(ServiceContext serviceContext)
           
protected abstract  javax.resource.cci.InteractionSpec createInteractionSpec(ServiceContext serviceContext)
           
protected  java.lang.Object createOutputMessage(ServiceContext serviceContext, javax.resource.cci.Record outputRecord)
           
protected  javax.resource.cci.Record createOutputRecord(ServiceContext serviceContext)
           
 
Methods inherited from class it.imolinfo.jbi4cics.connection.jca.JCAAbstractConnectionManager
createConnection, createInteraction, getConnectorClassLoader, handleCall, releaseResources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCACommareaBasedConnectionManager

public JCACommareaBasedConnectionManager()
Method Detail

createOutputMessage

protected java.lang.Object createOutputMessage(ServiceContext serviceContext,
                                               javax.resource.cci.Record outputRecord)
                                        throws ConnectionException
Specified by:
createOutputMessage in class JCAAbstractConnectionManager
Parameters:
serviceContext - The service context
outputRecord - The output record
Returns:
The created output message
Throws:
ConnectionException - The connection exception

createOutputRecord

protected javax.resource.cci.Record createOutputRecord(ServiceContext serviceContext)
                                                throws ConnectionException
Specified by:
createOutputRecord in class JCAAbstractConnectionManager
Parameters:
serviceContext - The service context
Returns:
Record The output record created
Throws:
ConnectionException - The connection exception

createInputRecord

protected javax.resource.cci.Record createInputRecord(ServiceContext serviceContext)
                                               throws ConnectionException
Specified by:
createInputRecord in class JCAAbstractConnectionManager
Parameters:
serviceContext - The service context
Returns:
Record The input record created
Throws:
ConnectionException - The connection exception

createInteractionSpec

protected abstract javax.resource.cci.InteractionSpec createInteractionSpec(ServiceContext serviceContext)
                                                                     throws ConnectionException
Specified by:
createInteractionSpec in class JCAAbstractConnectionManager
Parameters:
serviceContext - The service context
Returns:
InteractionSpec Iteraction spec
Throws:
ConnectionException - The connection exception

createConnectionSpec

protected abstract javax.resource.cci.ConnectionSpec createConnectionSpec(ServiceContext serviceContext)
                                                                   throws ConnectionException
Specified by:
createConnectionSpec in class JCAAbstractConnectionManager
Parameters:
serviceContext - The service context
Returns:
ConnectionSpec The connection spec
Throws:
ConnectionException - The connection exception


Copyright © 2005-2008 Imola Informatica. All Rights Reserved.