net.sf.arise.gsf
Class BaseEngine
java.lang.Object
|
+--net.sf.arise.gsf.BaseEngine
- All Implemented Interfaces:
- Engine
- Direct Known Subclasses:
- BSFSupportedEngine, PijiEngine
- public abstract class BaseEngine
- extends java.lang.Object
- implements Engine
|
Field Summary |
protected org.apache.commons.logging.Log |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
BaseEngine
public BaseEngine(java.lang.String name,
java.lang.String language)
throws java.lang.Exception
BaseEngine
public BaseEngine(java.lang.String name,
java.lang.String language,
Classpath classpath)
throws java.lang.Exception
BaseEngine
protected BaseEngine(java.lang.String name,
java.lang.String language,
Classpath classpath,
BaseEngine parent,
int depth)
throws java.lang.Exception
getIt
public java.lang.Object getIt()
- Specified by:
getIt in interface Engine
getOops
public java.lang.Throwable getOops()
- Specified by:
getOops in interface Engine
addListener
public void addListener(EngineListener listener)
- Specified by:
addListener in interface Engine
removeListener
public void removeListener(EngineListener listener)
- Specified by:
removeListener in interface Engine
fireEvalStarting
protected void fireEvalStarting(java.lang.Object expr)
fireEvalDone
protected void fireEvalDone(Result result)
fireEvalFailed
protected void fireEvalFailed(java.lang.Throwable t)
getDepth
protected int getDepth()
getName
public java.lang.String getName()
- Description copied from interface:
Engine
- The name
- Specified by:
getName in interface Engine
getParent
public Engine getParent()
- Specified by:
getParent in interface Engine
childName
protected java.lang.String childName()
getLanguage
public java.lang.String getLanguage()
- Description copied from interface:
Engine
- The language
- Specified by:
getLanguage in interface Engine
getClasspath
public Classpath getClasspath()
- Description copied from interface:
Engine
- Current classpath
- Specified by:
getClasspath in interface Engine
setClasspath
protected void setClasspath(Classpath classpath)
reset
public void reset()
throws java.lang.Exception
- Description copied from interface:
Engine
- Reset current classpath
- Specified by:
reset in interface Engine
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
All code and documentation is
Copyright (c) : 2000-2003 Kjetil Valstadsve & Maja S. Bratseth