|
|||||||||
| Home >> All >> org >> media >> mn8 >> [ conf overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.media.mn8.conf
Class NamingConf

java.lang.Objectorg.media.mn8.conf.NamingConf
- public class NamingConf
- extends java.lang.Object
Class who is responsible for loading and managing the configuration information stored in /conf/naning.mn8.xml
- Version:
- $Revision: 1.16 $ $Date: 2002/09/16 23:06:30 $
| Field Summary | |
private static java.util.Hashtable |
_envLoad
|
private static java.lang.String |
_NAMING_CONFIG_FILE
|
private static NamingConf |
_namingConf
|
private static NamingHandlerBase |
_namingHandler
|
static java.lang.String |
_SYSTEM_ERR_URI
Where will be stored in our JNDI Namespace the error stream |
static java.lang.String |
_SYSTEM_IN_URI
Where will be stored in our JNDI Namespace the input stream |
static java.lang.String |
_SYSTEM_OUT_URI
Where will be stored in our JNDI Namespace the output stream |
| Constructor Summary | |
private |
NamingConf()
Dafault constructor |
| Method Summary | |
private void |
applyEnvLoadConditions(java.util.Properties from,
java.util.Vector loadPatterns,
java.util.Vector exceptPatterns)
|
static void |
cleanAll()
|
java.lang.String |
getEnvMapping()
It is possible that mn8 will not use it's MemoryContext but rather it will use some external one. |
java.util.Hashtable |
getEnvProperties()
Returns an hashtable containing all the java system variables as the operating system environment variables, selected using the patterns from /conf/naming.mn8.xml the |
java.util.Hashtable |
getInitialContextProperties()
Returns an hashtable loaded with all the data contained in the /conf/naming.mn8.xml file in the initial.context section. This hashtable should be enough to create an InitialContext. |
java.lang.String |
getMemMapping()
It is possible that mn8 will not use it's MemoryContext but rather it will use some external one. |
static NamingConf |
getReference()
Method for getting the NamingConf instance. |
private java.util.Properties |
getSystemEnvironment()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
_SYSTEM_OUT_URI
public static final java.lang.String _SYSTEM_OUT_URI
- Where will be stored in our JNDI Namespace the output stream
- See Also:
- Constant Field Values
_SYSTEM_ERR_URI
public static final java.lang.String _SYSTEM_ERR_URI
- Where will be stored in our JNDI Namespace the error stream
- See Also:
- Constant Field Values
_SYSTEM_IN_URI
public static final java.lang.String _SYSTEM_IN_URI
- Where will be stored in our JNDI Namespace the input stream
- See Also:
- Constant Field Values
_NAMING_CONFIG_FILE
private static final java.lang.String _NAMING_CONFIG_FILE
- See Also:
- Constant Field Values
_namingHandler
private static NamingHandlerBase _namingHandler
_namingConf
private static NamingConf _namingConf
_envLoad
private static java.util.Hashtable _envLoad
| Constructor Detail |
NamingConf
private NamingConf()
- Dafault constructor
| Method Detail |
cleanAll
public static void cleanAll()
getReference
public static NamingConf getReference()
- Method for getting the NamingConf instance. Don't forger that it
implements a Singleton pattern.
getInitialContextProperties
public java.util.Hashtable getInitialContextProperties()
- Returns an hashtable loaded with all the data contained in
the /conf/naming.mn8.xml file in the initial.context section.
This hashtable should be enough to create an InitialContext.
getEnvProperties
public java.util.Hashtable getEnvProperties()
- Returns an hashtable containing all the java system variables as
the operating system environment variables, selected using the
patterns from /conf/naming.mn8.xml the
and elements.
getEnvMapping
public java.lang.String getEnvMapping()
- It is possible that mn8 will not use it's MemoryContext but rather it
will use some external one. It is possible to map the memory context
in any context desired in the external one providing a mapping which will
be applied.
getMemMapping
public java.lang.String getMemMapping()
- It is possible that mn8 will not use it's MemoryContext but rather it
will use some external one. It is possible to map the memory context
in any context desired in the external one providing a mapping which will
be applied.
applyEnvLoadConditions
private void applyEnvLoadConditions(java.util.Properties from, java.util.Vector loadPatterns, java.util.Vector exceptPatterns)
getSystemEnvironment
private java.util.Properties getSystemEnvironment()
|
|||||||||
| Home >> All >> org >> media >> mn8 >> [ conf overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.media.mn8.conf.NamingConf