Sun GlassFish Enterprise Server v3 Prelude Add-On Component Development Guide

Representing a Parameter of an asadmin Command

Represent each parameter of a command in your implementation as a field or as the property of a JavaBeansTM specification setter method. Use the property of a setter method for the following reasons: