it.imolinfo.jbi4cics.connection.jca.cics
Class CICSConnectionManager

java.lang.Object
  extended by it.imolinfo.jbi4cics.connection.jca.JCAAbstractConnectionManager
      extended by it.imolinfo.jbi4cics.connection.jca.JCACommareaBasedConnectionManager
          extended by it.imolinfo.jbi4cics.connection.jca.cics.CICSConnectionManager
All Implemented Interfaces:
ConnectionManager

public class CICSConnectionManager
extends JCACommareaBasedConnectionManager

Author:
raffaele, marcopiraccini

Constructor Summary
CICSConnectionManager()
           
 
Method Summary
protected  javax.resource.cci.ConnectionSpec createConnectionSpec(ServiceContext serviceContext)
          Inits and retruns a inited ConnectionSpec.
protected  javax.resource.cci.InteractionSpec createInteractionSpec(ServiceContext serviceContext)
          Returns a correctly configured InteractionSpce.
protected  void invokeMethodWithOneIntParam(java.lang.Object obj, java.lang.String methodName, int methodParam)
          Use reflection to invoke a void method with one int parameter.
protected  void invokeMethodWithOneStringParam(java.lang.Object obj, java.lang.String methodName, java.lang.String methodParam)
          Use reflection to invoke a void method with one String parameter.
 
Methods inherited from class it.imolinfo.jbi4cics.connection.jca.JCACommareaBasedConnectionManager
createInputRecord, createOutputMessage, createOutputRecord
 
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

CICSConnectionManager

public CICSConnectionManager()
Method Detail

createConnectionSpec

protected javax.resource.cci.ConnectionSpec createConnectionSpec(ServiceContext serviceContext)
                                                          throws ConnectionException
Inits and retruns a inited ConnectionSpec.

Specified by:
createConnectionSpec in class JCACommareaBasedConnectionManager
Parameters:
serviceContext - The service context
Returns:
ConnectionSpec The connection spec
Throws:
ConnectionException - The connection exception

createInteractionSpec

protected javax.resource.cci.InteractionSpec createInteractionSpec(ServiceContext serviceContext)
                                                            throws ConnectionException
Returns a correctly configured InteractionSpce.

Specified by:
createInteractionSpec in class JCACommareaBasedConnectionManager
Parameters:
serviceContext - The service context
Returns:
InteractionSpec The interaction spec
Throws:
ConnectionException - The connection exception

invokeMethodWithOneStringParam

protected void invokeMethodWithOneStringParam(java.lang.Object obj,
                                              java.lang.String methodName,
                                              java.lang.String methodParam)
                                       throws ConnectionException
Use reflection to invoke a void method with one String parameter.

Parameters:
obj - The object
methodName - The method name
methodParam - The method param
Throws:
ConnectionException - The connection exception

invokeMethodWithOneIntParam

protected void invokeMethodWithOneIntParam(java.lang.Object obj,
                                           java.lang.String methodName,
                                           int methodParam)
                                    throws ConnectionException
Use reflection to invoke a void method with one int parameter.

Parameters:
obj - The object
methodName - The method name
methodParam - The method param
Throws:
ConnectionException - The connection exception


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