org.apache.wsif.providers.jca
Class WSIFPort_JCA

java.lang.Object
  extended byorg.apache.wsif.base.WSIFDefaultPort
      extended byorg.apache.wsif.providers.jca.WSIFPort_JCA
All Implemented Interfaces:
java.io.Serializable, WSIFPort

public class WSIFPort_JCA
extends WSIFDefaultPort

The WSIFPort_JCA class is a connector architecture specific implementation of WSIFPort. This port has a handle to resource adapter connection, and is used to create WSIFOperation.

Author:
Michael Beisiegel, Piotr Przybylski
See Also:
Serialized Form

Constructor Summary
WSIFPort_JCA(javax.wsdl.Definition aDefinition, javax.wsdl.Service aService, javax.wsdl.Port aPort, Connection aConnection, WSIFProviderJCAExtensions aFactory, WSIFDynamicTypeMap typeMap)
          Constructor for WSIFPort_JCA.
 
Method Summary
 void close()
          Closes the javax.resource.cci.Connection associated with this port.
 WSIFOperation createOperation(java.lang.String aOperationName)
          Creates a WSIFOperation_JCA using the configured, Resource Adapter specific factory (i.e.
 WSIFOperation createOperation(java.lang.String aOperationName, java.lang.String aInputName, java.lang.String aOutputName)
          This method creates WSIFOperation_JCA using the configured, Resource Adapter specific factory (i.e.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.wsif.base.WSIFDefaultPort
finalize, getContext, setContext, supportsAsync, supportsSync
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WSIFPort_JCA

public WSIFPort_JCA(javax.wsdl.Definition aDefinition,
                    javax.wsdl.Service aService,
                    javax.wsdl.Port aPort,
                    Connection aConnection,
                    WSIFProviderJCAExtensions aFactory,
                    WSIFDynamicTypeMap typeMap)
Constructor for WSIFPort_JCA.

Parameters:
aDefinition -
aService -
aPort -
aConnection -
aFactory -
typeMap -
Method Detail

createOperation

public WSIFOperation createOperation(java.lang.String aOperationName,
                                     java.lang.String aInputName,
                                     java.lang.String aOutputName)
                              throws WSIFException
This method creates WSIFOperation_JCA using the configured, Resource Adapter specific factory (i.e. the implementor of WSIFProviderJCAExtensions).

Parameters:
aOperationName - the name of an operation in this port's portType
aInputName - the input message name
aOutputName - the output message name
Returns:
the new WSIFOperation
Throws:
WSIFException - if something goes wrong
See Also:
WSIFPort.createOperation(String, String, String)

createOperation

public WSIFOperation createOperation(java.lang.String aOperationName)
                              throws WSIFException
Creates a WSIFOperation_JCA using the configured, Resource Adapter specific factory (i.e. the implementor of WSIFProviderJCAExtensions).

Parameters:
aOperationName - the name of an operation in this port's portType
Returns:
the new WSIFOperation
Throws:
WSIFException - if something goes wrong
See Also:
WSIFPort.createOperation(String)

close

public void close()
Closes the javax.resource.cci.Connection associated with this port.

Specified by:
close in interface WSIFPort
Overrides:
close in class WSIFDefaultPort
See Also:
WSIFPort.close()

toString

public java.lang.String toString()


Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.