Kieker 1.4

kieker.tools.traceAnalysis.systemModel.repository
Class AssemblyRepository

java.lang.Object
  extended by kieker.tools.traceAnalysis.systemModel.repository.AbstractSystemSubRepository
      extended by kieker.tools.traceAnalysis.systemModel.repository.AssemblyRepository

public class AssemblyRepository
extends AbstractSystemSubRepository

Author:
Andre van Hoorn

Field Summary
 
Fields inherited from class kieker.tools.traceAnalysis.systemModel.repository.AbstractSystemSubRepository
ROOT_ELEMENT_ID
 
Constructor Summary
AssemblyRepository(SystemModelRepository systemFactory, AssemblyComponent rootAssemblyComponent)
           
 
Method Summary
 AssemblyComponent createAndRegisterAssemblyComponentInstance(String namedIdentifier, ComponentType componentType)
           
 Collection<AssemblyComponent> getAssemblyComponentInstances()
           
 AssemblyComponent getRootAssemblyComponent()
           
 AssemblyComponent lookupAssemblyComponentById(int containerId)
          Returns the instance for the passed ID; null if no instance with this ID.
 AssemblyComponent lookupAssemblyComponentInstanceByNamedIdentifier(String namedIdentifier)
          Returns the instance for the passed factoryIdentifier; null if no instance with this factoryIdentifier.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssemblyRepository

public AssemblyRepository(SystemModelRepository systemFactory,
                          AssemblyComponent rootAssemblyComponent)
Method Detail

lookupAssemblyComponentById

public final AssemblyComponent lookupAssemblyComponentById(int containerId)
Returns the instance for the passed ID; null if no instance with this ID.


lookupAssemblyComponentInstanceByNamedIdentifier

public final AssemblyComponent lookupAssemblyComponentInstanceByNamedIdentifier(String namedIdentifier)
Returns the instance for the passed factoryIdentifier; null if no instance with this factoryIdentifier.


createAndRegisterAssemblyComponentInstance

public final AssemblyComponent createAndRegisterAssemblyComponentInstance(String namedIdentifier,
                                                                          ComponentType componentType)

getAssemblyComponentInstances

public final Collection<AssemblyComponent> getAssemblyComponentInstances()

getRootAssemblyComponent

public AssemblyComponent getRootAssemblyComponent()

Kieker 1.4

Copyright 2011 the Kieker Project, http://kieker.sourceforge.net