Class EndpointImpl
- java.lang.Object
-
- jakarta.xml.ws.Endpoint
-
- com.sun.xml.ws.transport.http.server.EndpointImpl
-
public class EndpointImpl extends jakarta.xml.ws.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
-
-
Constructor Summary
Constructors Constructor Description EndpointImpl(BindingID bindingId, Class implClass, jakarta.xml.ws.spi.Invoker invoker, jakarta.xml.ws.WebServiceFeature... features)
EndpointImpl(BindingID bindingId, Object impl, jakarta.xml.ws.WebServiceFeature... features)
EndpointImpl(WSEndpoint wse, Object serverContext)
Deprecated.This is a backdoor method.EndpointImpl(WSEndpoint wse, Object serverContext, jakarta.xml.ws.EndpointContext ctxt)
Deprecated.This is a backdoor method.EndpointImpl(WSEndpoint wse, String address)
Deprecated.This is a backdoor method.EndpointImpl(WSEndpoint wse, String address, jakarta.xml.ws.EndpointContext ctxt)
Deprecated.This is a backdoor method.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.xml.ws.Binding
getBinding()
<T extends jakarta.xml.ws.EndpointReference>
TgetEndpointReference(Class<T> clazz, Element... referenceParameters)
jakarta.xml.ws.EndpointReference
getEndpointReference(Element... referenceParameters)
Executor
getExecutor()
Object
getImplementor()
List<Source>
getMetadata()
Map<String,Object>
getProperties()
boolean
isPublished()
void
publish(jakarta.xml.ws.spi.http.HttpContext serverContext)
void
publish(Object serverContext)
void
publish(String address)
void
setEndpointContext(jakarta.xml.ws.EndpointContext ctxt)
void
setExecutor(Executor executor)
void
setMetadata(List<Source> metadata)
void
setProperties(Map<String,Object> map)
void
stop()
-
-
-
Constructor Detail
-
EndpointImpl
public EndpointImpl(@NotNull BindingID bindingId, @NotNull Object impl, jakarta.xml.ws.WebServiceFeature... features)
-
EndpointImpl
public EndpointImpl(@NotNull BindingID bindingId, @NotNull Class implClass, jakarta.xml.ws.spi.Invoker invoker, jakarta.xml.ws.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 createdWSEndpoint
into anEndpointImpl
, and immediately publishes it with the given context.- Parameters:
wse
- created endpointserverContext
- supported http context
-
EndpointImpl
public EndpointImpl(WSEndpoint wse, Object serverContext, jakarta.xml.ws.EndpointContext ctxt)
Deprecated.This is a backdoor method. Don't use it unless you know what you are doing.Wraps an already createdWSEndpoint
into 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 createdWSEndpoint
into anEndpointImpl
, and immediately publishes it with the given context.- Parameters:
wse
- created endpointaddress
- endpoint address
-
EndpointImpl
public EndpointImpl(WSEndpoint wse, String address, jakarta.xml.ws.EndpointContext ctxt)
Deprecated.This is a backdoor method. Don't use it unless you know what you are doing.Wraps an already createdWSEndpoint
into anEndpointImpl
, and immediately publishes it with the given context.- Parameters:
wse
- created endpointaddress
- endpoint addressctxt
- endpoint context
-
-
Method Detail
-
getBinding
public jakarta.xml.ws.Binding getBinding()
- Specified by:
getBinding
in classjakarta.xml.ws.Endpoint
-
getImplementor
public Object getImplementor()
- Specified by:
getImplementor
in classjakarta.xml.ws.Endpoint
-
publish
public void publish(String address)
- Specified by:
publish
in classjakarta.xml.ws.Endpoint
-
publish
public void publish(Object serverContext)
- Specified by:
publish
in classjakarta.xml.ws.Endpoint
-
publish
public void publish(jakarta.xml.ws.spi.http.HttpContext serverContext)
- Overrides:
publish
in classjakarta.xml.ws.Endpoint
-
stop
public void stop()
- Specified by:
stop
in classjakarta.xml.ws.Endpoint
-
isPublished
public boolean isPublished()
- Specified by:
isPublished
in classjakarta.xml.ws.Endpoint
-
getMetadata
public List<Source> getMetadata()
- Specified by:
getMetadata
in classjakarta.xml.ws.Endpoint
-
setMetadata
public void setMetadata(List<Source> metadata)
- Specified by:
setMetadata
in classjakarta.xml.ws.Endpoint
-
getExecutor
public Executor getExecutor()
- Specified by:
getExecutor
in classjakarta.xml.ws.Endpoint
-
setExecutor
public void setExecutor(Executor executor)
- Specified by:
setExecutor
in classjakarta.xml.ws.Endpoint
-
getProperties
public Map<String,Object> getProperties()
- Specified by:
getProperties
in classjakarta.xml.ws.Endpoint
-
setProperties
public void setProperties(Map<String,Object> map)
- Specified by:
setProperties
in classjakarta.xml.ws.Endpoint
-
getEndpointReference
public jakarta.xml.ws.EndpointReference getEndpointReference(Element... referenceParameters)
- Specified by:
getEndpointReference
in classjakarta.xml.ws.Endpoint
-
getEndpointReference
public <T extends jakarta.xml.ws.EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters)
- Specified by:
getEndpointReference
in classjakarta.xml.ws.Endpoint
-
setEndpointContext
public void setEndpointContext(jakarta.xml.ws.EndpointContext ctxt)
- Overrides:
setEndpointContext
in classjakarta.xml.ws.Endpoint
-
-