Methods Summary |
---|
public static javax.xml.ws.Endpoint | create(java.lang.Object implementor)Creates an endpoint with the specified implementor object. If there is
a binding specified via a BindingType annotation then it MUST be used else
a default of SOAP 1.1 / HTTP binding MUST be used.
The newly created endpoint may be published by calling
one of the {@link javax.xml.ws.Endpoint#publish(String)} and
{@link javax.xml.ws.Endpoint#publish(Object)} methods.
return create(null, implementor);
|
public static javax.xml.ws.Endpoint | create(java.lang.String bindingId, java.lang.Object implementor)Creates an endpoint with the specified binding type and
implementor object.
The newly created endpoint may be published by calling
one of the {@link javax.xml.ws.Endpoint#publish(String)} and
{@link javax.xml.ws.Endpoint#publish(Object)} methods.
return Provider.provider().createEndpoint(bindingId, implementor);
|
public abstract javax.xml.ws.Binding | getBinding()Returns the binding for this endpoint.
|
public abstract javax.xml.ws.EndpointReference | getEndpointReference(org.w3c.dom.Element referenceParameters)Returns the EndpointReference associated with
this Endpoint instance.
If the Binding for this bindingProvider is
either SOAP1.1/HTTP or SOAP1.2/HTTP, then a
W3CEndpointReference MUST be returned.
|
public abstract T | getEndpointReference(java.lang.Class clazz, org.w3c.dom.Element referenceParameters)Returns the EndpointReference associated with
this Endpoint instance.
|
public abstract java.util.concurrent.Executor | getExecutor()Returns the executor for this Endpoint instance.
The executor is used to dispatch an incoming request to
the implementor object.
|
public abstract java.lang.Object | getImplementor()Returns the implementation object for this endpoint.
|
public abstract java.util.List | getMetadata()Returns a list of metadata documents for the service.
|
public abstract java.util.Map | getProperties()Returns the property bag for this Endpoint instance.
|
public abstract boolean | isPublished()Returns true if the endpoint is in the published state.
|
public abstract void | publish(java.lang.String address)Publishes this endpoint at the given address.
The necessary server infrastructure will be created and
configured by the JAX-WS implementation using some default configuration.
In order to get more control over the server configuration, please
use the {@link javax.xml.ws.Endpoint#publish(Object)} method instead.
|
public static javax.xml.ws.Endpoint | publish(java.lang.String address, java.lang.Object implementor)Creates and publishes an endpoint for the specified implementor
object at the given address.
The necessary server infrastructure will be created and
configured by the JAX-WS implementation using some default configuration.
In order to get more control over the server configuration, please
use the {@link javax.xml.ws.Endpoint#create(String,Object)} and
{@link javax.xml.ws.Endpoint#publish(Object)} methods instead.
return Provider.provider().createAndPublishEndpoint(address, implementor);
|
public abstract void | publish(java.lang.Object serverContext)Publishes this endpoint at the provided server context.
A server context encapsulates the server infrastructure
and addressing information for a particular transport.
For a call to this method to succeed, the server context
passed as an argument to it MUST be compatible with the
endpoint's binding.
|
public abstract void | setExecutor(java.util.concurrent.Executor executor)Sets the executor for this Endpoint instance.
The executor is used to dispatch an incoming request to
the implementor object.
If this Endpoint is published using the
publish(Object) method and the specified server
context defines its own threading behavior, the executor
may be ignored.
|
public abstract void | setMetadata(java.util.List metadata)Sets the metadata for this endpoint.
|
public abstract void | setProperties(java.util.Map properties)Sets the property bag for this Endpoint instance.
|
public abstract void | stop()Stops publishing this endpoint.
If the endpoint is not in a published state, this method
has no effect.
|