JTR 5.0 API Documentation

jtr.config.ws
Class WebServicePort

java.lang.Object
  extended by jtr.config.ws.WebServicePort
All Implemented Interfaces:
java.io.Serializable

public class WebServicePort
extends java.lang.Object
implements java.io.Serializable

This class represents a port elements that can be found in a jtr.xml configuration file.
Semantically its content can be assimilated to the one represented by a WSDL port element.

Since:
3.0
Version:
5.0
Author:
Francesco Russo (frusso@dev.java.net)
See Also:
Serialized Form

Constructor Summary
WebServicePort()
          Default constructor.
 
Method Summary
 void addOperation(WebServiceOperation op)
          Add a single operation to the set of configured ones.
 java.lang.String getName()
          Get the operation name.
 WebServiceOperation getOperation(java.lang.String name)
          Get the operation named name.
 java.util.Collection<WebServiceOperation> getOperations()
          Get the collection of available operations.
 void setName(java.lang.String name)
          Get the port name.
 void setOperations(java.util.Collection<WebServiceOperation> operations)
          Set the collection of operations available with the current port.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServicePort

public WebServicePort()
Default constructor.

Method Detail

setName

public void setName(java.lang.String name)
Get the port name.

Parameters:
name -

setOperations

public void setOperations(java.util.Collection<WebServiceOperation> operations)
Set the collection of operations available with the current port.

Parameters:
operations -

getName

public java.lang.String getName()
Get the operation name.

Returns:
String

getOperations

public java.util.Collection<WebServiceOperation> getOperations()
Get the collection of available operations.

Returns:
Collection

addOperation

public void addOperation(WebServiceOperation op)
Add a single operation to the set of configured ones.

Parameters:
op -

getOperation

public WebServiceOperation getOperation(java.lang.String name)
Get the operation named name. If no such operation exists null is returned.

Parameters:
name -
Returns:
WebServiceOperation

The JTR Project is licensed under GPL version 2