Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

pinc
Class StartPinc  view StartPinc download StartPinc.java

java.lang.Object
  extended bypinc.StartPinc

public class StartPinc
extends java.lang.Object

Title: Pinc Main

Description: Pinc is not cron Diese Klasse enthält die Main Methode und ruft sowohl den http-Server als auch den Scheduler auf. Weiters werden hier Passwort, sowie Start und Stop des Programmes verwaltet.

Copyright: Copyright dn03 (c) 2003

Company: dn03

Version:
1.0

Field Summary
private  java.lang.String activeListFile
           
private static java.lang.String allowedCommands
           
private  pinc.httpserver.HTTPServer httpServer
           
private  java.lang.Thread httpServerThread
           
private static java.util.prefs.Preferences pref
           
private  pinc.scheduler.Scheduler scheduler
           
private  java.net.ServerSocket shutdownSocket
           
 
Constructor Summary
StartPinc()
           
 
Method Summary
static java.lang.String[] getAllowedCommands()
          Liefert alle vorkonfigurierten Commandlines, welche lt.
static java.util.prefs.Preferences getPreference()
           
static void main(java.lang.String[] args)
          initialisiert Programm Startet den http-Server und den Scheduler legt Listen (active, job, process) an
 void shutdownListener()
          Shutdownlistener hört auf Socket ob shutdownnachricht eintrifft commando ist / (siehe HTTPConstants)
 void startHTTP()
          Startet den http-Server
 void startScheduler()
          Startet den Scheduler
 void stopPinc()
          Stoppt Pinc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

httpServerThread

private java.lang.Thread httpServerThread

httpServer

private pinc.httpserver.HTTPServer httpServer

shutdownSocket

private java.net.ServerSocket shutdownSocket

activeListFile

private java.lang.String activeListFile

allowedCommands

private static java.lang.String allowedCommands

scheduler

private pinc.scheduler.Scheduler scheduler

pref

private static java.util.prefs.Preferences pref
Constructor Detail

StartPinc

public StartPinc()
          throws PincException
Method Detail

main

public static void main(java.lang.String[] args)
initialisiert Programm Startet den http-Server und den Scheduler legt Listen (active, job, process) an


startHTTP

public void startHTTP()
Startet den http-Server


startScheduler

public void startScheduler()
                    throws PincException
Startet den Scheduler


stopPinc

public void stopPinc()
              throws PincException
Stoppt Pinc


getAllowedCommands

public static java.lang.String[] getAllowedCommands()
                                             throws PincException
Liefert alle vorkonfigurierten Commandlines, welche lt. Config-File erlaubt sind


shutdownListener

public void shutdownListener()
Shutdownlistener hört auf Socket ob shutdownnachricht eintrifft commando ist / (siehe HTTPConstants)


getPreference

public static java.util.prefs.Preferences getPreference()