Class ReactiveContainer
- java.lang.Object
-
- org.contextfx.components.Container
-
- org.contextfx.reactive.components.ReactiveContainer
-
public class ReactiveContainer extends Container
- Version:
- 1.0.0
- Author:
- Ramon Rangel Osorio <ramon.rangel@protonmail.com>
-
-
Field Summary
-
Fields inherited from class org.contextfx.components.Container
CONTAINER, DEFAULT_IDENTIFIER, IS_DEFAULT_CONSTRUCTOR, IS_PARAMETERIZED_CONSTRUCTOR
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReactiveContainergetInstance()Get the instance of the ReactiveContainer.static ReactiveContainergetReactiveInstance()Returns the reactive instance of the ReactiveContainer class.voidreactiveRegister(Class<?> clazz, String identifier)Registers a reactive instance of a class with the given identifier.<T> TreactiveResolver(Class<T> clazz, String identifier)Generates a function comment for the given function body.-
Methods inherited from class org.contextfx.components.Container
createInstance, createInstanceByDefaultConstructor, createInstanceByParameterizedConstructor, createParametersInstances, getComponent, getComponent, getComponents, register, register, replace, resolver, validateClasNameAndIdentifier
-
-
-
-
Method Detail
-
getReactiveInstance
public static ReactiveContainer getReactiveInstance()
Returns the reactive instance of the ReactiveContainer class.- Returns:
- the reactive instance of the ReactiveContainer class
-
getInstance
public static ReactiveContainer getInstance()
Get the instance of the ReactiveContainer.- Returns:
- the instance of the ReactiveContainer
-
reactiveRegister
public final void reactiveRegister(Class<?> clazz, String identifier)
Registers a reactive instance of a class with the given identifier.- Parameters:
clazz- the class to create a reactive instance ofidentifier- the identifier for the reactive instance (optional)
-
reactiveResolver
public final <T> T reactiveResolver(Class<T> clazz, String identifier)
Generates a function comment for the given function body.- Type Parameters:
T- the class type retorned- Parameters:
clazz- the class of the objectidentifier- the identifier for the object- Returns:
- the resolved object of type T
-
-