public class BaseExchangeContract extends Object implements ExchangeContract
| Constructor and Description |
|---|
BaseExchangeContract()
Create a new, empty BaseExchangeContract.
|
BaseExchangeContract(ServiceOperation consumer)
Create a new BaseExchangeContract with the specified consumer info.
|
BaseExchangeContract(ServiceOperation consumer,
ServiceOperation provider)
Create a new BaseExchangeContract with the specified consumer and provider info.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceOperation |
getConsumerOperation()
Returns the consumer contract for a message exchange.
|
ServiceOperation |
getProviderOperation()
Returns the provider contract for a message exchange.
|
BaseExchangeContract |
setConsumerOperation(ServiceOperation consumer)
Specify the consumer contract.
|
BaseExchangeContract |
setProviderOperation(ServiceOperation provider)
Specify the provider contract.
|
public BaseExchangeContract()
public BaseExchangeContract(ServiceOperation consumer)
consumer - consumer contractpublic BaseExchangeContract(ServiceOperation consumer, ServiceOperation provider)
consumer - consumer contractprovider - provider contractpublic ServiceOperation getConsumerOperation()
ExchangeContractgetConsumerOperation in interface ExchangeContractpublic ServiceOperation getProviderOperation()
ExchangeContractgetProviderOperation in interface ExchangeContractpublic BaseExchangeContract setConsumerOperation(ServiceOperation consumer)
consumer - consumer contractpublic BaseExchangeContract setProviderOperation(ServiceOperation provider)
provider - provider contractCopyright © 2013-2014 JBoss by Red Hat. All Rights Reserved.