Package com.sun.xml.ws.rx.mc.api
Class MakeConnectionSupportedFeature
- java.lang.Object
-
- javax.xml.ws.WebServiceFeature
-
- com.sun.xml.ws.rx.mc.api.MakeConnectionSupportedFeature
-
- All Implemented Interfaces:
StickyFeature
@ManagedData public class MakeConnectionSupportedFeature extends javax.xml.ws.WebServiceFeature implements StickyFeature
- Author:
- Marek Potociar
-
-
Field Summary
Fields Modifier and Type Field Description static longDEFAULT_MAKE_CONNECTION_REQUEST_INTERVALDefault base interval between two subsequent MakeConnection requests [milliseconds]static longDEFAULT_RESPONSE_RETRIEVAL_TIMEOUTDefault response retrieval timeout value [milliseconds]static StringID
-
Constructor Summary
Constructors Constructor Description MakeConnectionSupportedFeature()This constructor is here to satisfy JAX-WS specification requirementsMakeConnectionSupportedFeature(boolean enabled)This constructor is here to satisfy JAX-WS specification requirements
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetBaseMakeConnectionRequetsInterval()Specifies a base interval between two consecutive MakeConnection requestsStringgetID()McProtocolVersiongetProtocolVersion()Specifies which WS-MC version protocol SOAP messages and SOAP message headers should be used for communication between MC source and MC destinationlonggetResponseRetrievalTimeout()Specifies a timeout for consecutive unsuccessfull response retrievals.
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
DEFAULT_RESPONSE_RETRIEVAL_TIMEOUT
public static final long DEFAULT_RESPONSE_RETRIEVAL_TIMEOUT
Default response retrieval timeout value [milliseconds]- See Also:
- Constant Field Values
-
DEFAULT_MAKE_CONNECTION_REQUEST_INTERVAL
public static final long DEFAULT_MAKE_CONNECTION_REQUEST_INTERVAL
Default base interval between two subsequent MakeConnection requests [milliseconds]- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MakeConnectionSupportedFeature
public MakeConnectionSupportedFeature()
This constructor is here to satisfy JAX-WS specification requirements
-
MakeConnectionSupportedFeature
public MakeConnectionSupportedFeature(boolean enabled)
This constructor is here to satisfy JAX-WS specification requirements
-
-
Method Detail
-
getID
@ManagedAttribute public String getID()
- Specified by:
getIDin classjavax.xml.ws.WebServiceFeature
-
getProtocolVersion
public McProtocolVersion getProtocolVersion()
Specifies which WS-MC version protocol SOAP messages and SOAP message headers should be used for communication between MC source and MC destination- Returns:
- WS-MC protocol version currently configured for the feature.
-
getResponseRetrievalTimeout
public long getResponseRetrievalTimeout()
Specifies a timeout for consecutive unsuccessfull response retrievals.- Returns:
- currently configured timeout for consecutive unsuccessfull response
retrievals. If not set explicitly, the default value is specified by
DEFAULT_RESPONSE_RETRIEVAL_TIMEOUTconstant.
-
getBaseMakeConnectionRequetsInterval
public long getBaseMakeConnectionRequetsInterval()
Specifies a base interval between two consecutive MakeConnection requests- Returns:
- currently configured base interval (in milliseconds) of time that
must pass between two consecutive MakeConnection request messages.
If not set explicitly, the default value is specified by
DEFAULT_MAKE_CONNECTION_REQUEST_INTERVALconstant.
-
-