notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r1374 - development/main/transit/plugin/src/main/net/dpml/transit/control
- From: mcconnell AT netcompartner.com
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r1374 - development/main/transit/plugin/src/main/net/dpml/transit/control
- Date: Tue, 04 Jan 2005 08:28:20 +0100
Author: mcconnell
Date: Tue Jan 4 08:28:20 2005
New Revision: 1374
Modified:
development/main/transit/plugin/src/main/net/dpml/transit/control/CommandHandler.java
Log:
make internal metyhods private and make the class final.
Modified:
development/main/transit/plugin/src/main/net/dpml/transit/control/CommandHandler.java
==============================================================================
---
development/main/transit/plugin/src/main/net/dpml/transit/control/CommandHandler.java
(original)
+++
development/main/transit/plugin/src/main/net/dpml/transit/control/CommandHandler.java
Tue Jan 4 08:28:20 2005
@@ -54,13 +54,12 @@
/**
* The command handler is a commandline entry point into the transit system.
It is
* established as the root management plugin by transit using the system
property
- * "dpml.transit.bootstrap.uri". The transit cli utility will default to
this plugin
- * if the system property is undefined.
+ * "dpml.transit.bootstrap.uri" of -Xbootstrap cli option.
*
* @author <a href="mailto:dev@dpmlnet">Stephen J. McConnell</a>
* @version $Id: Metro.java 916 2004-11-25 12:15:17Z niclas AT apache.org $
*/
-public class CommandHandler implements Runnable
+public final class CommandHandler implements Runnable
{
//
------------------------------------------------------------------------
// static
@@ -175,8 +174,8 @@
}
/**
- * Runnable implementation during which the comandline options of get or
load
- * are handled.
+ * Runnable implementation during which the comandline options are
resolved
+ * and a target application will be deployed.
*/
public void run()
{
@@ -211,7 +210,7 @@
* are downloaded (if required) to the local transit cache.
* @param payload the artifacts to get
*/
- public void handleGetCommand( String[] payload )
+ private void handleGetCommand( String[] payload )
{
boolean pending = true;
while( pending )
@@ -243,7 +242,7 @@
* is deployed.
* @param target the artifact to get
*/
- public void handleLoadCommand( String target )
+ private void handleLoadCommand( String target )
{
try
{
- svn commit: r1374 - development/main/transit/plugin/src/main/net/dpml/transit/control, mcconnell, 01/04/2005
Archive powered by MHonArc 2.6.24.