org.jboss.soa.esb.listeners.config
Class WebserviceInfo

java.lang.Object
  extended by org.jboss.soa.esb.listeners.config.WebserviceInfo

public class WebserviceInfo
extends java.lang.Object

Webservice information required to expose the service.

Author:
Kevin Conner

Constructor Summary
WebserviceInfo(Service service, java.lang.String inXsd, java.lang.String outXsd, java.lang.String faultXsd, java.lang.String description, boolean requestResponse)
          Construct the webservice information.
WebserviceInfo(Service service, java.lang.String inXsd, java.lang.String outXsd, java.lang.String faultXsd, java.lang.String description, boolean requestResponse, java.lang.String requestLocation, java.lang.String responseLocation, boolean addressing)
          Construct the webservice information.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Test for equality.
 java.lang.String getDescription()
          Get the service description.
 java.lang.String getFaultXsd()
          Get the fault schema.
 java.lang.String getInXsd()
          Get the input schema.
 java.lang.String getOutXsd()
          Get the output schema.
 java.lang.String getRequestLocation()
          Get the request location within the message.
 java.lang.String getResponseLocation()
          Get the response location within the message.
 Service getService()
          Get the service details.
 int hashCode()
          Get the instance hash code.
 boolean isAddressing()
          Does the endpoint require addressing?
 boolean isRequestResponse()
          Is this a defined request/response service?
 java.lang.String toString()
          Get a string representation of this instance.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebserviceInfo

public WebserviceInfo(Service service,
                      java.lang.String inXsd,
                      java.lang.String outXsd,
                      java.lang.String faultXsd,
                      java.lang.String description,
                      boolean requestResponse)
Construct the webservice information.

Parameters:
service - The associated service details.
inXsd - The input schema.
outXsd - The output schema.
faultXsd - The fault schemas.
description - The service description.
requestResponse - The service request/response flag.

WebserviceInfo

public WebserviceInfo(Service service,
                      java.lang.String inXsd,
                      java.lang.String outXsd,
                      java.lang.String faultXsd,
                      java.lang.String description,
                      boolean requestResponse,
                      java.lang.String requestLocation,
                      java.lang.String responseLocation,
                      boolean addressing)
Construct the webservice information.

Parameters:
service - The associated service details.
inXsd - The input schema.
outXsd - The output schema.
faultXsd - The fault schemas.
description - The service description.
requestResponse - The service request/response flag.
requestLocation - The request location within the message.
responseLocation - The response location within the message.
addressing - Does the endpoint require addressing?
Method Detail

getService

public Service getService()
Get the service details.

Returns:
The service details.

getInXsd

public java.lang.String getInXsd()
Get the input schema.

Returns:
The input schema.

getOutXsd

public java.lang.String getOutXsd()
Get the output schema.

Returns:
The output schema.

getFaultXsd

public java.lang.String getFaultXsd()
Get the fault schema.

Returns:
The fault schema.

getDescription

public java.lang.String getDescription()
Get the service description.

Returns:
The service description.

isRequestResponse

public boolean isRequestResponse()
Is this a defined request/response service?

Returns:
true if it is a request/response service, false otherwise.

getRequestLocation

public java.lang.String getRequestLocation()
Get the request location within the message.

Returns:
The request location.

getResponseLocation

public java.lang.String getResponseLocation()
Get the response location within the message.

Returns:
The response location.

isAddressing

public boolean isAddressing()
Does the endpoint require addressing?

Returns:

equals

public boolean equals(java.lang.Object obj)
Test for equality.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The object to compare with
Returns:
true if equal, false otherwise.

hashCode

public int hashCode()
Get the instance hash code.

Overrides:
hashCode in class java.lang.Object
Returns:
the instance hash code.

toString

public java.lang.String toString()
Get a string representation of this instance.

Overrides:
toString in class java.lang.Object
Returns:
the string representation.