|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceContract
The contract specified by a requestor or provider for invocations across a port.
Method Summary | |
---|---|
Class |
getCallbackInterface()
Returns the callback interface for wire from the provider back to its requestor. |
Class |
getInterface()
Returns the interface for invocations from the requestor to the provider. |
Scope |
getScope()
Returns the scope of this service contract. |
void |
setCallbackInterface(Class value)
Sets the callback interface for wire from the provider back to its requestor. |
void |
setInterface(Class value)
Sets the interface for invocations from the requestor to the provider. |
void |
setScope(Scope scope)
Sets the scope. |
Methods inherited from interface org.apache.tuscany.model.assembly.Extensible |
---|
getExtensibilityAttributes, getExtensibilityElements |
Methods inherited from interface org.apache.tuscany.model.assembly.AssemblyObject |
---|
accept, freeze, initialize |
Method Detail |
---|
Class getInterface()
void setInterface(Class value)
value
- the interface for invocations from the requestor to the providerClass getCallbackInterface()
void setCallbackInterface(Class value)
value
- the callback interface for wire from the provider back to its requestorScope getScope()
void setScope(Scope scope)
scope
- of this service contract.
|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |