Annotation Interface Factory
@Documented
@Target(METHOD)
@Retention(RUNTIME)
@API(status=STABLE,
since="1.0")
public @interface Factory
An annotation that, when applied to a method, indicates that the method is a factory for the return type of the
annotated method. The method must pass all requirements of a factory method before being registered as one.
- Since:
- 1.0
-
Field Summary
Fields
-
Field Details
-
CODEC_ID
Id of the codec to use when serializing or deserializing factory methods.- See Also:
-