Tuscany Assembly Model

org.apache.tuscany.model.assembly
Interface ExternalService

All Superinterfaces:
AssemblyObject, ContextFactoryHolder, Extensible, Part
All Known Implementing Classes:
ExternalServiceImpl

public interface ExternalService
extends Part

An external service consumed by its containing Composite. All references used by the composite are specified as external services.


Method Summary
 java.util.List<Binding> getBindings()
          Returns the bindings that can be used by operations on this external service.
 ConfiguredService getConfiguredService()
          Returns the configured service that this external service provides to other parts of the containing composite.
 OverrideOption getOverrideOption()
          Returns the override option that determines if any wiring for this external service that is contained in this composite can be overridden by wired supplied from outside.
 void setConfiguredService(ConfiguredService configuredService)
          Sets the configured service that this external service provides to other parts of the containing composite
 void setOverrideOption(OverrideOption value)
          Set the override option that determines if any wiring for this external service that is contained in this composite can be overridden by wired supplied from outside.
 
Methods inherited from interface org.apache.tuscany.model.assembly.Part
getComposite, getName, setComposite, setName
 
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
 
Methods inherited from interface org.apache.tuscany.model.assembly.ContextFactoryHolder
getContextFactory, setContextFactory
 

Method Detail

getBindings

java.util.List<Binding> getBindings()
Returns the bindings that can be used by operations on this external service. A single external service may be bound to multiple transports.


getOverrideOption

OverrideOption getOverrideOption()
Returns the override option that determines if any wiring for this external service that is contained in this composite can be overridden by wired supplied from outside.


setOverrideOption

void setOverrideOption(OverrideOption value)
Set the override option that determines if any wiring for this external service that is contained in this composite can be overridden by wired supplied from outside.

Parameters:
value - the option that determines how wires can be overriden

getConfiguredService

ConfiguredService getConfiguredService()
Returns the configured service that this external service provides to other parts of the containing composite.

Returns:
the configured service that this external service provides to other parts of the containing composite

setConfiguredService

void setConfiguredService(ConfiguredService configuredService)
Sets the configured service that this external service provides to other parts of the containing composite

Parameters:
configuredService - the configured service that this external service provides to other parts of the containing composite

Tuscany Assembly Model

-