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

java.lang.Object
  extended byorg.apache.bsf.util.ObjectRegistry
      extended byorg.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: 155420 $
Author:
James Strachan

Field Summary
private  org.apache.commons.jelly.JellyContext context
          The context
private static org.apache.commons.logging.Log log
          The Log to which logging calls will be made.
 
Fields inherited from class org.apache.bsf.util.ObjectRegistry
 
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
 

Field Detail

log

private static final org.apache.commons.logging.Log log
The Log to which logging calls will be made.


context

private org.apache.commons.jelly.JellyContext context
The context

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)

register

public void register(java.lang.String name,
                     java.lang.Object value)

unregister

public void unregister(java.lang.String name)