Tuscany Assembly Model

org.apache.tuscany.model.assembly
Interface EntryPoint

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

public interface EntryPoint
extends Part

An entry point exposed by its containing Composite. References from outside the composite can only be connected to its entry points.


Method Summary
 java.util.List<Binding> getBindings()
          Returns the bindings supported by this entry point.
 ConfiguredReference getConfiguredReference()
          Returns the configured reference that wires this entry point to the published service inside the composite.
 ConfiguredService getConfiguredService()
          Returns the configured service exposed by this entry point.
 void setConfiguredReference(ConfiguredReference configuredReference)
          Sets the configured reference that wires this entry point to the published service inside the composite.
 void setConfiguredService(ConfiguredService configuredService)
          Sets the configured service exposed by this entry point.
 
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 supported by this entry point. A single entry point may be bound to multiple transports.

Returns:
a list of bindings supported by this entry point

getConfiguredService

ConfiguredService getConfiguredService()
Returns the configured service exposed by this entry point.

Returns:
the configured service exposed by this entry point

setConfiguredService

void setConfiguredService(ConfiguredService configuredService)
Sets the configured service exposed by this entry point.

Parameters:
configuredService - the configured service exposed by this entry point

getConfiguredReference

ConfiguredReference getConfiguredReference()
Returns the configured reference that wires this entry point to the published service inside the composite.

Returns:
the reference that wires this entry point to the published service

setConfiguredReference

void setConfiguredReference(ConfiguredReference configuredReference)
Sets the configured reference that wires this entry point to the published service inside the composite.

Parameters:
configuredReference - the configured reference that wires this entry point to the published service inside the composite

Tuscany Assembly Model

-