- java.lang.Object
-
- javax.xml.ws.Endpoint
-
- com.sun.xml.ws.transport.http.server.EndpointImpl
-
public class EndpointImpl extends Endpoint
ImplementsEndpoint. This class accumulates the information necessary to createWSEndpoint, and then whenpublish(java.lang.String)method is called it will be created. This object also allows accumulated information to be retrieved.- Author:
- Jitendra Kotamraju
-
-
Field Summary
-
Fields inherited from class javax.xml.ws.Endpoint
WSDL_PORT, WSDL_SERVICE
-
-
Constructor Summary
Constructors Constructor Description 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.EndpointImpl(WSEndpoint wse, Object serverContext, EndpointContext ctxt)Deprecated.This is a backdoor method.EndpointImpl(WSEndpoint wse, String address)Deprecated.This is a backdoor method.EndpointImpl(WSEndpoint wse, String address, EndpointContext ctxt)Deprecated.This is a backdoor method.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BindinggetBinding()<T extends EndpointReference>
TgetEndpointReference(Class<T> clazz, Element... referenceParameters)EndpointReferencegetEndpointReference(Element... referenceParameters)ExecutorgetExecutor()ObjectgetImplementor()List<Source>getMetadata()Map<String,Object>getProperties()booleanisPublished()voidpublish(Object serverContext)voidpublish(String address)voidpublish(HttpContext serverContext)voidsetEndpointContext(EndpointContext ctxt)voidsetExecutor(Executor executor)voidsetMetadata(List<Source> metadata)voidsetProperties(Map<String,Object> map)voidstop()
-
-
-
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 createdWSEndpointinto anEndpointImpl, and immediately publishes it with the given context.- Parameters:
wse- created endpointserverContext- 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 createdWSEndpointinto anEndpointImpl, and immediately publishes it with the given context.- Parameters:
wse- created endpointserverContext- supported http contextctxt- 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 createdWSEndpointinto anEndpointImpl, and immediately publishes it with the given context.- Parameters:
wse- created endpointaddress- 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 createdWSEndpointinto anEndpointImpl, and immediately publishes it with the given context.- Parameters:
wse- created endpointaddress- endpoint addressctxt- endpoint context
-
-
Method Detail
-
getBinding
public Binding getBinding()
- Specified by:
getBindingin classEndpoint
-
getImplementor
public Object getImplementor()
- Specified by:
getImplementorin classEndpoint
-
publish
public void publish(HttpContext serverContext)
-
isPublished
public boolean isPublished()
- Specified by:
isPublishedin classEndpoint
-
getMetadata
public List<Source> getMetadata()
- Specified by:
getMetadatain classEndpoint
-
setMetadata
public void setMetadata(List<Source> metadata)
- Specified by:
setMetadatain classEndpoint
-
getExecutor
public Executor getExecutor()
- Specified by:
getExecutorin classEndpoint
-
setExecutor
public void setExecutor(Executor executor)
- Specified by:
setExecutorin classEndpoint
-
getProperties
public Map<String,Object> getProperties()
- Specified by:
getPropertiesin classEndpoint
-
setProperties
public void setProperties(Map<String,Object> map)
- Specified by:
setPropertiesin classEndpoint
-
getEndpointReference
public EndpointReference getEndpointReference(Element... referenceParameters)
- Specified by:
getEndpointReferencein classEndpoint
-
getEndpointReference
public <T extends EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters)
- Specified by:
getEndpointReferencein classEndpoint
-
setEndpointContext
public void setEndpointContext(EndpointContext ctxt)
- Overrides:
setEndpointContextin classEndpoint
-
-