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

java.lang.Object
  extended by javax.xml.ws.Endpoint
      extended by com.sun.xml.ws.transport.http.server.EndpointImpl

public class EndpointImpl
extends Endpoint

Implements Endpoint.

This class accumulates the information necessary to create WSEndpoint, and then when publish(java.lang.String) method is called it will be created.

This object also allows accumulated information to be retrieved.


Field Summary
 
Fields inherited from class javax.xml.ws.Endpoint
WSDL_PORT, WSDL_SERVICE
 
Constructor Summary
EndpointImpl(BindingID bindingId, Class implClass, Invoker invoker, WebServiceFeature... features)
           
EndpointImpl(BindingID bindingId, Object impl, WebServiceFeature... features)
           
EndpointImpl(WSEndpoint wse, Object serverContext)
          Deprecated. This is a backdoor method. Don't use it unless you know what you are doing.
EndpointImpl(WSEndpoint wse, Object serverContext, EndpointContext ctxt)
          Deprecated. This is a backdoor method. Don't use it unless you know what you are doing.
EndpointImpl(WSEndpoint wse, String address)
          Deprecated. This is a backdoor method. Don't use it unless you know what you are doing.
EndpointImpl(WSEndpoint wse, String address, EndpointContext ctxt)
          Deprecated. This is a backdoor method. Don't use it unless you know what you are doing.
 
Method Summary
 Binding getBinding()
           
<T extends EndpointReference>
T
getEndpointReference(Class<T> clazz, Element... referenceParameters)
           
 EndpointReference getEndpointReference(Element... referenceParameters)
           
 Executor getExecutor()
           
 Object getImplementor()
           
 List<Source> getMetadata()
           
 Map<String,Object> getProperties()
           
 boolean isPublished()
           
 void publish(HttpContext serverContext)
           
 void publish(Object serverContext)
           
 void publish(String address)
           
 void setEndpointContext(EndpointContext ctxt)
           
 void setExecutor(Executor executor)
           
 void setMetadata(List<Source> metadata)
           
 void setProperties(Map<String,Object> map)
           
 void stop()
           
 
Methods inherited from class javax.xml.ws.Endpoint
create, create, publish
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointImpl

public EndpointImpl(@NotNull
                    BindingID bindingId,
                    @NotNull
                    Object impl,
                    WebServiceFeature... features)

EndpointImpl

public EndpointImpl(@NotNull
                    BindingID bindingId,
                    @NotNull
                    Class implClass,
                    Invoker invoker,
                    WebServiceFeature... features)

EndpointImpl

public EndpointImpl(WSEndpoint wse,
                    Object serverContext)
Deprecated. This is a backdoor method. Don't use it unless you know what you are doing.

Wraps an already created WSEndpoint into an EndpointImpl, and immediately publishes it with the given context.

Parameters:
wse - created endpoint
serverContext - supported http context

EndpointImpl

public EndpointImpl(WSEndpoint wse,
                    Object serverContext,
                    EndpointContext ctxt)
Deprecated. This is a backdoor method. Don't use it unless you know what you are doing.

Wraps an already created WSEndpoint into an EndpointImpl, and immediately publishes it with the given context.

Parameters:
wse - created endpoint
serverContext - supported http context
ctxt - endpoint context

EndpointImpl

public EndpointImpl(WSEndpoint wse,
                    String address)
Deprecated. This is a backdoor method. Don't use it unless you know what you are doing.

Wraps an already created WSEndpoint into an EndpointImpl, and immediately publishes it with the given context.

Parameters:
wse - created endpoint
address - endpoint address

EndpointImpl

public EndpointImpl(WSEndpoint wse,
                    String address,
                    EndpointContext ctxt)
Deprecated. This is a backdoor method. Don't use it unless you know what you are doing.

Wraps an already created WSEndpoint into an EndpointImpl, and immediately publishes it with the given context.

Parameters:
wse - created endpoint
address - endpoint address
ctxt - endpoint context
Method Detail

getBinding

public Binding getBinding()
Specified by:
getBinding in class Endpoint

getImplementor

public Object getImplementor()
Specified by:
getImplementor in class Endpoint

publish

public void publish(String address)
Specified by:
publish in class Endpoint

publish

public void publish(Object serverContext)
Specified by:
publish in class Endpoint

publish

public void publish(HttpContext serverContext)

stop

public void stop()
Specified by:
stop in class Endpoint

isPublished

public boolean isPublished()
Specified by:
isPublished in class Endpoint

getMetadata

public List<Source> getMetadata()
Specified by:
getMetadata in class Endpoint

setMetadata

public void setMetadata(List<Source> metadata)
Specified by:
setMetadata in class Endpoint

getExecutor

public Executor getExecutor()
Specified by:
getExecutor in class Endpoint

setExecutor

public void setExecutor(Executor executor)
Specified by:
setExecutor in class Endpoint

getProperties

public Map<String,Object> getProperties()
Specified by:
getProperties in class Endpoint

setProperties

public void setProperties(Map<String,Object> map)
Specified by:
setProperties in class Endpoint

getEndpointReference

public EndpointReference getEndpointReference(Element... referenceParameters)
Specified by:
getEndpointReference in class Endpoint

getEndpointReference

public <T extends EndpointReference> T getEndpointReference(Class<T> clazz,
                                                            Element... referenceParameters)
Specified by:
getEndpointReference in class Endpoint

setEndpointContext

public void setEndpointContext(EndpointContext ctxt)


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.