org.apache.wsif.providers.java
Class WSIFPort_Java

java.lang.Object
  extended by org.apache.wsif.base.WSIFDefaultPort
      extended by org.apache.wsif.providers.java.WSIFPort_Java
All Implemented Interfaces:
java.io.Serializable, WSIFPort

public class WSIFPort_Java
extends WSIFDefaultPort
implements java.io.Serializable

Java WSIF Port. This implements the WSDL Java binding allowing a Java object to be used as a WSDL described service. The Class of the target service object is identified by the WSDL java:address element. Each instance of a WSIFPort_Java will instantiate a new instance of the target service class, and this instance will be shared by all WSIFOperations created from the WSIFPort.

Author:
Gerhard Pfau, Owen Burroughs , Jeremy Hughes , Ant Elder, Andrzej Taramina
See Also:
Serialized Form

Constructor Summary
WSIFPort_Java(javax.wsdl.Definition def, javax.wsdl.Port port, WSIFDynamicTypeMap typeMap)
          Construct a new instance of WSIFPort_Java
 
Method Summary
 WSIFOperation createOperation(java.lang.String operationName)
          Creates a WSIFOperation for the given operation name
 WSIFOperation createOperation(java.lang.String operationName, java.lang.String inputName, java.lang.String outputName)
          Creates a WSIFOperation for the given operation name
 java.lang.String deep()
          Used by WSIF Trc
 javax.wsdl.Definition getDefinition()
          Gets the WSDL4J Definition asscociated with this WSIFPort
 java.lang.Object getObjectReference(boolean getSingleton)
          Gets the service object.
 javax.wsdl.Port getPortModel()
          Gets the WSDL4J Port asscociated with this WSIFPort
 
Methods inherited from class org.apache.wsif.base.WSIFDefaultPort
close, finalize, getContext, setContext, supportsAsync, supportsSync
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSIFPort_Java

public WSIFPort_Java(javax.wsdl.Definition def,
                     javax.wsdl.Port port,
                     WSIFDynamicTypeMap typeMap)
              throws WSIFException
Construct a new instance of WSIFPort_Java

Parameters:
def - the WSDL4J Definintion object
port - the WSDL4J Port this WSIFPort_Java represents
typeMap - the WSIF type mappings (TODO: not used)
Throws:
WSIFException
Method Detail

createOperation

public WSIFOperation createOperation(java.lang.String operationName)
                              throws WSIFException
Creates a WSIFOperation for the given operation name

Specified by:
createOperation in interface WSIFPort
Parameters:
operationName - the name of an operation in this port's portType
Returns:
WSIFOperation the WSIFOperation
Throws:
WSIFException - if there is an exception creating the WSIFOperation
See Also:
WSIFPort.createOperation(String)

createOperation

public WSIFOperation createOperation(java.lang.String operationName,
                                     java.lang.String inputName,
                                     java.lang.String outputName)
                              throws WSIFException
Creates a WSIFOperation for the given operation name

Specified by:
createOperation in interface WSIFPort
Parameters:
operationName - the name of an operation in this port's portType
inputName - the input message name
outputName - the output message name
Returns:
WSIFOperation the WSIFOperation_ApacheAxis
Throws:
WSIFException - if there is an exception creating the WSIFOperation
See Also:
WSIFPort.createOperation(String, String, String)

getObjectReference

public java.lang.Object getObjectReference(boolean getSingleton)
                                    throws WSIFException
Gets the service object.

Returns:
Object the service object instance
Throws:
WSIFException

getDefinition

public javax.wsdl.Definition getDefinition()
Gets the WSDL4J Definition asscociated with this WSIFPort

Returns:
Definition the WSDL4J Definition object

getPortModel

public javax.wsdl.Port getPortModel()
Gets the WSDL4J Port asscociated with this WSIFPort

Returns:
Port the WSDL4J Port object

deep

public java.lang.String deep()
Used by WSIF Trc



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