public class EndpointImpl extends Endpoint
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.WSDL_PORT, WSDL_SERVICE
Constructor and 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. Don't use it unless you know what you are doing.
|
EndpointImpl(WSEndpoint wse,
Object serverContext,
EndpointContext ctxt)
Deprecated.
This is a backdoor method. Don't use it unless you know what you are doing.
|
EndpointImpl(WSEndpoint wse,
String address)
Deprecated.
This is a backdoor method. Don't use it unless you know what you are doing.
|
EndpointImpl(WSEndpoint wse,
String address,
EndpointContext ctxt)
Deprecated.
This is a backdoor method. Don't use it unless you know what you are doing.
|
Modifier and Type | Method and Description |
---|---|
Binding |
getBinding() |
<T extends EndpointReference> |
getEndpointReference(Class<T> clazz,
Element... referenceParameters) |
EndpointReference |
getEndpointReference(Element... referenceParameters) |
Executor |
getExecutor() |
Object |
getImplementor() |
List<Source> |
getMetadata() |
Map<String,Object> |
getProperties() |
boolean |
isPublished() |
void |
publish(javax.xml.ws.spi.http.HttpContext serverContext) |
void |
publish(Object serverContext) |
void |
publish(String address) |
void |
setEndpointContext(EndpointContext ctxt) |
void |
setExecutor(Executor executor) |
void |
setMetadata(List<Source> metadata) |
void |
setProperties(Map<String,Object> map) |
void |
stop() |
public EndpointImpl(@NotNull BindingID bindingId, @NotNull Object impl, WebServiceFeature... features)
public EndpointImpl(@NotNull BindingID bindingId, @NotNull Class implClass, Invoker invoker, WebServiceFeature... features)
public EndpointImpl(WSEndpoint wse, Object serverContext)
WSEndpoint
into an EndpointImpl
,
and immediately publishes it with the given context.wse
- created endpointserverContext
- supported http contextpublic EndpointImpl(WSEndpoint wse, Object serverContext, EndpointContext ctxt)
WSEndpoint
into an EndpointImpl
,
and immediately publishes it with the given context.wse
- created endpointserverContext
- supported http contextctxt
- endpoint contextpublic EndpointImpl(WSEndpoint wse, String address)
WSEndpoint
into an EndpointImpl
,
and immediately publishes it with the given context.wse
- created endpointaddress
- endpoint addresspublic EndpointImpl(WSEndpoint wse, String address, EndpointContext ctxt)
WSEndpoint
into an EndpointImpl
,
and immediately publishes it with the given context.wse
- created endpointaddress
- endpoint addressctxt
- endpoint contextpublic Binding getBinding()
getBinding
in class Endpoint
public Object getImplementor()
getImplementor
in class Endpoint
public void publish(javax.xml.ws.spi.http.HttpContext serverContext)
public boolean isPublished()
isPublished
in class Endpoint
public List<Source> getMetadata()
getMetadata
in class Endpoint
public void setMetadata(List<Source> metadata)
setMetadata
in class Endpoint
public Executor getExecutor()
getExecutor
in class Endpoint
public void setExecutor(Executor executor)
setExecutor
in class Endpoint
public Map<String,Object> getProperties()
getProperties
in class Endpoint
public void setProperties(Map<String,Object> map)
setProperties
in class Endpoint
public EndpointReference getEndpointReference(Element... referenceParameters)
getEndpointReference
in class Endpoint
public <T extends EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters)
getEndpointReference
in class Endpoint
public void setEndpointContext(EndpointContext ctxt)
setEndpointContext
in class Endpoint
Copyright © 2015 Oracle Corporation. All rights reserved.