net.customware.license.confluence.prefs
Class ConfluenceSystemPreferences

java.lang.Object
  extended by java.util.prefs.Preferences
      extended by java.util.prefs.AbstractPreferences
          extended by net.customware.license.support.util.AbstractLicensePreferences
              extended by net.customware.license.confluence.prefs.AbstractBandanaPreferences
                  extended by net.customware.license.confluence.prefs.ConfluenceSystemPreferences

public class ConfluenceSystemPreferences
extends AbstractBandanaPreferences

This is an incomplete implementation of the Preferences API, with only enough implemented to support the TrueLicense API. When this class is used as the Preferences implementation for TrueLicense, the license key will be stored in Bandana, available across the whole server.

Author:
David Peterson

Field Summary
 
Fields inherited from class java.util.prefs.AbstractPreferences
lock, newNode
 
Fields inherited from class java.util.prefs.Preferences
MAX_KEY_LENGTH, MAX_NAME_LENGTH, MAX_VALUE_LENGTH
 
Constructor Summary
  ConfluenceSystemPreferences()
           
protected ConfluenceSystemPreferences(ConfluenceSystemPreferences parent, java.lang.String name)
           
 
Method Summary
protected  java.util.prefs.AbstractPreferences childSpi(java.lang.String name)
           
 
Methods inherited from class net.customware.license.confluence.prefs.AbstractBandanaPreferences
getBandanaManager, getSpi, putSpi, removeSpi
 
Methods inherited from class net.customware.license.support.util.AbstractLicensePreferences
childrenNamesSpi, flushSpi, keysSpi, nodeForPackage, removeNodeSpi, syncSpi
 
Methods inherited from class java.util.prefs.AbstractPreferences
absolutePath, addNodeChangeListener, addPreferenceChangeListener, cachedChildren, childrenNames, clear, exportNode, exportSubtree, flush, get, getBoolean, getByteArray, getChild, getDouble, getFloat, getInt, getLong, isRemoved, isUserNode, keys, name, node, nodeExists, parent, put, putBoolean, putByteArray, putDouble, putFloat, putInt, putLong, remove, removeNode, removeNodeChangeListener, removePreferenceChangeListener, sync, toString
 
Methods inherited from class java.util.prefs.Preferences
importPreferences, systemNodeForPackage, systemRoot, userNodeForPackage, userRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfluenceSystemPreferences

public ConfluenceSystemPreferences()

ConfluenceSystemPreferences

protected ConfluenceSystemPreferences(ConfluenceSystemPreferences parent,
                                      java.lang.String name)
Method Detail

childSpi

protected java.util.prefs.AbstractPreferences childSpi(java.lang.String name)
Specified by:
childSpi in class java.util.prefs.AbstractPreferences


Copyright © 2011 CustomWare Asia Pacific. All Rights Reserved.