org.glassfish.pfl.dynamic.generator
Annotation Type Factory


@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Factory

Annotation applied to a method in an abstract class or interface to indicate that the method is an accessor for a property value. The method must take no parameters and return a non-void result type.

Author:
ken

Optional Element Summary
 String value
          Property identifier used to initialize property.
 

value

public abstract String value
Property identifier used to initialize property. Default empty string indicates that the name should be derived from the method name as follows:

Returns:
the property id.
Default:
""


Copyright © 2013 Oracle. All Rights Reserved.