public class TransactionalFeature extends WebServiceFeature
Modifier and Type | Field and Description |
---|---|
static String |
ID
Constant value identifying the TransactionalFeature
|
enabled
Constructor and Description |
---|
TransactionalFeature()
Create an
TransactionalFeature . |
TransactionalFeature(boolean enabled)
Create an
TransactionalFeature |
TransactionalFeature(boolean enabled,
Transactional.TransactionFlowType value,
Transactional.Version version) |
Modifier and Type | Method and Description |
---|---|
Map<String,Boolean> |
getEnabledMap() |
Transactional.TransactionFlowType |
getFlowType()
Returns the default Transaction flow type for all operations.
|
Transactional.TransactionFlowType |
getFlowType(String operationName)
Returns the Transaction flow type for a given operation.
|
Map<String,Transactional.TransactionFlowType> |
getFlowTypeMap()
return a map listing the Transactiona flow options for operations.
|
String |
getID() |
Transactional.Version |
getVersion()
Returns the version of WS-AT to be used.
|
boolean |
isEnabled(String operationName)
Returns
true if WS-AT is enabled on the given operation . |
boolean |
isExplicitMode()
Transactional Feature has two modes, explicit Mode or implicit Mode.
|
void |
setEnabled(boolean enabled)
Enable/disable this feature at port level
|
void |
setEnabled(String operationName,
boolean enabled)
Enable/disable this feature on a given operation
|
void |
setExplicitMode(boolean explicitMode)
Change the Transactional Feature mode
|
void |
setFlowType(String operationName,
Transactional.TransactionFlowType flowType)
Set the Transaction flow type for a given wsdl:operation.
|
void |
setFlowType(Transactional.TransactionFlowType flowType)
Set the default Transaction flow type for all operations.
|
void |
setVersion(Transactional.Version version)
set the version of WS-AT to be used.
|
isEnabled
public static final String ID
public TransactionalFeature(boolean enabled, Transactional.TransactionFlowType value, Transactional.Version version)
public TransactionalFeature()
TransactionalFeature
.
The instance created will be enabled.public TransactionalFeature(boolean enabled)
TransactionalFeature
enabled
- specifies whether this feature should
be enabled or not.public Transactional.TransactionFlowType getFlowType()
public Transactional.TransactionFlowType getFlowType(String operationName)
public void setFlowType(Transactional.TransactionFlowType flowType)
flowType
- public void setFlowType(String operationName, Transactional.TransactionFlowType flowType)
operationName
- the local part of wsdl:oprationflowType
- Transaction flow typepublic String getID()
getID
in class WebServiceFeature
public void setEnabled(boolean enabled)
enabled
- public void setEnabled(String operationName, boolean enabled)
operationName
- the local part of operation.enabled
- public boolean isEnabled(String operationName)
true
if WS-AT is enabled on the given operation .operationName
- the local part of wsdl:operationtrue
if and only if the WS-AT is enabled on the given operation .public Transactional.Version getVersion()
public void setVersion(Transactional.Version version)
version
- the version of WS-AT to be used.public Map<String,Transactional.TransactionFlowType> getFlowTypeMap()
public Map<String,Boolean> getEnabledMap()
public boolean isExplicitMode()
public void setExplicitMode(boolean explicitMode)
explicitMode
- whether set to explicit Mode.