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.3 $
- 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 |
|
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 |
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
JellyContextRegistry
public JellyContextRegistry()
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)