Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

weblogic.wsee.mc.api
Class McFeature

java.lang.Object
  extended by javax.xml.ws.WebServiceFeature
      extended by weblogic.wsee.mc.api.McFeature
All Implemented Interfaces:
com.sun.xml.ws.api.client.ServiceCreationInterceptor

public class McFeature
extends WebServiceFeature
implements com.sun.xml.ws.api.client.ServiceCreationInterceptor

Client-side feature to enable MakeConnection-specific functionality


Field Summary
 
Fields inherited from class javax.xml.ws.WebServiceFeature
enabled
 
Constructor Summary
McFeature()
          Instantiate a MakeConnection feature instance
McFeature(boolean useMcWithSyncInvoke)
          Instantiate a MakeConnection feature instance
 
Method Summary
 String getExpires()
          Get the expiration for sending MakeConnection messages
 String getID()
          Get the id of this feature type
 String getInterval()
          Get the interval between sending MakeConnection messages
static String getMcFeatureIDValue()
          Allow searchers of the set of enabled WebServiceFeatures the ability identify the McFeature
 boolean isNonPersistent()
          Get whether non-persistent mode
 boolean isUseExponentialBackoff()
          Get whether the message interval uses an exponential backoff
 boolean isUseMcWithSyncInvoke()
          Determine whether MakeConnection is to be used with sync.
 void postCreateDispatch(com.sun.xml.ws.developer.WSBindingProvider bp)
          Do post dispatch creation checks
 void postCreateProxy(com.sun.xml.ws.developer.WSBindingProvider bp, Class<?> serviceEndpointInterface)
          Do post create proxy checks
 void setBinding(com.sun.xml.ws.api.WSBinding binding)
          Set binding to be associated with feature
 void setExpires(String expires)
          Set the expiration for sending MakeConnection messages
 void setExponentialBackoff(boolean exponentialBackoff)
          Set whether the message sending interval uses an exponential backoff
 void setInterval(String messageInterval)
          Set the interval between sending MakeConnection messages
 void setNonPersistent(boolean nonPersistent)
          Set whether non-persistent mode is being used
 void setUseMcWithSyncInvoke(boolean useMcWithSyncInvoke)
          Set whether MakeConnection is to be used with sync.
 
Methods inherited from class javax.xml.ws.WebServiceFeature
isEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

McFeature

public McFeature()
Instantiate a MakeConnection feature instance


McFeature

public McFeature(boolean useMcWithSyncInvoke)
Instantiate a MakeConnection feature instance

Parameters:
useMcWithSyncInvoke - indicates whether MakeConnection is to be used with sync. invokes
Method Detail

getID

public String getID()
Get the id of this feature type

Specified by:
getID in class WebServiceFeature
Returns:
the McFeature's id

setUseMcWithSyncInvoke

public void setUseMcWithSyncInvoke(boolean useMcWithSyncInvoke)
Set whether MakeConnection is to be used with sync. invokes

Parameters:
useMcWithSyncInvoke - true indicates MakeConnection is to be used with sync invokes; false otherwise.

isUseMcWithSyncInvoke

public boolean isUseMcWithSyncInvoke()
Determine whether MakeConnection is to be used with sync. invokes

Returns:
true if MakeConnection is to be used with sync. invokes; false otherwise

setInterval

public void setInterval(String messageInterval)
Set the interval between sending MakeConnection messages

Parameters:
messageInterval - string representation of expiration duration in the format "PnYnMnDTnHnMnS", as defined in XML Schema 1.0 section 3.2.6.1.

getInterval

public String getInterval()
Get the interval between sending MakeConnection messages

Returns:
the interval between sending

setExpires

public void setExpires(String expires)
Set the expiration for sending MakeConnection messages

Parameters:
expires - string representation of expiration duration in the format "PnYnMnDTnHnMnS", as defined in XML Schema 1.0 section 3.2.6.1.

getExpires

public String getExpires()
Get the expiration for sending MakeConnection messages

Returns:
the expiration interval

isNonPersistent

public boolean isNonPersistent()
Get whether non-persistent mode

Returns:
true if non-persistent mode is being used; false otherwise

setNonPersistent

public void setNonPersistent(boolean nonPersistent)
Set whether non-persistent mode is being used

Parameters:
nonPersistent - true if non-persistent mode is being used; false otherwise

setExponentialBackoff

public void setExponentialBackoff(boolean exponentialBackoff)
Set whether the message sending interval uses an exponential backoff

Parameters:
exponentialBackoff - true if exponential backoff is to be used; false otherwise.

isUseExponentialBackoff

public boolean isUseExponentialBackoff()
Get whether the message interval uses an exponential backoff

Returns:
true if exponential backoff is being used; false otherwise.

setBinding

public void setBinding(com.sun.xml.ws.api.WSBinding binding)
Set binding to be associated with feature

Parameters:
binding - the binding

postCreateDispatch

public void postCreateDispatch(com.sun.xml.ws.developer.WSBindingProvider bp)
Do post dispatch creation checks

Specified by:
postCreateDispatch in interface com.sun.xml.ws.api.client.ServiceCreationInterceptor
Parameters:
bp - the binding provider
Throws:
WebServiceException - if the combination of features is disallowed

postCreateProxy

public void postCreateProxy(com.sun.xml.ws.developer.WSBindingProvider bp,
                            Class<?> serviceEndpointInterface)
Do post create proxy checks

Specified by:
postCreateProxy in interface com.sun.xml.ws.api.client.ServiceCreationInterceptor
Parameters:
bp - the binding provider
serviceEndpointInterface - the implementing class of the service endpoint interface

getMcFeatureIDValue

public static String getMcFeatureIDValue()
Allow searchers of the set of enabled WebServiceFeatures the ability identify the McFeature

Returns:
static ID value of the McFeature

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.6)

Part Number E13941-06