Class EndpointImpl
java.lang.Object
javax.xml.ws.Endpoint
com.sun.xml.ws.transport.http.server.EndpointImpl
public class EndpointImpl
extends javax.xml.ws.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.- Author:
- Jitendra Kotamraju
-
Field Summary
Fields inherited from class javax.xml.ws.Endpoint
WSDL_PORT, WSDL_SERVICE -
Constructor Summary
ConstructorsConstructorDescriptionEndpointImpl(BindingID bindingId, Class implClass, javax.xml.ws.spi.Invoker invoker, javax.xml.ws.WebServiceFeature... features) EndpointImpl(BindingID bindingId, Object impl, javax.xml.ws.WebServiceFeature... features) EndpointImpl(WSEndpoint wse, Object serverContext) Deprecated.This is a backdoor method.EndpointImpl(WSEndpoint wse, Object serverContext, javax.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, javax.xml.ws.EndpointContext ctxt) Deprecated.This is a backdoor method. -
Method Summary
Modifier and TypeMethodDescriptionjavax.xml.ws.Binding<T extends javax.xml.ws.EndpointReference>
TgetEndpointReference(Class<T> clazz, Element... referenceParameters) javax.xml.ws.EndpointReferencegetEndpointReference(Element... referenceParameters) booleanvoidvoidvoidpublish(javax.xml.ws.spi.http.HttpContext serverContext) voidsetEndpointContext(javax.xml.ws.EndpointContext ctxt) voidsetExecutor(Executor executor) voidsetMetadata(List<Source> metadata) voidsetProperties(Map<String, Object> map) voidstop()Methods inherited from class javax.xml.ws.Endpoint
create, create, create, create, publish, publish
-
Constructor Details
-
EndpointImpl
-
EndpointImpl
-
EndpointImpl
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
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
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
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 Details
-
getBinding
public javax.xml.ws.Binding getBinding()- Specified by:
getBindingin classjavax.xml.ws.Endpoint
-
getImplementor
- Specified by:
getImplementorin classjavax.xml.ws.Endpoint
-
publish
- Specified by:
publishin classjavax.xml.ws.Endpoint
-
publish
- Specified by:
publishin classjavax.xml.ws.Endpoint
-
publish
public void publish(javax.xml.ws.spi.http.HttpContext serverContext) - Overrides:
publishin classjavax.xml.ws.Endpoint
-
stop
public void stop()- Specified by:
stopin classjavax.xml.ws.Endpoint
-
isPublished
public boolean isPublished()- Specified by:
isPublishedin classjavax.xml.ws.Endpoint
-
getMetadata
- Specified by:
getMetadatain classjavax.xml.ws.Endpoint
-
setMetadata
- Specified by:
setMetadatain classjavax.xml.ws.Endpoint
-
getExecutor
- Specified by:
getExecutorin classjavax.xml.ws.Endpoint
-
setExecutor
- Specified by:
setExecutorin classjavax.xml.ws.Endpoint
-
getProperties
- Specified by:
getPropertiesin classjavax.xml.ws.Endpoint
-
setProperties
- Specified by:
setPropertiesin classjavax.xml.ws.Endpoint
-
getEndpointReference
- Specified by:
getEndpointReferencein classjavax.xml.ws.Endpoint
-
getEndpointReference
public <T extends javax.xml.ws.EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters) - Specified by:
getEndpointReferencein classjavax.xml.ws.Endpoint
-
setEndpointContext
public void setEndpointContext(javax.xml.ws.EndpointContext ctxt) - Overrides:
setEndpointContextin classjavax.xml.ws.Endpoint
-