Interface ConditionContext<T extends ComponentDescriptor>
-
public interface ConditionContext<T extends ComponentDescriptor>The context information for use by aConditionmatching aComponentDescriptor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetComponent()ComponentFactorygetComponentFactory()Get theComponentFactorythat holds the component descriptor should the condition match.ConfgetConfig()Get the configuration that was passed to get the component instance.
-
-
-
Method Detail
-
getComponentFactory
ComponentFactory getComponentFactory()
Get theComponentFactorythat holds the component descriptor should the condition match. The returned registry should not be used to register a new component descriptor.- Returns:
- the
ComponentFactory; cannot benull.
-
getConfig
Conf getConfig()
Get the configuration that was passed to get the component instance.- Returns:
- the
Confobject; cannot benull.
-
getComponent
T getComponent()
- Returns:
- the component that should match the condition.
-
-