|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.assembly.impl.EndpointImpl
public class EndpointImpl
The assembly model object for an endpoint.
Constructor Summary | |
---|---|
protected |
EndpointImpl()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.util.List<Binding> |
getCandidateBindings()
Get the list of candidate bindings that could be used to communication with the target service |
InterfaceContract |
getInterfaceContract()
Returns the interface contract defining the interface |
Binding |
getSourceBinding()
Get the resolved source binding |
Binding |
getSourceCallbackBinding()
Get the resolved source callback binding |
Component |
getSourceComponent()
Get the source component model object |
ComponentReference |
getSourceComponentReference()
Get the source component reference model object |
Binding |
getTargetBinding()
Get the resolved target binding |
Binding |
getTargetCallbackBinding()
|
Component |
getTargetComponent()
Get the target component model object |
ComponentService |
getTargetComponentService()
Get the target component service model object |
java.lang.String |
getTargetName()
Get the name of the target service that this endpoint refers to |
boolean |
isUnresolved()
Returns true if the model element is unresolved. |
void |
setInterfaceContract(InterfaceContract interfaceContract)
Sets the interface contract defining the interface |
void |
setSourceBinding(Binding resolvedBinding)
Set the resolved source binding |
void |
setSourceCallbackBinding(Binding resolvedCallbackBinding)
Set the resolved source callback binding |
void |
setSourceComponent(Component sourceComponent)
Set the source component model object |
void |
setSourceComponentReference(ComponentReference sourceComponentReference)
Set the source component reference model object |
void |
setTargetBinding(Binding targetBinding)
Set the resolved target binding |
void |
setTargetCallbackBinding(Binding targetCallbackBinding)
|
void |
setTargetComponent(Component targetComponent)
Set the target component model object |
void |
setTargetComponentService(ComponentService targetComponentService)
Set the target component service model object |
void |
setTargetName(java.lang.String targetName)
Set the name of the target service that this endpoint refers to |
void |
setUnresolved(boolean unresolved)
Sets whether the model element is unresolved. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected EndpointImpl()
Method Detail |
---|
public boolean isUnresolved()
Base
isUnresolved
in interface Base
public void setUnresolved(boolean unresolved)
Base
setUnresolved
in interface Base
unresolved
- whether the model element is unresolvedpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.String getTargetName()
Endpoint
getTargetName
in interface Endpoint
public void setTargetName(java.lang.String targetName)
Endpoint
setTargetName
in interface Endpoint
public Component getSourceComponent()
Endpoint
getSourceComponent
in interface Endpoint
public void setSourceComponent(Component sourceComponent)
Endpoint
setSourceComponent
in interface Endpoint
sourceComponent
- the source component for the endpointpublic ComponentReference getSourceComponentReference()
Endpoint
getSourceComponentReference
in interface Endpoint
public void setSourceComponentReference(ComponentReference sourceComponentReference)
Endpoint
setSourceComponentReference
in interface Endpoint
public Binding getSourceBinding()
Endpoint
getSourceBinding
in interface Endpoint
public void setSourceBinding(Binding resolvedBinding)
Endpoint
setSourceBinding
in interface Endpoint
resolvedBinding
- the resolved source bindingpublic Binding getSourceCallbackBinding()
Endpoint
getSourceCallbackBinding
in interface Endpoint
public void setSourceCallbackBinding(Binding resolvedCallbackBinding)
Endpoint
setSourceCallbackBinding
in interface Endpoint
resolvedCallbackBinding
- the resolved source callback bindingpublic java.util.List<Binding> getCandidateBindings()
Endpoint
getCandidateBindings
in interface Endpoint
public Component getTargetComponent()
Endpoint
getTargetComponent
in interface Endpoint
public void setTargetComponent(Component targetComponent)
Endpoint
setTargetComponent
in interface Endpoint
targetComponent
- target componentpublic ComponentService getTargetComponentService()
Endpoint
getTargetComponentService
in interface Endpoint
public void setTargetComponentService(ComponentService targetComponentService)
Endpoint
setTargetComponentService
in interface Endpoint
public Binding getTargetBinding()
Endpoint
getTargetBinding
in interface Endpoint
public void setTargetBinding(Binding targetBinding)
Endpoint
setTargetBinding
in interface Endpoint
targetBinding
- target bindingpublic Binding getTargetCallbackBinding()
public void setTargetCallbackBinding(Binding targetCallbackBinding)
public InterfaceContract getInterfaceContract()
Endpoint
getInterfaceContract
in interface Endpoint
public void setInterfaceContract(InterfaceContract interfaceContract)
Endpoint
setInterfaceContract
in interface Endpoint
interfaceContract
- the interface contract
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |