Tuscany Assembly Model

org.apache.tuscany.model.assembly
Interface AssemblyObject

All Known Subinterfaces:
AtomicComponent, AtomicImplementation, Binding, Component<I>, ComponentType, Composite, CompositeComponent<I>, ConfiguredPort<P>, ConfiguredProperty, ConfiguredReference, ConfiguredService, EntryPoint, Extensible, ExternalService, Implementation, ImportWSDL, JavaServiceContract, Module, ModuleComponent, ModuleFragment, Part, Port, Property, Reference, Service, ServiceContract, Subsystem, Wire, WSDLServiceContract
All Known Implementing Classes:
AssemblyObjectImpl, AtomicComponentImpl, AtomicImplementationImpl, BindingImpl, ComponentImpl, ComponentTypeImpl, CompositeImpl, ConfiguredPortImpl, ConfiguredPropertyImpl, ConfiguredReferenceImpl, ConfiguredServiceImpl, EntryPointImpl, ExtensibleImpl, ExternalServiceImpl, ImplementationImpl, ImportWSDLImpl, JavaServiceContractImpl, ModuleComponentImpl, ModuleFragmentImpl, ModuleImpl, PartImpl, PortImpl, PropertyImpl, ReferenceImpl, ServiceContractImpl, ServiceImpl, SubsystemImpl, WireImpl, WSDLServiceContractImpl

public interface AssemblyObject

Base interface for all assembly model objects providing methods for managing the model itself.


Method Summary
 boolean accept(AssemblyVisitor visitor)
          Accept a visitor
 void freeze()
          Freeze this model object preventing any additional changes.
 void initialize(AssemblyContext modelContext)
          Initialize this model object.
 

Method Detail

initialize

void initialize(AssemblyContext modelContext)
                throws AssemblyInitializationException
Initialize this model object.

Parameters:
modelContext - context providing access to the environment in which this model is being used
Throws:
AssemblyInitializationException - if an error ocurrs initializing the artifact

freeze

void freeze()
Freeze this model object preventing any additional changes.


accept

boolean accept(AssemblyVisitor visitor)
Accept a visitor

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

-