|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 InterfaceContract
public Interface getInterface()
InterfaceContract
getInterface
in interface InterfaceContract
public void setCallbackInterface(Interface callbackInterface)
InterfaceContract
setCallbackInterface
in interface InterfaceContract
callbackInterface
- the interface definition representing the
interface for invocations from the provider to the requestor.public void setInterface(Interface callInterface)
InterfaceContract
setInterface
in interface InterfaceContract
callInterface
- the interface definition representing the interface
for invocations from the requestor to the providerpublic InterfaceContract makeUnidirectional(boolean isCallback)
InterfaceContract
makeUnidirectional
in interface InterfaceContract
isCallback
- true for a callback interface contract, false for
a forward interface contract
public InterfaceContractImpl clone() throws java.lang.CloneNotSupportedException
InterfaceContract
clone
in interface InterfaceContract
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |