|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AbstractContract
Interface contracts define one or more business functions. These business functions are provided by services and are used by references.
| Method Summary | |
|---|---|
InterfaceContract |
getInterfaceContract()
Returns the interface contract defining the interface and callback interface for the contract. |
java.lang.String |
getName()
Returns the name of the contract. |
boolean |
isCallback()
Returns true if this contract is a reference or service created internally to handle a callback interface of another contract, false otherwise. |
void |
setInterfaceContract(InterfaceContract interfaceContract)
Sets the interface contract defining the interface and callback interface for the contract. |
void |
setIsCallback(boolean isCallback)
Sets a flag indicating whether this is a callback contract. |
void |
setName(java.lang.String name)
Sets the name of the contract. |
| Methods inherited from interface org.apache.tuscany.sca.assembly.Base |
|---|
isUnresolved, setUnresolved |
| Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible |
|---|
getExtensions |
| Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint |
|---|
getRequiredIntents, getType, setType |
| Methods inherited from interface org.apache.tuscany.sca.assembly.OperationsConfigurator |
|---|
getConfiguredOperations |
| Method Detail |
|---|
java.lang.String getName()
void setName(java.lang.String name)
name - the name of the contractInterfaceContract getInterfaceContract()
void setInterfaceContract(InterfaceContract interfaceContract)
interfaceContract - the interface contractboolean isCallback()
void setIsCallback(boolean isCallback)
isCallback - true for a callback contract, false otherwise
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||