org.melati.app
Class ConfigApp

Package class diagram package ConfigApp
java.lang.Object
  extended by org.melati.app.AbstractConfigApp
      extended by org.melati.app.ConfigApp
All Implemented Interfaces:
App

public class ConfigApp
extends AbstractConfigApp

An example of how to access a configured application from the command line. Invoke: java -cp melati.jar;site\properties org.melati.app.ConfigApp Method


Field Summary
 
Fields inherited from class org.melati.app.AbstractConfigApp
melatiConfig, output
 
Constructor Summary
ConfigApp()
           
 
Method Summary
protected  void doConfiguredRequest(Melati melati)
          The main method to override.
static void main(String[] args)
          The main entry point.
 
Methods inherited from class org.melati.app.AbstractConfigApp
applyNamedArguments, getSysAdminEmail, getSysAdminName, init, melatiConfig, poemContext, run, setOutput, term
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigApp

public ConfigApp()
Method Detail

doConfiguredRequest

protected void doConfiguredRequest(Melati melati)
                            throws Exception
The main method to override.

Specified by:
doConfiguredRequest in class AbstractConfigApp
Parameters:
melati - A Melati with arguments and properties set
Throws:
Exception - if anything goes wrong
See Also:
AbstractConfigApp.doConfiguredRequest(org.melati.Melati)

main

public static void main(String[] args)
                 throws Exception
The main entry point.

Parameters:
args - can only be method
Throws:
Exception


Copyright © 2000-2010 PanEris. All Rights Reserved.