public final class FileMonitor extends BaseMonitor
BaseMonitor.ProviderEnumeration
Modifier and Type | Field and Description |
---|---|
private ProductVersionHolder |
engineVersion |
private java.io.File |
home |
private static java.util.Map<java.lang.String,java.lang.Void> |
securityProperties |
applicationProperties, bootProperties, daemonGroup, inShutdown, reportOn
Constructor and Description |
---|
FileMonitor() |
FileMonitor(java.util.Properties properties,
java.io.PrintWriter log) |
Modifier and Type | Method and Description |
---|---|
(package private) java.io.InputStream |
applicationPropertiesStream()
Get InputStream for application properties file Returns nul if it does not exist.
|
private java.lang.ThreadGroup |
createDaemonGroup()
Create a ThreadGroup and set the daemon property to make sure
the group is destroyed and garbage collected when all its
members have finished (i.e., either when the driver is
unloaded, or when the last database is shut down).
|
java.lang.Thread |
getDaemonThread(java.lang.Runnable task,
java.lang.String name,
boolean setMinPriority)
Get a newly created background thread.
|
(package private) java.util.Properties |
getDefaultModuleProperties()
Get the complete set of module properties by
loading in contents of all the org/apache/derby/modules.properties
files.
|
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.
|
(package private) boolean |
initialize(boolean lite)
Initialize the system in a privileged block.
|
private java.io.InputStream |
PBapplicationPropertiesStream() |
private java.lang.String |
PBgetJVMProperty(java.lang.String key)
SECURITY WARNING.
|
private boolean |
PBinitialize(boolean lite)
SECURITY WARNING.
|
private void |
report(java.lang.SecurityException e,
java.io.File file) |
private void |
report(java.lang.SecurityException e,
java.lang.String key) |
private void |
reportThread(java.lang.SecurityException e) |
boot, bootProviderServices, bootService, canSupport, classFromIdentifier, createPersistentService, dumpProperties, findModule, findProviderForCreate, findService, getApplicationProperties, getBundle, getCanonicalServiceName, getLocale, getLocaleFromString, getServiceList, getServiceName, getServiceProvider, getServiceType, getSystemStreams, getTimerFactory, getUUIDFactory, isDaemonThread, loadInstance, newInstanceFromIdentifier, readApplicationProperties, removePersistentService, removeRuntimeProperties, report, reportException, runWithState, setLocale, setLocale, shutdown, shutdown, startModule, startNonPersistentService, startPersistentService, startProviderService, startServices
private java.io.File home
private ProductVersionHolder engineVersion
private static final java.util.Map<java.lang.String,java.lang.Void> securityProperties
public FileMonitor()
public FileMonitor(java.util.Properties properties, java.io.PrintWriter log)
private java.io.InputStream PBapplicationPropertiesStream() throws java.io.IOException
java.io.IOException
public java.lang.Object getEnvironment()
ModuleFactory
private java.lang.ThreadGroup createDaemonGroup()
private boolean PBinitialize(boolean lite)
private java.lang.String PBgetJVMProperty(java.lang.String key)
private void report(java.lang.SecurityException e, java.lang.String key)
private void report(java.lang.SecurityException e, java.io.File file)
private void reportThread(java.lang.SecurityException e)
final boolean initialize(boolean lite)
initialize
in class BaseMonitor
final java.util.Properties getDefaultModuleProperties()
BaseMonitor
getDefaultModuleProperties
in class BaseMonitor
public final java.lang.String getJVMProperty(java.lang.String key)
ModuleFactory
public final java.lang.Thread getDaemonThread(java.lang.Runnable task, java.lang.String name, boolean setMinPriority)
ModuleFactory
getDaemonThread
in interface ModuleFactory
getDaemonThread
in class BaseMonitor
final java.io.InputStream applicationPropertiesStream() throws java.io.IOException
BaseMonitor
applicationPropertiesStream
in class BaseMonitor
java.io.IOException
public final ProductVersionHolder getEngineVersion()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.