kaos.core.service.boot
Class Booter

java.lang.Object
  extended by kaos.core.service.boot.Booter

public final class Booter
extends java.lang.Object

$Revision: 1.6 $


Method Summary
static ServiceProperties getProperties(java.lang.String pf, ServiceProperties sp)
          This is a utility function to get a subset of ServiceProperties from a ServiceProperties
static ServiceRoot getServiceRoot()
          Returns a valid ServiceRoot using the available defaults.
static ServiceRoot getServiceRoot(BootProperties bp)
          The attributes within the Properties must be in the following form: , where prefix is one of the well defined service types: AgentNamingService.SERVICE_TYPE AgentDirectoryService.SERVICE_TYPE TransportSystem.SERVICE_TYPE and key is the well known String ServiceManager.SERVICE_CLASS_FACTORY.
static void main(java.lang.String[] args)
           
static void setDefaultEnvironment(BootProperties env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setDefaultEnvironment

public static void setDefaultEnvironment(BootProperties env)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getServiceRoot

public static ServiceRoot getServiceRoot()
                                  throws java.lang.Exception
Returns a valid ServiceRoot using the available defaults.

Throws:
java.lang.Exception

getServiceRoot

public static ServiceRoot getServiceRoot(BootProperties bp)
                                  throws java.lang.Exception
The attributes within the Properties must be in the following form: , where prefix is one of the well defined service types:
    AgentNamingService.SERVICE_TYPE AgentDirectoryService.SERVICE_TYPE TransportSystem.SERVICE_TYPE
and key is the well known String ServiceManager.SERVICE_CLASS_FACTORY.

Throws:
java.lang.Exception

getProperties

public static ServiceProperties getProperties(java.lang.String pf,
                                              ServiceProperties sp)
This is a utility function to get a subset of ServiceProperties from a ServiceProperties


main

public static void main(java.lang.String[] args)