org.apache.commons.jelly.tags.bsf
Class JellyContextRegistry

java.lang.Object
  |
  +--com.ibm.bsf.util.ObjectRegistry
        |
        +--org.apache.commons.jelly.tags.bsf.JellyContextRegistry

public class JellyContextRegistry
extends com.ibm.bsf.util.ObjectRegistry

A BSF ObjectRegistry which uses the Context to find and register objects

Version:
$Revision: 1.1 $
Author:
James Strachan

Constructor Summary
JellyContextRegistry()
           
 
Method Summary
 JellyContext getJellyContext()
           
 java.lang.Object lookup(java.lang.String name)
           
 void register(java.lang.String name, java.lang.Object value)
           
 void setJellyContext(JellyContext context)
           
 void unregister(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JellyContextRegistry

public JellyContextRegistry()
Method Detail

getJellyContext

public JellyContext getJellyContext()

setJellyContext

public void setJellyContext(JellyContext context)

lookup

public java.lang.Object lookup(java.lang.String name)
Overrides:
lookup in class com.ibm.bsf.util.ObjectRegistry

register

public void register(java.lang.String name,
                     java.lang.Object value)
Overrides:
register in class com.ibm.bsf.util.ObjectRegistry

unregister

public void unregister(java.lang.String name)
Overrides:
unregister in class com.ibm.bsf.util.ObjectRegistry


Copyright © 2002-2002 Apache Software Foundation. All Rights Reserved.