Class ComponentHolder<T extends Component>

java.lang.Object
overit.geocall.ux.cdi.holders.ComponentHolder<T>
Type Parameters:
T - the type of the held value
All Implemented Interfaces:
Serializable, Holder<T>

@Component @Scope(scopeName="prototype", proxyMode=NO) public class ComponentHolder<T extends Component> extends Object implements Holder<T>

Holder implementation that retrieves the held value from the current Window registry.

When injected, the name of the component depends on the Component.Registry.value() annotation specified in the injection point

See Also:
  • Method Details

    • get

      public T get()
      Description copied from interface: Holder
      Lazily extract the held value; the following invocation of this method will return the value that has been fetched on the first time that has been called.
      Specified by:
      get in interface Holder<T extends Component>
      Returns:
      the value or null if there's no