java.module.annotation
Annotation Type PlatformBinding


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

Indicates the platform binding of a module definition. This metadata annotation is applied to the development module, i.e. the superpackage construct.

For example,

    @PlatformBinding(platform="win32", arch="x86")
    superpackage com.wombat.xyz {
       ...
    }
 
    @PlatformBinding(platform="linux", arch="x86")
    superpackage com.wombat.xyz {
       ...
    }
 
    @PlatformBinding(platform="solaris", arch="sparc")
    superpackage com.wombat.xyz {
       ...
    }
 

Since:
1.7.0
Author:
Stanley M. Ho

Required Element Summary
 String arch
          Name of the architecture.
 String platform
          Name of the platform.
 

Element Detail

platform

public abstract String platform
Name of the platform. It should be one of the possible values of the system property "os.platform".


arch

public abstract String arch
Name of the architecture. It should be one of the possible values of the system property "os.arch".