|
Service Management Framework Release 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.osg.smf.SMFLauncher
This class provides an entry point for launching SMF. It configures SMF according to the command line arguments:
[platform-name] := "" | fully qualified class name [platform-args] := *( ":" [value]) [value] := [token] | [quoted-string] This allows -platform::"bundledir=c:\jarbundles":reset DefaultPlatform is chosen with args[] {"bundledir=c:\jarbundles", "reset"} -platform:com.foo.MyPlatform com.foo.MyPlatform chosen with args[] {}
-platform specifies the implementation class for the platform to be used. args contains a list of platform arguments, separated by ":". Platform arguments format is defined by the platform implementation class. They are passed to the platform class as an array of Strings. Example arguments used by the DefaultPlatform are:
Actions can be defined by a platform. Multiple actions can be specified, separated by ":".
It is up to the platform implementation to define reasonable defaults if it's required arguments are not specified.
If -platform is not specified, or if no platform classname is specified, DefaultPlatform will be used, which is file based and stores the files in the \bundles directory relative to the current directory.
Any other command line arguments are passed on to the console window of the framework if started with the -console option. If the console is not started, any unrecognized arguments will be ignored and a message displayed.
If none of the options above are specified, SMF is started:
(c) Copyright IBM Corp. 2001, 2002
Constructor Summary | |
SMFLauncher()
Default constructor. |
Method Summary | |
static void |
main(java.lang.String[] args)
main method for SMFLauncher. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SMFLauncher()
Method Detail |
public static void main(java.lang.String[] args)
args
- The command line arguments
|
Service Management Framework Release 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |