public final class JTAOverWSATFeature extends AbstractClientFeature
Modifier and Type | Field and Description |
---|---|
static String |
DISABLED_VALUE
Value to indicate that JTAOverWSATFeature is disabled.
|
static String |
ENABLED_VALUE
Value to indicate that JTAOverWSATFeature is enabled.
|
static String |
REQUEST_CONTEXT_KEY
Key to store JTAOverWSATFeature's enabled/disabled value in SOAP header.
|
enabled
Constructor and Description |
---|
JTAOverWSATFeature()
Default constructor creates an instance of enabled JTAOverWSATFeature.
|
JTAOverWSATFeature(boolean enabled)
Parametrised constructor creates either enabled or disabled JTAOverWSATFeature based on
enabled parameter. |
Modifier and Type | Method and Description |
---|---|
protected void |
initializeBindingProvider(BindingProvider bp)
Sets
JTAOverWSATFeature.REQUEST_CONTEXT_KEY value to JTAOverWSATFeature.ENABLED_VALUE and
WSTXFeature.REQUEST_CONTEXT_KEY value to WSTXFeature.ENABLED_VALUE if JTAOverWSATFeature is
enabled. |
getID, initialize
isEnabled
public static final String REQUEST_CONTEXT_KEY
public static final String ENABLED_VALUE
public static final String DISABLED_VALUE
public JTAOverWSATFeature()
public JTAOverWSATFeature(boolean enabled)
enabled
parameter.enabled
- true to create enabled JTAOverWSATFeature, false to create disabled JTAOverWSATFeature.protected void initializeBindingProvider(BindingProvider bp)
JTAOverWSATFeature.REQUEST_CONTEXT_KEY
value to JTAOverWSATFeature.ENABLED_VALUE
and
WSTXFeature.REQUEST_CONTEXT_KEY
value to WSTXFeature.ENABLED_VALUE
if JTAOverWSATFeature is
enabled. It is because WSTXFeature has to be enabled in order to make JTAOverWSATFeature work.
Sets JTAOverWSATFeature.REQUEST_CONTEXT_KEY
value to JTAOverWSATFeature.DISABLED_VALUE
if
JTAOverWSATFeature is disabled.initializeBindingProvider
in class AbstractClientFeature
bp
- binding providerCopyright © 2016 JBoss by Red Hat. All rights reserved.