com.pentagaia.tb.start
Class Main

java.lang.Object
  extended by com.pentagaia.tb.start.Main

public final class Main
extends Object

Main class to start and utilize the pds kernel. This class can be used to startup the pds kernel. It allows special modules to utilize the kernel. The property com.pentagaia.tb.start.Main contains an optional path and filename to a configuration file that contains information on the startup procedure. A running kernel is accessible through class KernelManager.

The configuration properties file contains hints on the startup processing. It is a standard java properties file. The properties are explained in interface IConfigurationProperties. If a security manager is used the following permissions are probed:

type name description
RuntimePermission pds.createKernel Permission to start a new kernel. See method KernelManager.createKernel(IStartupConfiguration). At least the main method must be able to startup the kernel.
RuntimePermission pds.getKernel Permission to receive the running kernel. See method KernelManager.getKernel(). There may be special kernel utilities that require to receive and customize the kernel.
RuntimePermission pds.getKernelCore Permission to receive the running kernel. See method IPdsKernel.getKernelCore(). There may be special kernel utilities that require to receive and customize the kernel.
RuntimePermission pds.getClassLoaderExtensions Permission to receive the class loader extensions. See method IPdsKernel.getClassLoaderExtensions().
RuntimePermission pds.getKernelListeners Permission to receive the kernel listeners. See method IPdsKernel.getKernelListeners().
RuntimePermission pds.getPropertyParsers Permission to receive the property parsers. See method IPdsKernel.getPropertyParsers().
RuntimePermission pds.installClassLoaderExtension Permission to install a new class loader extension. See method IPdsKernel.installClassLoaderExtension(IPdsClassLoaderExtension).
RuntimePermission pds.installKernelListener Permission to install a new kernel listener. See method IPdsKernel.installKernelListener(IPdsKernelListener).
RuntimePermission pds.installPropertyParser Permission to install a new property parser. See method IPdsKernel.installPropertyParser(IPdsPropertyParser).
RuntimePermission pds.installAppKernelAppContext Permission to install a new app kernel app context. See method IPdsKernel.installAppKernelAppContext(IPdsAppKernelAppContext).
RuntimePermission pds.getAppKernelAppContext Permission to receive the app kernel app context. See method IPdsKernel.getAppKernelAppContext().

Since:
0.1.0
Version:
0.1.0
Author:
mepeisen

Method Summary
static void main(String[] args)
          Main method to start a pds kernel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
Main method to start a pds kernel. Can be used with the same command line arguments than the normal pds kernel class. The command line arguments point to the applications that will be started.

Parameters:
args -


Copyright © 2008. All Rights Reserved.