Skip to main content

Source code revision

svn

summary: API clean-up from Jerome's feedback: 1) CommandExecutor replaced with
revision: 25230
author: jc129909
date: 2009-03-10 08:10:25 UTC (5 years)
message: API clean-up from Jerome's feedback:
1) CommandExecutor replaced with
Server. java :
public CommandExcecution execute(String commandName, CommandParameters params);

CommandExecution.java :
public ExitCode getExitCode();
public String getMessage();
public ActionReport getActionReport();

CommandParameters.java :
public setOperand(String operand);
public setOption(String optionName, String optionValue);

2) Get rid of deployScattered method in EmbeddedDeployer.
- public void deployScattered(ScatteredWar war, String contextRoot, String virtualServer) throws EmbeddedException {
+ public void deploy(ReadableArchive war, String contextRoot, String virtualServer) throws EmbeddedException {

- public void deployScattered(ScatteredWar war, String contextRoot) throws EmbeddedException {
- deployScattered(war, contextRoot, null);
+ public void deploy(ReadableArchive war, String contextRoot) throws EmbeddedException {
+ deploy(war, contextRoot, null);
}

- public void deployScattered(ScatteredWar war) throws EmbeddedException {
- deployScattered(war, null, null);
- }
+ //public void deployScattered(ScatteredWar war) throws EmbeddedException {
+ // deployScattered(war, null, null);
+ //}

3) Make Server.getEngine() pkg-private

4) Remove 'Default' column in EmbeddedMain javadoc. No option is required.
Change Path Actions
A branches/embedded_v3_prelude_release/embedded/api/src/main/java/org/glassfish/embed/CommandExecution.java
A branches/embedded_v3_prelude_release/embedded/api/src/main/java/org/glassfish/embed/CommandParameters.java
M branches/embedded_v3_prelude_release/embedded/api/src/main/java/org/glassfish/embed/EmbeddedDeployer.java
M branches/embedded_v3_prelude_release/embedded/api/src/main/java/org/glassfish/embed/EmbeddedMain.java
M branches/embedded_v3_prelude_release/embedded/api/src/main/java/org/glassfish/embed/Server.java
M branches/embedded_v3_prelude_release/embedded/api/src/test/java/org/glassfish/embed/CommandExecutorTest.java
 
 
Close
loading
Please Confirm
Close