Skip to main content

Source code revision

svn

summary: This code change involes the followin:
revision: 19065
author: janey
date: 2008-03-20 23:51:34 UTC (8 years)
message: This code change involes the followin:

* accept short option parameters
* add defaultValue in annotated Param so user can define @Param{defaultValue="default-String"}
* if defaultValue is not defined in the annotated Param, then take the value that is initialized.
For example:
@Param{name=enable, optional=true}
String enable="true";

The value true is the default value for enable.

* add @Param variables for List and String[]. For example:
@Param {optional=true}
List groups;

and

@Param {optional=true}
String[] dottedNames;

* update License/Copyright Text

Reviewed by Jennifer Chou and Prashanth Abbagani
Passed v3 QL tests and Junit tests

Change Path Actions
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/admin/CommandRunner.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/admin/LocalStrings.properties
A trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/admin/ParamTokenizer.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/admin/PropertiesTokenizer.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/deployment/DeployCommand.java
M trunk/v3/core/kernel/src/test/java/com/sun/enterprise/v3/admin/CommandRunnerTest.java
 
 
Close
loading
Please Confirm
Close