Package org.jgrapes.core.annotation
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
Modifier and TypeOptional ElementDescriptionSpecifies the channel to be associated with the component type instance as aClassChannel
’s key.Specifies the channel to be associated with the component type instance as aNamedChannel
’s key (aString
).
-
Element Details
-
channel
Specifies the channel to be associated with the component type instance as aClassChannel
’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 aNamedChannel
’s key (aString
).- Returns:
- the channel
- Default:
""
-