|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuntimeComponentReference
The runtime component reference. Provides the bridge between the assembly model representation of a component reference and its runtime realization
Method Summary | |
---|---|
void |
addPolicyProvider(Binding binding,
PolicyProvider policyProvider)
Add a policy provider for the given binding to the reference |
ReferenceBindingProvider |
getBindingProvider(Binding binding)
Returns the reference binding provider associated with this component reference and the given binding. |
EndpointResolver |
getEndpointResolver(Endpoint endpoint)
Returns the endpoint resolver associated with this component reference and the given endpoint. |
Invoker |
getInvoker(Binding binding,
Operation operation)
Get the invoker for the given binding and operation |
java.util.List<PolicyProvider> |
getPolicyProviders(Binding binding)
Get a list of policy providers for the given binding |
RuntimeWire |
getRuntimeWire(Binding binding)
Get the runtime wire for the given binding |
java.util.List<RuntimeWire> |
getRuntimeWires()
Get a list of runtime wires to the reference |
void |
setBindingProvider(Binding binding,
ReferenceBindingProvider bindingProvider)
Sets the reference binding provider associated with this component reference and the given binding. |
void |
setComponent(RuntimeComponent component)
Set the owning component |
void |
setEndpointResolver(Endpoint endpoint,
EndpointResolver endpointResolver)
Sets the endpoint resolver associated with this component reference and the given endpoint. |
Methods inherited from interface org.apache.tuscany.sca.assembly.ComponentReference |
---|
getAutowire, getCallbackService, getEndpoints, getReference, setAutowire, setCallbackService, setReference |
Methods inherited from interface org.apache.tuscany.sca.assembly.Reference |
---|
getTargets, isPromotionOverride, isWiredByImpl, setPromotionOverride, setWiredByImpl |
Methods inherited from interface org.apache.tuscany.sca.assembly.AbstractReference |
---|
getMultiplicity, setMultiplicity |
Methods inherited from interface org.apache.tuscany.sca.assembly.Contract |
---|
clone, getBinding, getBindings, getCallback, getCallbackBinding, getInterfaceContract, setCallback |
Methods inherited from interface org.apache.tuscany.sca.assembly.AbstractContract |
---|
getInterfaceContract, getName, isCallback, setInterfaceContract, setIsCallback, setName |
Methods inherited from interface org.apache.tuscany.sca.assembly.Base |
---|
isUnresolved, setUnresolved |
Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible |
---|
getExtensions |
Methods inherited from interface org.apache.tuscany.sca.assembly.OperationsConfigurator |
---|
getConfiguredOperations |
Methods inherited from interface org.apache.tuscany.sca.policy.PolicySetAttachPoint |
---|
getApplicablePolicySets, getPolicySets |
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint |
---|
getRequiredIntents, getType, setType |
Method Detail |
---|
java.util.List<RuntimeWire> getRuntimeWires()
RuntimeWire getRuntimeWire(Binding binding)
binding
- The assembly model binding
ReferenceBindingProvider getBindingProvider(Binding binding)
binding
- The assembly model binding
void setBindingProvider(Binding binding, ReferenceBindingProvider bindingProvider)
binding
- The assembly model bindingbindingProvider
- The runtime reference binding providerEndpointResolver getEndpointResolver(Endpoint endpoint)
endpont
- The assembly model endpoint
void setEndpointResolver(Endpoint endpoint, EndpointResolver endpointResolver)
binding
- The assembly model bindingbindingProvider
- The runtime reference binding providervoid addPolicyProvider(Binding binding, PolicyProvider policyProvider)
binding
- The assembly model bindingpolicyProvider
- The policy handlerjava.util.List<PolicyProvider> getPolicyProviders(Binding binding)
binding
- The assembly model binding
Invoker getInvoker(Binding binding, Operation operation)
binding
- The assembly model bindingoperation
- The assembly model operation
void setComponent(RuntimeComponent component)
component
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |