Class ComponentScope
java.lang.Object
net.n2oapp.framework.config.metadata.compile.ComponentScope
Компонент-обёртка.
Применяется для передачи родительского компонента в сборку к дочернему
-
Constructor Summary
ConstructorsConstructorDescriptionComponentScope(Object component) ComponentScope(Object component, ComponentScope parentScope) -
Method Summary
Modifier and TypeMethodDescription<T,R> R getFirstNotNull(Class<T> clazz, Function<T, R> function) static <T,R> R getFirstNotNull(ComponentScope componentScope, Class<T> clazz, Function<T, R> function) <T> T
-
Constructor Details
-
ComponentScope
-
ComponentScope
-
-
Method Details
-
unwrap
-
getFirstNotNull
-
getFirstNotNull
public static <T,R> R getFirstNotNull(ComponentScope componentScope, Class<T> clazz, Function<T, R> function) -
getParentScope
-