com.objectwave.configuration.bean
Class EjbPropertyLookup.FakeProperty

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--com.objectwave.configuration.bean.EjbPropertyLookup.FakeProperty
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable
Enclosing class:
EjbPropertyLookup

public class EjbPropertyLookup.FakeProperty
extends java.util.Properties

An object that pretends to be a Properties object. When the getProperty methods are invoked, a request is delegated to the ConfigurationService enterprise bean.

Version:
$Id: EjbPropertyLookup.java,v 2.1 2001/12/21 20:27:54 dave_hoag Exp $
Author:
dhoag
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
EjbPropertyLookup.FakeProperty()
           
 
Method Summary
 java.lang.String getProperty(java.lang.String propName)
          Gets the Property attribute of the FakeProperty object
protected  java.lang.String getProperty(java.lang.String propName, boolean rethrowException)
          Gets the Property attribute of the FakeProperty object
 java.lang.String getProperty(java.lang.String propName, java.lang.String defaultValue)
          Gets the Property attribute of the FakeProperty object
 
Methods inherited from class java.util.Properties
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

EjbPropertyLookup.FakeProperty

public EjbPropertyLookup.FakeProperty()
Method Detail

getProperty

public java.lang.String getProperty(java.lang.String propName)
Gets the Property attribute of the FakeProperty object

Overrides:
getProperty in class java.util.Properties
Parameters:
propName -
Returns:
The Property value

getProperty

public java.lang.String getProperty(java.lang.String propName,
                                    java.lang.String defaultValue)
Gets the Property attribute of the FakeProperty object

Overrides:
getProperty in class java.util.Properties
Parameters:
propName -
defaultValue -
Returns:
The Property value

getProperty

protected java.lang.String getProperty(java.lang.String propName,
                                       boolean rethrowException)
Gets the Property attribute of the FakeProperty object

Parameters:
propName -
rethrowException -
Returns:
The Property value