|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.agentfactory.platform.util.PlatformConfigReader
public class PlatformConfigReader
Read in an Agent Factory Platform Configurtion File. A platform configuration file specifies: (a) details of platform services to be activated; (b) language and GUI plugins to be loaded; and (c) basic information about the platform including its name. The PlatformConfigReader is instantiated by the AgentPlatform during start-up and is disposed of once the Agent Platform is fully constructed. TODO - robertr - 25/08/04 - describe the syntax of a platform config file. The notions of default components, sleep time, and actuator threading are all options passed to the interpreter.
| Field Summary | |
|---|---|
static int |
CLASS_LOG_LEVEL
The class debug level. |
static java.lang.String |
UNKNOWN
|
| Constructor Summary | |
|---|---|
PlatformConfigReader(java.lang.String filename)
create a new configuration file reader using given file |
|
| Method Summary | |
|---|---|
void |
buildInterpreterEntry(java.util.StringTokenizer tok)
Build an entry for an agent interpreter. |
java.util.Hashtable |
getInterpreters()
Get the hashtable of interpreters that were read in by the configuration file reader. |
java.lang.String |
getName()
This is used by the Platform Specific Actuator. |
java.lang.String |
getPlatformDomain()
|
java.util.Vector |
getPlatformGUIs()
|
java.util.Vector |
getSecurityPolicies()
|
java.util.Vector |
getServices()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CLASS_LOG_LEVEL
public static final java.lang.String UNKNOWN
| Constructor Detail |
|---|
public PlatformConfigReader(java.lang.String filename)
throws java.io.IOException
filename - the name of the configuration file
java.io.IOException| Method Detail |
|---|
public void buildInterpreterEntry(java.util.StringTokenizer tok)
tok - public java.util.Hashtable getInterpreters()
public java.util.Vector getServices()
public java.util.Vector getPlatformGUIs()
public java.lang.String getName()
public java.lang.String getPlatformDomain()
public java.util.Vector getSecurityPolicies()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||