Tuscany Assembly Model

org.apache.tuscany.model.assembly.impl
Class EntryPointImpl

java.lang.Object
  extended by org.apache.tuscany.model.assembly.impl.AssemblyObjectImpl
      extended by org.apache.tuscany.model.assembly.impl.ExtensibleImpl
          extended by org.apache.tuscany.model.assembly.impl.PartImpl
              extended by org.apache.tuscany.model.assembly.impl.EntryPointImpl
All Implemented Interfaces:
AssemblyObject, ContextFactoryHolder, EntryPoint, Extensible, Part

public class EntryPointImpl
extends PartImpl
implements EntryPoint

An implementation of EntryPoint.


Constructor Summary
protected EntryPointImpl()
           
 
Method Summary
 boolean accept(AssemblyVisitor visitor)
          Accept a visitor
 void freeze()
          Freeze this model object preventing any additional changes.
 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 initialize(AssemblyContext modelContext)
          Initialize this model object.
 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 class org.apache.tuscany.model.assembly.impl.PartImpl
getComposite, getContextFactory, getName, setComposite, setContextFactory, setName
 
Methods inherited from class org.apache.tuscany.model.assembly.impl.ExtensibleImpl
getExtensibilityAttributes, getExtensibilityElements
 
Methods inherited from class org.apache.tuscany.model.assembly.impl.AssemblyObjectImpl
accept, checkInitialized, checkNotFrozen, freeze, initialize, isFrozen, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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.ContextFactoryHolder
getContextFactory, setContextFactory
 

Constructor Detail

EntryPointImpl

protected EntryPointImpl()
Method Detail

getConfiguredReference

public ConfiguredReference getConfiguredReference()
Description copied from interface: EntryPoint
Returns the configured reference that wires this entry point to the published service inside the composite.

Specified by:
getConfiguredReference in interface EntryPoint
Returns:
the reference that wires this entry point to the published service

setConfiguredReference

public void setConfiguredReference(ConfiguredReference configuredReference)
Description copied from interface: EntryPoint
Sets the configured reference that wires this entry point to the published service inside the composite.

Specified by:
setConfiguredReference in interface EntryPoint
Parameters:
configuredReference - the configured reference that wires this entry point to the published service inside the composite

getConfiguredService

public ConfiguredService getConfiguredService()
Description copied from interface: EntryPoint
Returns the configured service exposed by this entry point.

Specified by:
getConfiguredService in interface EntryPoint
Returns:
the configured service exposed by this entry point

setConfiguredService

public void setConfiguredService(ConfiguredService configuredService)
Description copied from interface: EntryPoint
Sets the configured service exposed by this entry point.

Specified by:
setConfiguredService in interface EntryPoint
Parameters:
configuredService - the configured service exposed by this entry point

getBindings

public java.util.List<Binding> getBindings()
Description copied from interface: EntryPoint
Returns the bindings supported by this entry point. A single entry point may be bound to multiple transports.

Specified by:
getBindings in interface EntryPoint
Returns:
a list of bindings supported by this entry point

initialize

public void initialize(AssemblyContext modelContext)
Description copied from interface: AssemblyObject
Initialize this model object.

Specified by:
initialize in interface AssemblyObject
Overrides:
initialize in class ExtensibleImpl
Parameters:
modelContext - context providing access to the environment in which this model is being used

freeze

public void freeze()
Description copied from interface: AssemblyObject
Freeze this model object preventing any additional changes.

Specified by:
freeze in interface AssemblyObject
Overrides:
freeze in class ExtensibleImpl

accept

public boolean accept(AssemblyVisitor visitor)
Description copied from interface: AssemblyObject
Accept a visitor

Specified by:
accept in interface AssemblyObject
Overrides:
accept in class ExtensibleImpl
Parameters:
visitor - a visitor that is visiting the model
Returns:
true if processing is complete and the visitor should stop traversing the model

Tuscany Assembly Model

-