|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.model.assembly.impl.AssemblyObjectImpl
org.apache.tuscany.model.assembly.impl.ExtensibleImpl
org.apache.tuscany.model.assembly.impl.ServiceContractImpl
public class ServiceContractImpl
An implementation of ServiceContract.
Constructor Summary | |
---|---|
protected |
ServiceContractImpl()
|
Method Summary | |
---|---|
java.lang.Class |
getCallbackInterface()
Returns the callback interface for wire from the provider back to its requestor. |
java.lang.Class |
getInterface()
Returns the interface for invocations from the requestor to the provider. |
Scope |
getScope()
Returns the scope of this service contract. |
void |
setCallbackInterface(java.lang.Class value)
Sets the callback interface for wire from the provider back to its requestor. |
void |
setInterface(java.lang.Class value)
Sets the interface for invocations from the requestor to the provider. |
void |
setScope(Scope scope)
Sets the scope. |
Methods inherited from class org.apache.tuscany.model.assembly.impl.ExtensibleImpl |
---|
accept, freeze, getExtensibilityAttributes, getExtensibilityElements, initialize |
Methods inherited from class org.apache.tuscany.model.assembly.impl.AssemblyObjectImpl |
---|
accept, checkInitialized, checkNotFrozen, freeze, initialize, isFrozen, isInitialized |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
Constructor Detail |
---|
protected ServiceContractImpl()
Method Detail |
---|
public java.lang.Class getCallbackInterface()
ServiceContract
getCallbackInterface
in interface ServiceContract
public java.lang.Class getInterface()
ServiceContract
getInterface
in interface ServiceContract
public Scope getScope()
ServiceContract
getScope
in interface ServiceContract
public void setCallbackInterface(java.lang.Class value)
ServiceContract
setCallbackInterface
in interface ServiceContract
value
- the callback interface for wire from the provider back to its requestorpublic void setInterface(java.lang.Class value)
ServiceContract
setInterface
in interface ServiceContract
value
- the interface for invocations from the requestor to the providerpublic void setScope(Scope scope)
ServiceContract
setScope
in interface ServiceContract
scope
- of this service contract.
|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |