Annotation Interface ComponentManager


This annotation marks a component type’s attribute of type Manager as a slot for the component type’s manager.

A value is automatically assigned to such an attribute when the component type is attached to the component tree or by Components.manager(ComponentType) (or Components.manager(ComponentType, Channel)).

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends Channel>
    Specifies the channel to be associated with the component type instance as a ClassChannel’s key.
    Specifies the channel to be associated with the component type instance as a NamedChannel’s key (a String).
  • Element Details

    • channel

      Class<? extends Channel> channel
      Specifies the channel to be associated with the component type instance as a ClassChannel’s key.
      Returns:
      the channel
      Default:
      org.jgrapes.core.annotation.Handler.NoChannel.class
    • namedChannel

      Specifies the channel to be associated with the component type instance as a NamedChannel’s key (a String).
      Returns:
      the channel
      Default:
      ""