Method Summary |
|
public static Endpoint | create(Object implementor) Creates an endpoint with the specified implementor object. |
public static Endpoint | create(String bindingId, 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
javax.xml.ws.Endpoint.publish(String) and
javax.xml.ws.Endpoint.publish(Object) methods.
Parameters: bindingId - A URI specifying the binding to use. |
abstract public Binding | getBinding() Returns the binding for this endpoint. |
abstract public EndpointReference | getEndpointReference(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.
Parameters: referenceParameters - Reference parameters to be associated with thereturned EndpointReference instance. |
abstract public T | getEndpointReference(Class<T> clazz, Element... referenceParameters) Returns the EndpointReference associated with
this Endpoint instance.
Parameters: clazz - Specifies the type of EndpointReference that MUST be returned. Parameters: referenceParameters - Reference parameters to be associated with thereturned EndpointReference instance. |
abstract public java.util.concurrent.Executor | getExecutor() Returns the executor for this Endpoint instance. |
abstract public Object | getImplementor() Returns the implementation object for this endpoint. |
abstract public List<javax.xml.transform.Source> | getMetadata() Returns a list of metadata documents for the service. |
abstract public Map<String, Object> | getProperties() Returns the property bag for this Endpoint instance. |
abstract public boolean | isPublished() Returns true if the endpoint is in the published state. |
abstract public void | publish(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
javax.xml.ws.Endpoint.publish(Object) method instead.
Parameters: address - A URI specifying the address to use. |
public static Endpoint | publish(String address, 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
javax.xml.ws.Endpoint.create(StringObject) and
javax.xml.ws.Endpoint.publish(Object) methods instead.
Parameters: address - A URI specifying the address and transport/protocolto use. |
abstract public void | publish(Object serverContext) Publishes this endpoint at the provided server context. |
abstract public 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.
Parameters: executor - The java.util.concurrent.Executor to be used to dispatch a request. throws: SecurityException - If the instance does not supportsetting an executor for security reasons (e.g. |
abstract public void | setMetadata(List<javax.xml.transform.Source> metadata) Sets the metadata for this endpoint. |
abstract public void | setProperties(Map<String, Object> properties) Sets the property bag for this Endpoint instance. |
abstract public void | stop() Stops publishing this endpoint. |