java.module.annotation
Annotation Type ImportPolicyClass


@Target(value={SUPERPACKAGE,TYPE})
@Retention(value=RUNTIME)
public @interface ImportPolicyClass

Indicates the class of the import policy of a module definition. The class must extend the ImportPolicy class. This metadata annotation is applied to the development module, i.e. the superpackage construct.

For example,

    @ImportPolicyClass("com.wombat.xyz.ImportPolicyImpl")
    superpackage com.wombat.xyz {
       ...
    }
 

Since:
1.7.0
Author:
Stanley M. Ho
See Also:
ImportPolicy

Required Element Summary
 String value
          Import policy class.
 

Element Detail

value

public abstract String value
Import policy class.