|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.opennms.bb.dp.spmd.Spmd
Spmd is the class that will bring up the discovery/capsd/other poller processes.. - as of now, just creates the JSDT registry - (will be replaced by the SCM)
Field Summary | |
private PollerClient |
client
|
private static Properties |
m_properties
The properties that are specific to the spmd process. |
Constructor Summary | |
Spmd()
Creates the Spmd |
Method Summary | |
(package private) static void |
Copy the System properties and then load the bluebird and spmd specific files into the property object. |
static Properties |
getProperties()
|
static String |
getProperty(String key)
|
boolean |
jsdtInitialize(String clientName)
Create all the required JSDT Sessions |
static void |
main(String[] args)
Start the Spmd process |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Field Detail |
private PollerClient client
private static Properties m_properties
The properties that are specific to the spmd process. The properties are a combination of the JVM's system properties, plus the inclusion of the OpenNMS specific property files. There are two additional files that are loaded, if the system properties are correctly set.
In order to properly load the OpenNMS specific file(s) their location must be known in advance. Instead of hard coding the location of the files, the files are referenced by properties. The following list declares the properites that reference the specific files. The property files are loaded in the order they appear in the list.
Currently the string returned for the propertyFile(s) must be a file on the local filesystem. Later support for remote files via HTTP, JSDT, etc al may be supported.
Constructor Detail |
public Spmd()
Method Detail |
static void()
Copy the System properties and then load the bluebird and spmd specific files into the property object. For more information see the javadoc comment for the m_properties element.
Additionally, this static loading will also look at the debugging options and will setup the Logging Facility. This can only be done after the properties have been loaded.
public boolean jsdtInitialize(String clientName)
public static Properties getProperties()
public static String getProperty(String key)
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |