commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: [jelly] Subclassing JellyContext
Date Thu, 05 Dec 2002 14:21:35 GMT
There's a factory method, createChildContext() which you can override to
create your own context...

public class MyContext extends JellyContext {

    public MyContext(JellyContext parent) {

    protected JellyContext createChildContext() {
        return new MyContext(this);

Note that soon we'll be refactoring the variable scope logic out of the
JellyContext so that you could just provide your own variable Scope
implementation to change how variables behave. Thats typically the usual
reason folks need their own JellyContext implementation

There's more details of this here...

----- Original Message -----
From: <>
To: <>
Sent: Thursday, December 05, 2002 1:13 PM
Subject: [jelly] Subclassing JellyContext


Is there any way I can override the creation of JellyContext instances so I
can put in my own subclass?


To unsubscribe, e-mail:
For additional commands, e-mail:

Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message