接口 ComponentLookupService

    • 方法详细资料

      • lookup

        <T extends ComponentOptional<T> lookup​(String name)
        参数:
        name - component unique name
        返回:
        Component indentified by unique name
      • lookup

        <T extends ComponentSet<String> lookup​(Class<T> componentType)
        参数:
        componentType - component class
        返回:
        all component names by component type
      • lookup

        Set<String> lookup​(Tag tag)
        参数:
        tag - the tag
        返回:
        all component by specified tag
      • lookup

        Set<String> lookup​(AttributeKey key)
        参数:
        key - the attribute
        返回:
        all component by specified attribute
      • exists

        boolean exists​(String name)
        参数:
        name - component unique name
        返回:
        true if component indentified by unique name exists, otherwise false
      • exists

        <T extends Component> boolean exists​(T component)
        参数:
        component -
        返回:
        true if component exists, otherwise false