org.codehaus.enunciate.contract
Interface ServiceEndpoint

All Known Implementing Classes:
EndpointImplementation

public interface ServiceEndpoint

Common interface for service endpoints, whether they be service-oriented (i.e. SOAP) or resource-oriented (e.g. REST).

Author:
Ryan Heaton

Method Summary
 com.sun.mirror.declaration.TypeDeclaration getServiceEndpointDefaultImplementation()
          The default implementation of the service endpoint.
 java.lang.String getServiceEndpointId()
          A unique id for this service endpoint.
 com.sun.mirror.declaration.TypeDeclaration getServiceEndpointInterface()
          The interface that defines this service endpoint.
 

Method Detail

getServiceEndpointId

java.lang.String getServiceEndpointId()
A unique id for this service endpoint. Note that in the case where a specific class represents both a service-oriented endpoint and a resource-oriented endpoint, this id *should* be different depending on which endpoint it's representing.

Returns:
A unique id for this service endpoint.

getServiceEndpointInterface

com.sun.mirror.declaration.TypeDeclaration getServiceEndpointInterface()
The interface that defines this service endpoint.

Returns:
The interface that defines this service endpoint.

getServiceEndpointDefaultImplementation

com.sun.mirror.declaration.TypeDeclaration getServiceEndpointDefaultImplementation()
The default implementation of the service endpoint.

Returns:
The default implementation of the service endpoint.