Skip to Content Java Solaris Communities Partners My Sun Sun Store United States Worldwide

»  Spotlight Articles
»  Projects
»  Publications
»  People
»  Awards
»  Events
»  Downloads
»  Internships
»  Contrarian Minds
»  About Sun Labs
Brazil project: Class Request.RechainableProperties

sunlabs.brazil.server Class Request.RechainableProperties

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--sunlabs.brazil.server.Request.RechainableProperties
All Implemented Interfaces:
Cloneable, Map, Serializable
Enclosing class:
Request

public static class Request.RechainableProperties
extends Properties

The RechainableProperties is similar to a standard Properties, except that the defaults can be changed at any time. The defaults for a standard Properties object can only be set once, when the object is constructed.

It is is useful in a certain set of circumstances to build a chain of request properties, and be able to insert new sets of properties anywhere in the chain.

See Also:
Serialized Form

Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
Request.RechainableProperties()            
Request.RechainableProperties(Properties defaults)            
 
Method Summary
 Properties getDefaults()           Return the current "default" properties for this object.
 Properties setDefaults(Properties change)           Set the default properties for this object.
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Request.RechainableProperties

public Request.RechainableProperties()

Request.RechainableProperties

public Request.RechainableProperties(Properties defaults)
Method Detail

setDefaults

public Properties setDefaults(Properties change)
Set the default properties for this object.
Parameters:
change - The new default properties. Use this with care: no attempt is made to detect loops.

getDefaults

public Properties getDefaults()
Return the current "default" properties for this object.

Version 2.2, Generated 07/25/00
Copyright (c) 2000, Sun Microsystems.

Would you recommend this Sun site to a friend or colleague?
Contact About Sun News Employment Privacy Terms of Use Trademarks Copyright 1994-2009 Sun Microsystems, Inc.