|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tivoli.pd.jutil.PDBasicContext
public class PDBasicContext
This class implements the IPDBasicContext interface.
It provides trace and message logging setup for the application runtime.
Modes: Local,Remote
| Field Summary | |
|---|---|
static PDBasicContext |
defaultCtxt
|
| Constructor Summary | |
|---|---|
PDBasicContext()
Constructs a PDBasicContext with default Locale. |
|
PDBasicContext(java.util.Locale locale)
Constructs a PDBasicContext. |
|
PDBasicContext(java.util.Properties props)
Constructs a PDBasicContext. |
|
PDBasicContext(java.util.Properties props,
java.util.Locale locale)
Constructs a PDBasicContext. |
|
PDBasicContext(java.net.URL configURL)
Constructs a PDBasicContext. |
|
PDBasicContext(java.net.URL configURL,
java.util.Locale locale)
Constructs a PDBasicContext. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the trace and message loggers. |
java.util.Locale |
getLocale()
Returns the Locale. |
com.tivoli.pd.jras.pdjlog.PDJMessageLogger |
getMessageLogger()
Returns the message logger. |
java.util.Properties |
getProperties()
Returns the properties. |
com.tivoli.pd.jras.pdjlog.PDJTraceLogger |
getTraceLogger()
Returns the trace logger. |
java.lang.String |
getValue(java.lang.String name)
Returns the value for a specified property. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static PDBasicContext defaultCtxt
| Constructor Detail |
|---|
public PDBasicContext(java.util.Properties props)
throws PDException
props - System properties to override for this application runtime.
PDException
public PDBasicContext(java.util.Properties props,
java.util.Locale locale)
throws PDException
props - System properties to override for this application runtime.locale - Locale for this context. Cannot be null.
PDException
public PDBasicContext(java.net.URL configURL)
throws PDException
configURL - configuration file URL.
PDException
public PDBasicContext(java.net.URL configURL,
java.util.Locale locale)
throws PDException
configURL - configuration file URL.locale - Locale for this context. Cannot be null.
PDExceptionpublic PDBasicContext()
public PDBasicContext(java.util.Locale locale)
throws PDException
locale - Locale for this context. Cannot be null.
PDException| Method Detail |
|---|
public void close()
throws PDException
PDExceptionpublic com.tivoli.pd.jras.pdjlog.PDJTraceLogger getTraceLogger()
getTraceLogger in interface com.tivoli.pd.jutil.IPDBasicContextpublic com.tivoli.pd.jras.pdjlog.PDJMessageLogger getMessageLogger()
getMessageLogger in interface com.tivoli.pd.jutil.IPDBasicContextpublic java.util.Locale getLocale()
public java.util.Properties getProperties()
public java.lang.String getValue(java.lang.String name)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||