Uses of Class
com.yahoo.component.ComponentId
Packages that use ComponentId
-
Uses of ComponentId in com.yahoo.component
Methods in com.yahoo.component that return ComponentIdModifier and TypeMethodDescriptionstatic ComponentIdComponentId.createAnonymousComponentId(String baseName) Creates a componentId that is unique for this run-time instancestatic ComponentIdComponentId.fromFileName(String fileName) Creates an id from a file first name string encoded in the standard translation (seetoFileName()).static ComponentIdComponentId.fromString(String componentId) Creates a component id from the id string form: name(:version)?final ComponentIdAbstractComponent.getId()Do NOT call at construction time.Component.getId()Returns the id of this componentComponentId.getNamespace()The namespace is null if this is a top level component idComponentSpecification.getNamespace()The namespace is null if this is to match a top level component idComponentId.nestInNamespace(ComponentId namespace) static ComponentIdComponentId.newAnonymous(String spec) Creates a component id with the given value, marked as anonymousComponentSpecification.toId()Converts the specification to an idComponentId.withoutNamespace()Returns a copy of this id with namespace set to nullMethods in com.yahoo.component with parameters of type ComponentIdModifier and TypeMethodDescriptionintComponentId.compareTo(ComponentId other) final voidAbstractComponent.initId(ComponentId id) Initializes this.voidComponent.initId(ComponentId id) Initializes this.booleanComponentSpecification.matches(ComponentId id) Checks if a componentId matches a given specComponentId.nestInNamespace(ComponentId namespace) ComponentSpecification.nestInNamespace(ComponentId namespace) Constructors in com.yahoo.component with parameters of type ComponentIdModifierConstructorDescriptionprotectedCreates a new component with an id.ComponentId(String name, Version version, ComponentId namespace) ComponentSpecification(String name, VersionSpecification versionSpecification, ComponentId namespace) -
Uses of ComponentId in com.yahoo.component.provider
Methods in com.yahoo.component.provider that return types with arguments of type ComponentIdModifier and TypeMethodDescriptionComponentRegistry.allComponentsById()Returns an unmodifiable snapshot of all components present in this registry, by id.Methods in com.yahoo.component.provider with parameters of type ComponentIdModifier and TypeMethodDescriptionComponentRegistry.getComponent(ComponentId id) voidComponentRegistry.register(ComponentId id, COMPONENT component) Registers a component unless this registry is frozen.static <COMPONENT>
ComponentRegistry<COMPONENT>ComponentRegistry.singleton(ComponentId id, COMPONENT component) Returns a frozen registry with a single component, for convenienceComponentRegistry.unregister(ComponentId id) Unregisters a component unless this registry is frozen.Constructors in com.yahoo.component.provider with parameters of type ComponentIdModifierConstructorDescriptionprotectedprotected