|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Port
Abstraction for the association of a service contract with a requestor or provider.
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of the port where it is associated with a requestor or provider. |
ServiceContract |
getServiceContract()
Returns the contract for invocations of a service using this port. |
void |
setName(java.lang.String name)
Sets the name of the port where it is associated with a requestor or provider. |
void |
setServiceContract(ServiceContract contract)
Set the contract for invocations of a service using this port. |
Methods inherited from interface org.apache.tuscany.model.assembly.AssemblyObject |
---|
accept, freeze, initialize |
Method Detail |
---|
ServiceContract getServiceContract()
void setServiceContract(ServiceContract contract)
contract
- the contract for invocations of a service using this portjava.lang.String getName()
void setName(java.lang.String name)
name
- the name of the port where it is associated with a requestor or provider
|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |