org.objectweb.jonas.tools.GenerateWrapperConf Class Reference

List of all members.

Static Public Member Functions

void main (String[] args)

Package Functions

void syntax ()
void syntax (String arg)
void syntax (Exception e)
void generateKey (String val)
void run (String[] args)

Package Attributes

String propertyName = null

Detailed Description

This class is called by 'jonas start' command to generate properties for the Java Service Wrapper configuration file.

Definition at line 34 of file GenerateWrapperConf.java.


Member Function Documentation

void org.objectweb.jonas.tools.GenerateWrapperConf.generateKey String  val  )  [package]
 

Generate Wrapper.conf property

Definition at line 95 of file GenerateWrapperConf.java.

void org.objectweb.jonas.tools.GenerateWrapperConf.main String[]  args  )  [static]
 

run a new instance of the class

Definition at line 163 of file GenerateWrapperConf.java.

void org.objectweb.jonas.tools.GenerateWrapperConf.run String[]  args  )  [package]
 

Process command line args and generate requested wrapper.conf property entries to STDOUT.

Definition at line 105 of file GenerateWrapperConf.java.

void org.objectweb.jonas.tools.GenerateWrapperConf.syntax Exception  e  )  [package]
 

Display command syntax with exception message

Definition at line 86 of file GenerateWrapperConf.java.

void org.objectweb.jonas.tools.GenerateWrapperConf.syntax String  arg  )  [package]
 

Display command syntax with unrecognized command line argument

Definition at line 77 of file GenerateWrapperConf.java.

void org.objectweb.jonas.tools.GenerateWrapperConf.syntax  )  [package]
 

Display command syntax.

Definition at line 68 of file GenerateWrapperConf.java.


Member Data Documentation

String org.objectweb.jonas.tools.GenerateWrapperConf.propertyName = null [package]
 

Generate property file for Java Service Wrapper.

GenerateWrapperConf parses CLASSPATH or an array of JAVA options for the current JONAS_BASEW into individual property definitions for the Java Service Wrapper configuration file.

 Usage: java org.objectweb.jonas.tools.GenerateWrapperConf
        [-h | -?] to display usage
        [-d <delimiter>] to define delimiter for StringTokenizer
                         <delimiter> is a string of one or more
                         characters to be used by StringTokenizer
        [-i <index>]     to define initial index for generated property
                         <index> is the initial value to be appended
                         to the generated property.name entries
        property.name    name of property(s) to be generated
        args             string(s) to be parsed into properties
 

Refer to Java Service Wrapper documentation for details on configuration file format. http://wrapper.tanukisoftware.org

Definition at line 62 of file GenerateWrapperConf.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:08:10 2005 for JOnAS by  doxygen 1.3.9.1