Package org.apache.bsf.util
Class ObjectRegistry
java.lang.Object
org.apache.bsf.util.ObjectRegistry
The ObjectRegistry is used to do name-to-object reference lookups.
If an ObjectRegistry is passed as a constructor argument, then this
ObjectRegistry will be a cascading registry: when a lookup is
invoked, it will first look in its own table for a name, and if it's not
there, it will cascade to the parent ObjectRegistry.
All registration is always local. [??]
- Author:
- Sanjiva Weerawarana, Matthew J. Duftler
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ObjectRegistry
public ObjectRegistry() -
ObjectRegistry
-
-
Method Details
-
lookup
- Throws:
IllegalArgumentException
-
register
-
unregister
-