|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InterfaceContract
Interface contracts define one or more business functions. These business functions are provided by services and are used by references.
Method Summary | |
---|---|
java.lang.Object |
clone()
Implementations must support cloning. |
Interface |
getCallbackInterface()
Returns the interface definition representing the interface for invocations from the provider to the requestor. |
Interface |
getInterface()
Returns the interface definition representing the interface for invocations from the requestor to the provider. |
InterfaceContract |
makeUnidirectional(boolean isCallback)
Convert an interface contract to a unidirectional interface contract |
void |
setCallbackInterface(Interface callbackInterface)
Sets the interface definition representing the interface for invocations from the provider to the requestor. |
void |
setInterface(Interface callInterface)
Sets the interface definition representing the interface for invocations from the requestor to the provider. |
Method Detail |
---|
Interface getInterface()
void setInterface(Interface callInterface)
callInterface
- the interface definition representing the interface
for invocations from the requestor to the providerInterface getCallbackInterface()
void setCallbackInterface(Interface callbackInterface)
callbackInterface
- the interface definition representing the
interface for invocations from the provider to the requestor.InterfaceContract makeUnidirectional(boolean isCallback)
isCallback
- true for a callback interface contract, false for
a forward interface contract
java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |