Annotation Type Factory


@Retention(RUNTIME) @Target(TYPE) @Documented public @interface Factory
Identifies a Factory. Factories encapsulate the responsibility of creating complex objects in general and Aggregates in particular. Objects returned by the factory methods are guaranteed to be in valid state.
See Also: