Java Dynamic Management Kit 5.1 Tools Reference Guide

3.3 proxygen Tool Options

The proxygen command takes options, as follows:


proxygen options classes

The options include the following.

-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.