Interface ComponentLookupService

    • Method Detail

      • lookup

        <T extends ComponentOptional<T> lookup​(String name)
        Parameters:
        name - component unique name
        Returns:
        Component indentified by unique name
      • lookup

        <T extends ComponentSet<String> lookup​(Class<T> componentType)
        Parameters:
        componentType - component class
        Returns:
        all component names by component type
      • lookup

        Set<String> lookup​(Tag tag)
        Parameters:
        tag - the tag
        Returns:
        all component by specified tag
      • lookup

        Set<String> lookup​(AttributeKey key)
        Parameters:
        key - the attribute
        Returns:
        all component by specified attribute
      • exists

        boolean exists​(String name)
        Parameters:
        name - component unique name
        Returns:
        true if component indentified by unique name exists, otherwise false
      • exists

        <T extends Component> boolean exists​(T component)
        Parameters:
        component -
        Returns:
        true if component exists, otherwise false