com.objectwave.configuration.bean
Class JndiPropertyLookup.FakeProperty

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

public class JndiPropertyLookup.FakeProperty
extends java.util.Properties

Version:
$Id: JndiPropertyLookup.java,v 2.0 2001/06/11 15:46:53 dave_hoag Exp $
Author:
dhoag
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
JndiPropertyLookup.FakeProperty()
           
 
Method Summary
 javax.naming.Context getContext()
          Gets the Context attribute of the FakeProperty object
 java.lang.String getProperty(java.lang.String propName)
          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

JndiPropertyLookup.FakeProperty

public JndiPropertyLookup.FakeProperty()
Method Detail

getContext

public javax.naming.Context getContext()
                                throws javax.naming.NamingException
Gets the Context attribute of the FakeProperty object

Returns:
The Context value
Throws:
javax.naming.NamingException

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