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

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

public class JellyContextRegistry
extends org.apache.bsf.util.ObjectRegistry

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

Version:
$Revision: 1.5 $
Author:
James Strachan

Constructor Summary
JellyContextRegistry()
           
 
Method Summary
 org.apache.commons.jelly.JellyContext getJellyContext()
           
 java.lang.Object lookup(java.lang.String name)
           
 void register(java.lang.String name, java.lang.Object value)
           
 void setJellyContext(org.apache.commons.jelly.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 org.apache.commons.jelly.JellyContext getJellyContext()

setJellyContext

public void setJellyContext(org.apache.commons.jelly.JellyContext context)

lookup

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

register

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

unregister

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


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