Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.impl.services.monitor
Class UpdateServiceProperties  view UpdateServiceProperties download UpdateServiceProperties.java

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended byorg.apache.derby.impl.services.monitor.UpdateServiceProperties
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class UpdateServiceProperties
extends java.util.Properties


Nested Class Summary
 
Nested classes inherited from class java.util.Hashtable
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
private  boolean serviceBooted
           
private  java.lang.String serviceName
           
private  org.apache.derby.iapi.services.monitor.PersistentService serviceType
           
private  org.apache.derby.io.WritableStorageFactory storageFactory
           
 
Fields inherited from class java.util.Properties
defaults
 
Fields inherited from class java.util.Hashtable
 
Constructor Summary
UpdateServiceProperties(org.apache.derby.iapi.services.monitor.PersistentService serviceType, java.lang.String serviceName, java.util.Properties actualSet, boolean serviceBooted)
           
 
Method Summary
 org.apache.derby.io.WritableStorageFactory getStorageFactory()
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
          Put the key-value pair in the Properties set and mark this set as modified.
 java.lang.Object remove(java.lang.Object key)
          Remove the key-value pair from the Properties set and mark this set as modified.
 void saveServiceProperties()
          Saves the service properties to the disk.
 void setServiceBooted()
           
 void setStorageFactory(org.apache.derby.io.WritableStorageFactory storageFactory)
           
private  void update()
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, putAll, rehash, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serviceType

private org.apache.derby.iapi.services.monitor.PersistentService serviceType

serviceName

private java.lang.String serviceName

storageFactory

private org.apache.derby.io.WritableStorageFactory storageFactory

serviceBooted

private boolean serviceBooted
Constructor Detail

UpdateServiceProperties

public UpdateServiceProperties(org.apache.derby.iapi.services.monitor.PersistentService serviceType,
                               java.lang.String serviceName,
                               java.util.Properties actualSet,
                               boolean serviceBooted)
Method Detail

setServiceBooted

public void setServiceBooted()

setStorageFactory

public void setStorageFactory(org.apache.derby.io.WritableStorageFactory storageFactory)

getStorageFactory

public org.apache.derby.io.WritableStorageFactory getStorageFactory()

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)
Put the key-value pair in the Properties set and mark this set as modified.


remove

public java.lang.Object remove(java.lang.Object key)
Remove the key-value pair from the Properties set and mark this set as modified.


saveServiceProperties

public void saveServiceProperties()
Saves the service properties to the disk.


update

private void update()