Skip to Content.
Sympa Menu

notify-dpml - r1876 - in trunk/main/metro/appliance/src/main/dpml/station: info util

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1876 - in trunk/main/metro/appliance/src/main/dpml/station: info util
  • Date: Sun, 25 Feb 2007 06:50:18 +0100

Author: mcconnell
Date: 2007-02-25 06:50:16 +0100 (Sun, 25 Feb 2007)
New Revision: 1876

Modified:
trunk/main/metro/appliance/src/main/dpml/station/info/InfoDescriptor.java

trunk/main/metro/appliance/src/main/dpml/station/info/ProcessDescriptor.java
trunk/main/metro/appliance/src/main/dpml/station/util/LoggingServer.java
Log:
cleaning up javadoc

Modified:
trunk/main/metro/appliance/src/main/dpml/station/info/InfoDescriptor.java
===================================================================
--- trunk/main/metro/appliance/src/main/dpml/station/info/InfoDescriptor.java
2007-02-17 08:05:45 UTC (rev 1875)
+++ trunk/main/metro/appliance/src/main/dpml/station/info/InfoDescriptor.java
2007-02-25 05:50:16 UTC (rev 1876)
@@ -41,9 +41,9 @@

/**
* Creation of a new application info descriptor.
- * @param name the application name
- * @param title the title of the application
- * @param description the application description
+ * @param element the DOM element definining the info descriptor
+ * @param resolver symbolic reference resolver
+ * @exception DecodingException if a decoding exception occurs
*/
public InfoDescriptor( Element element, Resolver resolver ) throws
DecodingException
{

Modified:
trunk/main/metro/appliance/src/main/dpml/station/info/ProcessDescriptor.java
===================================================================
---
trunk/main/metro/appliance/src/main/dpml/station/info/ProcessDescriptor.java
2007-02-17 08:05:45 UTC (rev 1875)
+++
trunk/main/metro/appliance/src/main/dpml/station/info/ProcessDescriptor.java
2007-02-25 05:50:16 UTC (rev 1876)
@@ -51,14 +51,10 @@

/**
* Creation of a new process descriptor.
- * @param executable the java executable name (optional)
- * @param environment a map of overriding environment variables
- * @param properties supplimentary system properties
- * @param path the deployment base directory path
- * @param startup startup timeout in seconds
- * @param shutdown startup timeout in seconds
+ * @param element the elememnt defining the process descriptor
+ * @param resolver the symbolic reference resolver
*/
- public ProcessDescriptor( Element element, Resolver resolver ) throws
DecodingException
+ public ProcessDescriptor( Element element, Resolver resolver )
{
m_element = element;
if( null == element )
@@ -114,6 +110,16 @@
}
}

+ /**
+ * Creation of a new process descriptor.
+ * @param executable the java executable name (optional)
+ * @param environment a map of overriding environment variables
+ * @param properties supplimentary system properties
+ * @param arguments command line arguments
+ * @param path the deployment base directory path
+ * @param startup startup timeout in seconds
+ * @param shutdown startup timeout in seconds
+ */
public ProcessDescriptor(
String executable, Map<String,String> environment, Properties
properties,
List<String> arguments, String path, int startup, int shutdown )

Modified:
trunk/main/metro/appliance/src/main/dpml/station/util/LoggingServer.java
===================================================================
--- trunk/main/metro/appliance/src/main/dpml/station/util/LoggingServer.java
2007-02-17 08:05:45 UTC (rev 1875)
+++ trunk/main/metro/appliance/src/main/dpml/station/util/LoggingServer.java
2007-02-25 05:50:16 UTC (rev 1876)
@@ -45,30 +45,6 @@
private static final String LOG_SERVER_PORT_KEY =
"dpml.station.logging.port";
private static final int DEFAULT_LOG_SERVER_PORT = 2020;

- //public static final Thread SERVER = createLoggingServerThread();
-
- /*
- private static Thread createLoggingServerThread()
- {
- System.out.println( "## CREATING LOG SERVER THREAD IN " + PROCESS );
- int port = getLogServerPort();
- try
- {
- LoggingServer server = new LoggingServer( port );
- Thread thread = new Thread( server, "DPML Station Aggregator" );
- thread.setDaemon( true );
- thread.start();
- return thread;
- }
- catch( Throwable e )
- {
- final String error =
- "Unexpected error while attempting to start the logging server
on port [" + port + "].";
- throw new Error( error, e );
- }
- }
- */
-
private static LoggingServer SERVER;

public static void init()
@@ -108,7 +84,6 @@

/**
* Creation of a new logging service instance.
- * @param port the log server port
* @exception IOException if an IO exception occurs
*/
public LoggingServer() throws IOException




  • r1876 - in trunk/main/metro/appliance/src/main/dpml/station: info util, mcconnell at BerliOS, 02/25/2007

Archive powered by MHonArc 2.6.24.

Top of Page