|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.management.manager.PMConfiguration
public abstract class PMConfiguration
PERMIS Management configuration class.
an instance of this class will encapsulate the entire configuration that is held external to a running instance of the PERMIS management (PManagement class). i.e. held in a file.
load () is the method that reads in the configuration form a file, then overrides any properties passed in via the command line arguments.
there are two main member variables:
properties contains all the configuration, and agentNumberList is a list of PERMIS agents.
there is a load () and a store () method used for reading in and writing out all configuration properties from and to the configuration file.
agentNumberIterator () is used to get the PERMIS agent list, and there are a multiple of getter access methods used to get the rest of the configuration.
Constructor Summary | |
---|---|
PMConfiguration()
|
Method Summary | |
---|---|
protected abstract java.io.InputStream |
getIdentityStoreInputStream()
get the identity key store input stream. |
protected java.util.Properties |
getProperties()
Get the permanent configuration list. |
protected abstract java.io.InputStream |
getTrustStoreInputStream()
get the trust key store input stream. |
protected void |
load(java.util.Map<java.lang.String,java.lang.String> arguments)
load in the PERMIS management configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PMConfiguration()
Method Detail |
---|
protected java.util.Properties getProperties()
protected abstract java.io.InputStream getIdentityStoreInputStream() throws PMException
PMException
- if there is a problem establishing an input streamprotected abstract java.io.InputStream getTrustStoreInputStream() throws PMException
PMException
- if there is a problem establishing an input streamprotected void load(java.util.Map<java.lang.String,java.lang.String> arguments) throws PMException
-pmconfiguration pmconfiguration.properties
arguments
- a string of command line arguments that override the
settings in the management configuration file
PMException
- If loading form the XML file fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |