com.sun.xml.ws.transport.http.server
Class HttpEndpoint

java.lang.Object
  extended by com.sun.xml.ws.api.server.HttpEndpoint
      extended by com.sun.xml.ws.transport.http.server.HttpEndpoint

public final class HttpEndpoint
extends HttpEndpoint

Hides HttpContext so that EndpointImpl may load even without HttpContext. TODO: But what's the point? If Light-weight HTTP server isn't present, all the publish operations will fail way. Why is it better to defer the failure, as opposed to cause the failure as earyl as possible? -KK


Constructor Summary
HttpEndpoint(WSEndpoint endpoint, Executor executor)
           
 
Method Summary
<T extends javax.xml.ws.EndpointReference>
T
getEndpointReference(Class<T> clazz, Element... referenceParameters)
           
 void publish(Object serverContext)
           
 void publish(String address)
          Publishes this endpoint at a localhost's http address.
 void stop()
          Stops the published endpoint
 
Methods inherited from class com.sun.xml.ws.api.server.HttpEndpoint
create
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpEndpoint

public HttpEndpoint(WSEndpoint endpoint,
                    Executor executor)
Method Detail

publish

public void publish(String address)
Description copied from class: HttpEndpoint
Publishes this endpoint at a localhost's http address.

Specified by:
publish in class HttpEndpoint
Parameters:
address - endpoint's http address for e.g http://localhost:8080/ctxt/pattern

publish

public void publish(Object serverContext)

stop

public void stop()
Description copied from class: HttpEndpoint
Stops the published endpoint

Specified by:
stop in class HttpEndpoint

getEndpointReference

public <T extends javax.xml.ws.EndpointReference> T getEndpointReference(Class<T> clazz,
                                                                         Element... referenceParameters)