Annotation Interface Model
Marks a class as a model component in the ContextFX IoC container.
A model is a specialization of Component intended for classes that hold
application state or data. Classes annotated with @Model are discovered by
Scanner, registered first (before other
component types) in the Container, and
have their dependencies resolved by
ModelInjector.
- Author:
- Ramon Rangel Osorio <ramon.rangel@protonmail.com>
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueOptional identifier used to register this model in the container. When blank, the simple class name is used as the identifier.- Returns:
- the model identifier, or an empty string to use the class name
- Default:
""
-