org.apache.tapestry.engine
Class DefaultScriptSource
java.lang.Object
org.apache.tapestry.engine.DefaultScriptSource
- All Implemented Interfaces:
- EventListener, IScriptSource, ReportStatusListener, ResetEventListener
public class DefaultScriptSource
- extends Object
- implements IScriptSource, ResetEventListener, ReportStatusListener
Provides basic access to scripts available on the classpath. Scripts are cached in memory once
parsed.
- Since:
- 1.0.2
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultScriptSource
public DefaultScriptSource()
resetEventDidOccur
public void resetEventDidOccur()
- Specified by:
resetEventDidOccur
in interface ResetEventListener
reportStatus
public void reportStatus(ReportStatusEvent event)
- Specified by:
reportStatus
in interface ReportStatusListener
getScript
public IScript getScript(org.apache.hivemind.Resource resource)
- Description copied from interface:
IScriptSource
- Retrieves the script identified by the location from the source's cache,
reading and parsing the script if necessary.
- Specified by:
getScript
in interface IScriptSource
setClassResolver
public void setClassResolver(org.apache.hivemind.ClassResolver classResolver)
setExpressionEvaluator
public void setExpressionEvaluator(ExpressionEvaluator expressionEvaluator)
- Since:
- 4.0
setValueConverter
public void setValueConverter(ValueConverter valueConverter)
- Since:
- 4.0
setServiceId
public void setServiceId(String serviceId)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.