|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.core.assembly.EndpointReferenceImpl
public class EndpointReferenceImpl
Constructor Summary | |
---|---|
EndpointReferenceImpl(RuntimeComponent component,
Contract contract,
Binding binding,
InterfaceContract interfaceContract)
|
|
EndpointReferenceImpl(java.lang.String uri)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
|
Binding |
getBinding()
Get the binding for the endpoint |
EndpointReference |
getCallbackEndpoint()
Get the callback endpoint for this endpoint |
RuntimeComponent |
getComponent()
Get the component for the endpoint |
Contract |
getContract()
Get the component service or reference for the endpoint |
InterfaceContract |
getInterfaceContract()
Get the interface contract for the endpoint |
ReferenceParameters |
getReferenceParameters()
|
java.lang.String |
getURI()
Get the URI for this endpoint |
int |
hashCode()
|
void |
mergeEndpoint(EndpointReference epr)
|
void |
setBinding(Binding binding)
|
void |
setCallbackEndpoint(EndpointReference callbackEndpoint)
Set the callback endpoint for this endpoint |
void |
setComponent(RuntimeComponent component)
|
void |
setContract(Contract contract)
|
void |
setInterfaceContract(InterfaceContract interfaceContract)
Update the interface contract for the endpoint |
void |
setReferenceParameters(ReferenceParameters parameters)
|
void |
setURI(java.lang.String uri)
Set the URI for this endpoint |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EndpointReferenceImpl(RuntimeComponent component, Contract contract, Binding binding, InterfaceContract interfaceContract)
component
- contract
- binding
- interfaceContract
- public EndpointReferenceImpl(java.lang.String uri)
uri
- Method Detail |
---|
public Binding getBinding()
EndpointReference
getBinding
in interface EndpointReference
public void setBinding(Binding binding)
public RuntimeComponent getComponent()
EndpointReference
getComponent
in interface EndpointReference
public void setComponent(RuntimeComponent component)
public Contract getContract()
EndpointReference
getContract
in interface EndpointReference
public void setContract(Contract contract)
public InterfaceContract getInterfaceContract()
EndpointReference
getInterfaceContract
in interface EndpointReference
public void setInterfaceContract(InterfaceContract interfaceContract)
EndpointReference
setInterfaceContract
in interface EndpointReference
interfaceContract
- The updated interface contractpublic java.lang.String getURI()
EndpointReference
getURI
in interface EndpointReference
public void setURI(java.lang.String uri)
EndpointReference
setURI
in interface EndpointReference
uri
- The new URI of the endpointpublic EndpointReference getCallbackEndpoint()
EndpointReference
getCallbackEndpoint
in interface EndpointReference
public void setCallbackEndpoint(EndpointReference callbackEndpoint)
EndpointReference
setCallbackEndpoint
in interface EndpointReference
callbackEndpoint
- The new callback endpoint for this endpointpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface EndpointReference
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
Object.clone()
public ReferenceParameters getReferenceParameters()
getReferenceParameters
in interface EndpointReference
public void setReferenceParameters(ReferenceParameters parameters)
setReferenceParameters
in interface EndpointReference
parameters
- the parameters to setpublic void mergeEndpoint(EndpointReference epr)
mergeEndpoint
in interface EndpointReference
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |