-
@Retention(RUNTIME) @Target(FIELD) public static @interface Ref.Publish
Annotation to be used on aRef
field on a container, to allow Ref fields of direct child components to subscribe and bind to the values of the published Ref. A name can be set to differentiate between Refs of the same type. If a name is not given, a value representing the type is used.
-
-
Element Detail
-
name
String name
Name to publish the Ref under. An empty or blank name means the Ref will be published under a name generated from its type. The default value is an empty String.- Returns:
- name to publish under
- Default:
- ""
-
-