|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.interfacedef.impl.InterfaceContractImpl
public abstract class InterfaceContractImpl
Represents an interface contract. InterfaceContractImpl
| Constructor Summary | |
|---|---|
InterfaceContractImpl()
|
|
| Method Summary | |
|---|---|
InterfaceContractImpl |
clone()
Implementations must support cloning. |
boolean |
equals(java.lang.Object obj)
|
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. |
int |
hashCode()
|
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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InterfaceContractImpl()
| Method Detail |
|---|
public Interface getCallbackInterface()
InterfaceContract
getCallbackInterface in interface InterfaceContractpublic Interface getInterface()
InterfaceContract
getInterface in interface InterfaceContractpublic void setCallbackInterface(Interface callbackInterface)
InterfaceContract
setCallbackInterface in interface InterfaceContractcallbackInterface - the interface definition representing the
interface for invocations from the provider to the requestor.public void setInterface(Interface callInterface)
InterfaceContract
setInterface in interface InterfaceContractcallInterface - the interface definition representing the interface
for invocations from the requestor to the providerpublic InterfaceContract makeUnidirectional(boolean isCallback)
InterfaceContract
makeUnidirectional in interface InterfaceContractisCallback - true for a callback interface contract, false for
a forward interface contract
public InterfaceContractImpl clone()
throws java.lang.CloneNotSupportedException
InterfaceContract
clone in interface InterfaceContractclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||