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 ComponentId
ComponentId.createAnonymousComponentId
(String baseName) Creates a componentId that is unique for this run-time instancestatic ComponentId
ComponentId.fromFileName
(String fileName) Creates an id from a file first name string encoded in the standard translation (seetoFileName()
).static ComponentId
ComponentId.fromString
(String componentId) Creates a component id from the id string form: name(:version)?(@namespace)?, where version has the form 1(.2(.3(.identifier)?)?)? and namespace is a component id.final ComponentId
AbstractComponent.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 ComponentId
ComponentId.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 TypeMethodDescriptionint
ComponentId.compareTo
(ComponentId other) final void
AbstractComponent.initId
(ComponentId id) Initializes this.void
Component.initId
(ComponentId id) Initializes this.boolean
ComponentSpecification.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 ComponentIdModifierConstructorDescriptionprotected
Creates 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) void
ComponentRegistry.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 ComponentIdModifierConstructorDescriptionprotected
protected