|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.ws.WebServiceFeature
weblogic.jws.jaxws.WLSWebServiceFeature
weblogic.jws.jaxws.client.async.AsyncClientTransportFeature
public class AsyncClientTransportFeature
Designates a client that accesses the service through WS-Addressing and asynchronous transport. Use of this feature will by default publish a response endpoint to receive inbound response messages and correlate request and response exchanges. Clients may create multiple ports or Dispatch instances from the same Service instance that share the same response endpoint by specifying the same AsyncClientTransportFeature instance; however, at most one of the port instances may specify AsyncClientHandlerFeature.
Nested Class Summary | |
---|---|
static interface |
AsyncClientTransportFeature.AsyncEndpointListener
|
static interface |
AsyncClientTransportFeature.AsyncResponseEndpointRegistry
|
Field Summary | |
---|---|
static String |
ID
Constant value identifying the AsyncClientTransportFeature |
Fields inherited from class javax.xml.ws.WebServiceFeature |
---|
enabled |
Constructor Summary | |
---|---|
AsyncClientTransportFeature()
Create an AsyncClientTransportFeature . |
|
AsyncClientTransportFeature(Object context)
Create an AsyncClientTransportFeature that will select an
asynchronous response endpoint address within the scope of a pre-existing
context. |
|
AsyncClientTransportFeature(Object context,
boolean useAsyncWithSyncInvoke)
Create an AsyncClientTransportFeature that will select an
asynchronous response endpoint address within the scope of a pre-existing
context. |
|
AsyncClientTransportFeature(String address)
Create an AsyncClientTransportFeature that will publish an
asynchronous response endpoint at the given address. |
|
AsyncClientTransportFeature(String address,
boolean doPublish)
Create an AsyncClientTransportFeature . |
|
AsyncClientTransportFeature(String address,
boolean doPublish,
boolean useAsyncWithSyncInvoke)
Create an AsyncClientTransportFeature . |
|
AsyncClientTransportFeature(javax.xml.ws.wsaddressing.W3CEndpointReference replyTo)
Create an AsyncClientTransportFeature that will publish an
asynchronous response endpoint at the address specified by the given
endpoint reference. |
|
AsyncClientTransportFeature(javax.xml.ws.wsaddressing.W3CEndpointReference replyTo,
boolean doPublish)
Create an AsyncClientTransportFeature . |
|
AsyncClientTransportFeature(javax.xml.ws.wsaddressing.W3CEndpointReference replyTo,
boolean doPublish,
boolean useAsyncWithSyncInvoke)
Create an AsyncClientTransportFeature . |
|
AsyncClientTransportFeature(javax.xml.ws.wsaddressing.W3CEndpointReference replyTo,
javax.xml.ws.wsaddressing.W3CEndpointReference faultTo)
Create an AsyncClientTransportFeature that will publish an
asynchronous response endpoint at the address specified by the given
replyTo endpoint reference. |
|
AsyncClientTransportFeature(javax.xml.ws.wsaddressing.W3CEndpointReference replyTo,
javax.xml.ws.wsaddressing.W3CEndpointReference faultTo,
boolean doPublish)
Create an AsyncClientTransportFeature . |
|
AsyncClientTransportFeature(javax.xml.ws.wsaddressing.W3CEndpointReference replyTo,
javax.xml.ws.wsaddressing.W3CEndpointReference faultTo,
boolean doPublish,
boolean useAsyncWithSyncInvoke)
Create an AsyncClientTransportFeature . |
Method Summary | ||
---|---|---|
void |
addAsyncEndpointListener(AsyncClientTransportFeature.AsyncEndpointListener listener)
|
|
void |
dispose()
|
|
boolean |
equals(Object other)
|
|
String |
getClientIdComponent()
|
|
javax.xml.ws.Endpoint |
getEndpoint()
|
|
|
getEndpointReference(Class<T> clazz,
Element... referenceParameters)
Generates endpoint reference for response endpoint |
|
String |
getID()
Returns feature ID |
|
int |
getSslPort()
Get the port used for SSL or -1 if unset. |
|
int |
hashCode()
|
|
void |
implyFeatures(Map<Class<? extends javax.xml.ws.WebServiceFeature>,javax.xml.ws.WebServiceFeature> list)
|
|
boolean |
isEndpointPublished()
|
|
boolean |
isEndpointShared()
Determine if the endpoint returned by getEndpoint() is actually a 'shared' endpoint (that was registered/associated with a client identity). |
|
boolean |
isUseAsyncWithSyncInvoke()
|
|
void |
postCreateDispatch(com.sun.xml.ws.developer.WSBindingProvider bp)
A callback to notify that a Dispatch object is created. |
|
void |
postCreateProxy(com.sun.xml.ws.developer.WSBindingProvider bp,
Class<?> serviceEndpointInterface)
A callback to notify the event of creation of proxy object for SEI endpoint. |
|
void |
preRegisterForSharedEndpoint(weblogic.jws.jaxws.client.ClientIdentityFeature clientIdFeature)
|
|
void |
removeAsyncEndpointListener(AsyncClientTransportFeature.AsyncEndpointListener listener)
|
|
static void |
setAsyncResponseEndpointRegistry(AsyncClientTransportFeature.AsyncResponseEndpointRegistry registry)
|
|
void |
setSslPort(int sslPort)
Set the port used for SSL or -1 to disable SSL use on this feature. |
|
void |
setUseAsyncWithSyncInvoke(boolean useAsyncWithSyncInvoke)
|
|
String |
toString()
|
Methods inherited from class weblogic.jws.jaxws.WLSWebServiceFeature |
---|
featuresAreEqual, isKnownTubelineImpactingFeature, isTubelineImpact, setTubelineImpact |
Methods inherited from class javax.xml.ws.WebServiceFeature |
---|
isEnabled |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String ID
Constructor Detail |
---|
public AsyncClientTransportFeature()
AsyncClientTransportFeature
. Client proxies
created using this feature will publish and use an asynchronous response
endpoint with an auto-selected address.
public AsyncClientTransportFeature(Object context)
AsyncClientTransportFeature
that will select an
asynchronous response endpoint address within the scope of a pre-existing
context. The context parameter may be an instance of
javax.servlet.ServletContext. Other context types are implementation
dependent.
context
- Existing context that will scope response endpointServletContext
public AsyncClientTransportFeature(Object context, boolean useAsyncWithSyncInvoke)
AsyncClientTransportFeature
that will select an
asynchronous response endpoint address within the scope of a pre-existing
context. The context parameter may be an instance of
javax.servlet.ServletContext. Other context types are implementation
dependent.
context
- Existing context that will scope response endpointuseAsyncWithSyncInvoke
- Determines if async transport will be used with sync
invocationServletContext
public AsyncClientTransportFeature(String address)
AsyncClientTransportFeature
that will publish an
asynchronous response endpoint at the given address.
address
- Asynchronous response endpoint addresspublic AsyncClientTransportFeature(javax.xml.ws.wsaddressing.W3CEndpointReference replyTo)
AsyncClientTransportFeature
that will publish an
asynchronous response endpoint at the address specified by the given
endpoint reference. This endpoint reference will be used for outgoing
ReplyTo headers.
replyTo
- Asynchronous response endpoint referencepublic AsyncClientTransportFeature(javax.xml.ws.wsaddressing.W3CEndpointReference replyTo, javax.xml.ws.wsaddressing.W3CEndpointReference faultTo)
AsyncClientTransportFeature
that will publish an
asynchronous response endpoint at the address specified by the given
replyTo endpoint reference. The replyTo and faultTo endpoint references
will be used for outgoing ReplyTo and FaultTo headers, respectively.
replyTo
- Asynchronous response endpoint referencefaultTo
- FaultTo endpoint referencepublic AsyncClientTransportFeature(String address, boolean doPublish)
AsyncClientTransportFeature
. If doPublish is true
then an asynchronous response endpoint will be published at the given
address. Otherwise, no endpoint will be published, but WSA headers will
be added to outbound, non-oneway request messages.
address
- Asynchronous response endpoint addressdoPublish
- Determines if response endpoint will be auto-publishedpublic AsyncClientTransportFeature(javax.xml.ws.wsaddressing.W3CEndpointReference replyTo, boolean doPublish)
AsyncClientTransportFeature
. If doPublish is true
then an asynchronous response endpoint will be published at the address
specified by the replyTo endpoint reference. Otherwise, no endpoint will
be published, but WSA headers will be added to outbound, non-oneway
request messages.
replyTo
- Asynchronous response endpoint referencedoPublish
- Determines if response endpoint will be auto-publishedpublic AsyncClientTransportFeature(javax.xml.ws.wsaddressing.W3CEndpointReference replyTo, javax.xml.ws.wsaddressing.W3CEndpointReference faultTo, boolean doPublish)
AsyncClientTransportFeature
. If doPublish is true
then an asynchronous response endpoint will be published at the address
specified by the replyTo endpoint reference. Otherwise, no endpoint will
be published, but WSA headers will be added to outbound, non-oneway
request messages. The replyTo and faultTo endpoint references will be
used for outgoing ReplyTo and FaultTo headers, respectively.
replyTo
- Asynchronous response endpoint referencefaultTo
- FaultTo endpoint referencedoPublish
- Determines if response endpoint will be auto-publishedpublic AsyncClientTransportFeature(String address, boolean doPublish, boolean useAsyncWithSyncInvoke)
AsyncClientTransportFeature
. If doPublish is true
then an asynchronous response endpoint will be published at the given
address. Otherwise, no endpoint will be published, but WSA headers will
be added to outbound, non-oneway request messages.
address
- Asynchronous response endpoint addressdoPublish
- Determines if feature deploys response endpoint or if client
application is responsibleuseAsyncWithSyncInvoke
- Determines if async transport will be used with sync
invocationpublic AsyncClientTransportFeature(javax.xml.ws.wsaddressing.W3CEndpointReference replyTo, boolean doPublish, boolean useAsyncWithSyncInvoke)
AsyncClientTransportFeature
. If doPublish is true
then an asynchronous response endpoint will be published at the address
specified by the replyTo endpoint reference. Otherwise, no endpoint will
be published, but WSA headers will be added to outbound, non-oneway
request messages.
replyTo
- Asynchronous response endpoint referencedoPublish
- Determines if response endpoint will be auto-publisheduseAsyncWithSyncInvoke
- Determines if async transport will be used with sync
invocationpublic AsyncClientTransportFeature(javax.xml.ws.wsaddressing.W3CEndpointReference replyTo, javax.xml.ws.wsaddressing.W3CEndpointReference faultTo, boolean doPublish, boolean useAsyncWithSyncInvoke)
AsyncClientTransportFeature
. If doPublish is true
then an asynchronous response endpoint will be published at the address
specified by the replyTo endpoint reference. Otherwise, no endpoint will
be published, but WSA headers will be added to outbound, non-oneway
request messages. The replyTo and faultTo endpoint references will be
used for outgoing ReplyTo and FaultTo headers, respectively.
replyTo
- Asynchronous response endpoint referencefaultTo
- FaultTo endpoint referencedoPublish
- Determines if response endpoint will be auto-publisheduseAsyncWithSyncInvoke
- Determines if async transport will be used with sync
invocationMethod Detail |
---|
public static void setAsyncResponseEndpointRegistry(AsyncClientTransportFeature.AsyncResponseEndpointRegistry registry)
public void postCreateDispatch(com.sun.xml.ws.developer.WSBindingProvider bp)
com.sun.xml.ws.api.client.ServiceCreationInterceptor
Dispatch
object is created. The callback
could set some properties on the BindingProvider
.
postCreateDispatch
in interface com.sun.xml.ws.api.client.ServiceCreationInterceptor
bp
- BindingProvider of dispatch objectpublic void postCreateProxy(com.sun.xml.ws.developer.WSBindingProvider bp, Class<?> serviceEndpointInterface)
com.sun.xml.ws.api.client.ServiceCreationInterceptor
BindingProvider
.
postCreateProxy
in interface com.sun.xml.ws.api.client.ServiceCreationInterceptor
bp
- created proxy instanceserviceEndpointInterface
- SEI of the endpointpublic void setSslPort(int sslPort)
public int getSslPort()
public void preRegisterForSharedEndpoint(weblogic.jws.jaxws.client.ClientIdentityFeature clientIdFeature)
public void dispose()
public boolean isEndpointShared()
public javax.xml.ws.Endpoint getEndpoint()
public <T extends javax.xml.ws.EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters)
clazz
- Endpoint reference typereferenceParameters
- Reference parameters
public String getID()
getID
in class javax.xml.ws.WebServiceFeature
public boolean isUseAsyncWithSyncInvoke()
public void setUseAsyncWithSyncInvoke(boolean useAsyncWithSyncInvoke)
public void implyFeatures(Map<Class<? extends javax.xml.ws.WebServiceFeature>,javax.xml.ws.WebServiceFeature> list)
implyFeatures
in interface com.sun.xml.ws.binding.ImpliesWebServiceFeature
public boolean isEndpointPublished()
public void addAsyncEndpointListener(AsyncClientTransportFeature.AsyncEndpointListener listener)
public void removeAsyncEndpointListener(AsyncClientTransportFeature.AsyncEndpointListener listener)
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
public String getClientIdComponent()
getClientIdComponent
in class WLSWebServiceFeature
public String toString()
toString
in class Object
|
Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |