it.imolinfo.jbi4cics.connection.jca.cics
Class CICSConnectionManager
java.lang.Object
it.imolinfo.jbi4cics.connection.jca.JCAAbstractConnectionManager
it.imolinfo.jbi4cics.connection.jca.JCACommareaBasedConnectionManager
it.imolinfo.jbi4cics.connection.jca.cics.CICSConnectionManager
- All Implemented Interfaces:
- ConnectionManager
public class CICSConnectionManager
- extends JCACommareaBasedConnectionManager
- Author:
- raffaele, marcopiraccini
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CICSConnectionManager
public CICSConnectionManager()
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 objectmethodName - The method namemethodParam - 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 objectmethodName - The method namemethodParam - The method param
- Throws:
ConnectionException - The connection exception
Copyright © 2005-2008 Imola Informatica. All Rights Reserved.