Sun GlassFish Enterprise Server 2.1 Developer's Guide

Handling MBean Attributes

You can set MBean attribute values that are not read-only in the following ways:

In the Enterprise Server configuration, MBean attributes are stored as properties. Therefore, using the asadmin set command means editing properties. For example:

asadmin set --user adminuser

If the MBean name is different from the implementation class, you must use the MBean name in the asadmin set command. In this example, the name is TextPatterns.

For full details on the asadmin set command, see the Sun GlassFish Enterprise Server 2.1 Reference Manual.