org.apache.wsif.providers.java
Class WSIFPort_Java
java.lang.Object
|
+--org.apache.wsif.base.WSIFDefaultPort
|
+--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
- See Also:
- Serialized Form
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()
Gets the service object. |
javax.wsdl.Port |
getPortModel()
Gets the WSDL4J Port asscociated with this WSIFPort |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 objectport
- the WSDL4J Port this WSIFPort_Java representstypeMap
- the WSIF type mappings (TODO: not used)
createOperation
public WSIFOperation createOperation(java.lang.String operationName)
throws WSIFException
- Creates a WSIFOperation for the given operation name
- 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
- 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()
throws WSIFException
- Gets the service object.
- Returns:
- Object the service object instance
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, 2003 Apache XML Project. All Rights Reserved.