net.dpml.depot
Class Main

java.lang.Object
  extended by net.dpml.depot.Main

public final class Main
extends Object

CLI hander for the depot package.

Version:
1.2.0
Author:
Digital Product Meta Library

Field Summary
static String APPLICATION_KEY
          Application selection key.
 
Method Summary
static void main(String[] args)
          Processes command line options to establish the command handler plugin to deploy.
static void setShutdownHook(Thread thread)
          Create a shutdown hook that will trigger shutdown of the supplied plugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPLICATION_KEY

public static final String APPLICATION_KEY
Application selection key.

See Also:
Constant Field Values
Method Detail

main

public static void main(String[] args)
                 throws Exception
Processes command line options to establish the command handler plugin to deploy. Command parameters recognixed by the console include the following:

Parameters:
args - the command line argument array
Throws:
Exception - if a error occurs

setShutdownHook

public static void setShutdownHook(Thread thread)
Create a shutdown hook that will trigger shutdown of the supplied plugin.

Parameters:
thread - the application thread