接口 ComponentLookupService
-
- 所有已知子接口:
ComponentRegistry<E,C>
- 所有已知实现类:
AbstractComponentRegistry
public interface ComponentLookupServicecomponent lookup service.
-
-
方法详细资料
-
lookup
<T extends Component> Optional<T> lookup(String name)
- 参数:
name- component unique name- 返回:
- Component indentified by unique name
-
lookup
<T extends Component> Set<String> lookup(Class<T> componentType)
- 参数:
componentType- component class- 返回:
- all component names by component type
-
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
-
-