Java Dynamic Management Kit 5.0 Tools Reference

proxygen Compiler Options

The proxygen command takes options, as follows:


proxygenoptions classes

The options include:

-d dir

Specifies a destination directory for the generated code.

-ro

Generates read-only proxy MBeans. Calling setter methods of these read-only proxies raises a com.sun.jdmk.RuntimeProxyException.

-tp pkgName

Generates code in the target package specified by pkgName.

-classpath path

Specifies a class path to use for locating the class to compile. By default, the system class path is used.

-help

Prints a message that briefly describes each proxygen option.