Class PassiveResourceRegistry


  • public class PassiveResourceRegistry
    extends Object
    • Constructor Detail

      • PassiveResourceRegistry

        public PassiveResourceRegistry()
    • Method Detail

      • findOrCreateResource

        public SimPassiveResource findOrCreateResource​(org.palladiosimulator.pcm.repository.PassiveResource specification,
                                                       org.palladiosimulator.pcm.core.composition.AssemblyContext assCtx)
        Finds the resource that has been registered for the specified type. If no resource of the specified type can be found, the search continues with the parent resource container.
        Parameters:
        type - the resource type
        Returns:
        the resource of the specified type, if there is one; null else