|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.impl.services.monitor.BaseMonitor
org.apache.derby.impl.services.monitor.FileMonitor
Implementation of the monitor that uses the class loader that the its was loaded in for all class loading.
| Nested Class Summary |
| Nested classes inherited from class org.apache.derby.impl.services.monitor.BaseMonitor |
BaseMonitor.ProviderEnumeration |
| Field Summary | |
private int |
action
|
private ProductVersionHolder |
engineVersion
|
private java.io.File |
home
|
private int |
intValue
|
private java.lang.String |
key3
|
private java.net.URL |
propertyFileURL
|
private java.lang.Runnable |
task
|
| Fields inherited from class org.apache.derby.impl.services.monitor.BaseMonitor |
applicationProperties, bootProperties, daemonGroup, dontGC, implementationSets, inShutdown, reportOn, serviceProviders |
| Constructor Summary | |
FileMonitor()
|
|
FileMonitor(java.util.Properties properties,
java.io.PrintStream log)
|
|
| Method Summary | |
protected java.io.InputStream |
applicationPropertiesStream()
Get InputStream for application properties file Returns nul if it does not exist. |
java.lang.Thread |
getDaemonThread(java.lang.Runnable task,
java.lang.String name,
boolean setMinPriority)
Get a newly created background thread. |
ProductVersionHolder |
getEngineVersion()
|
java.lang.Object |
getEnvironment()
Return the environment object that this system was booted in. |
java.lang.String |
getJVMProperty(java.lang.String key)
Return a property from the JVM's system set. |
boolean |
initialize(boolean lite)
Initialize the system in a privileged block. |
protected java.io.InputStream |
loadModuleDefinitions(java.net.URL propertyFileURL)
|
private java.io.InputStream |
PBapplicationPropertiesStream()
|
private java.lang.String |
PBgetJVMProperty(java.lang.String key)
SECURITY WARNING. |
private boolean |
PBinitialize(boolean lite)
SECURITY WARNING. |
java.lang.Object |
run()
|
void |
setThreadPriority(int priority)
Set the priority of the current thread. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.io.File home
private ProductVersionHolder engineVersion
private int action
private java.lang.String key3
private java.lang.Runnable task
private int intValue
private java.net.URL propertyFileURL
| Constructor Detail |
public FileMonitor()
public FileMonitor(java.util.Properties properties,
java.io.PrintStream log)
| Method Detail |
private java.io.InputStream PBapplicationPropertiesStream()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.Object getEnvironment()
ModuleFactory
getEnvironment in interface ModuleFactoryprivate boolean PBinitialize(boolean lite)
private java.lang.String PBgetJVMProperty(java.lang.String key)
public final boolean initialize(boolean lite)
initialize in class BaseMonitor
protected final java.io.InputStream loadModuleDefinitions(java.net.URL propertyFileURL)
throws java.io.IOException
loadModuleDefinitions in class BaseMonitorjava.io.IOExceptionpublic final java.lang.String getJVMProperty(java.lang.String key)
ModuleFactory
getJVMProperty in interface ModuleFactory
public final java.lang.Thread getDaemonThread(java.lang.Runnable task,
java.lang.String name,
boolean setMinPriority)
ModuleFactory
getDaemonThread in interface ModuleFactorygetDaemonThread in class BaseMonitorpublic final void setThreadPriority(int priority)
ModuleFactory
setThreadPriority in interface ModuleFactorysetThreadPriority in class BaseMonitor
protected final java.io.InputStream applicationPropertiesStream()
throws java.io.IOException
BaseMonitor
applicationPropertiesStream in class BaseMonitorjava.io.IOException
public final java.lang.Object run()
throws java.io.IOException
run in interface java.security.PrivilegedExceptionActionjava.io.IOExceptionpublic final ProductVersionHolder getEngineVersion()
getEngineVersion in interface ModuleFactory
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||