Uses of Interface
org.apache.velocity.runtime.RuntimeServices
Package
Description
-
Uses of RuntimeServices in org.apache.velocity.app.event
Modifier and TypeMethodDescriptionstatic String
EventHandlerUtil.includeEvent
(RuntimeServices rsvc, InternalContextAdapter context, String includeResourcePath, String currentResourcePath, String directiveName) Called when an include-type directive is encountered (#include or #parse).static Object
EventHandlerUtil.invalidGetMethod
(RuntimeServices rsvc, InternalContextAdapter context, String reference, Object object, String property, Info info) Called when an invalid get method is encountered.static Object
EventHandlerUtil.invalidMethod
(RuntimeServices rsvc, InternalContextAdapter context, String reference, Object object, String method, Info info) Called when an invalid method is encountered.static void
EventHandlerUtil.invalidSetMethod
(RuntimeServices rsvc, InternalContextAdapter context, String leftreference, String rightreference, Info info) Called when an invalid set method is encountered.static Object
EventHandlerUtil.methodException
(RuntimeServices rsvc, InternalContextAdapter context, Class<?> claz, String method, Exception e, Info info) Called when a method exception is generated during Velocity merge.static Object
EventHandlerUtil.referenceInsert
(RuntimeServices rsvc, InternalContextAdapter context, String reference, Object value) Called before a reference is inserted.void
EventCartridge.setRuntimeServices
(RuntimeServices rs) runtime services setter, called during initialization -
Uses of RuntimeServices in org.apache.velocity.app.event.implement
Modifier and TypeMethodDescriptionprotected RuntimeServices
EscapeReference.getRuntimeServices()
Retrieve a reference to RuntimeServices.Modifier and TypeMethodDescriptionvoid
EscapeReference.setRuntimeServices
(RuntimeServices rs) Called automatically when event cartridge is initialized.void
IncludeNotFound.setRuntimeServices
(RuntimeServices rs) void
PrintExceptions.setRuntimeServices
(RuntimeServices rs) void
ReportInvalidReferences.setRuntimeServices
(RuntimeServices rs) Called automatically when event cartridge is initialized. -
Uses of RuntimeServices in org.apache.velocity.runtime
Modifier and TypeMethodDescriptionstatic RuntimeServices
RuntimeSingleton.getRuntimeServices()
Returns the RuntimeServices Instance used by this wrapper.Modifier and TypeMethodDescriptionvoid
ParserPool.initialize
(RuntimeServices svc) Initialize the pool so that it can begin serving parser instances.void
ParserPoolImpl.initialize
(RuntimeServices rsvc) Create the underlying "pool".ModifierConstructorDescriptionC'tor for the VelociMacro factory. -
Uses of RuntimeServices in org.apache.velocity.runtime.directive
Modifier and TypeMethodDescriptionvoid
Block.init
(RuntimeServices rs, InternalContextAdapter context, Node node) simple init - get the keyvoid
BlockMacro.init
(RuntimeServices rs, String macroName, InternalContextAdapter context, Node node) Initializes the directive.void
Break.init
(RuntimeServices rs, InternalContextAdapter context, Node node) void
Define.init
(RuntimeServices rs, InternalContextAdapter context, Node node) simple init - get the keyvoid
Directive.init
(RuntimeServices rs, InternalContextAdapter context, Node node) How this directive is to be initialized.void
Evaluate.init
(RuntimeServices rs, InternalContextAdapter context, Node node) Initialize and check arguments.void
Foreach.init
(RuntimeServices rs, InternalContextAdapter context, Node node) simple init - init the tree and get the elementKey from the ASTvoid
Include.init
(RuntimeServices rs, InternalContextAdapter context, Node node) simple init - init the tree and get the elementKey from the ASTvoid
Macro.init
(RuntimeServices rs, InternalContextAdapter context, Node node) void
Parse.init
(RuntimeServices rs, InternalContextAdapter context, Node node) Init's the #parse directive.void
RuntimeMacro.init
(RuntimeServices rs, String name, InternalContextAdapter context, Node node) Initialize the Runtime macro.void
Stop.init
(RuntimeServices rs, InternalContextAdapter context, Node node) void
VelocimacroProxy.init
(RuntimeServices rs) Initialize members of VelocimacroProxy.static StringBuilder
Macro.macroToString
(StringBuilder buf, List<Macro.MacroArg> macroArgs, RuntimeServices rsvc) For debugging purposes. -
Uses of RuntimeServices in org.apache.velocity.runtime.directive.contrib
Modifier and TypeMethodDescriptionvoid
For.init
(RuntimeServices rs, InternalContextAdapter context, Node node) -
Uses of RuntimeServices in org.apache.velocity.runtime.parser
Modifier and TypeMethodDescriptionParser.getRuntimeServices()
StandardParser.getRuntimeServices()
ModifierConstructorDescriptionThis constructor was added to allow the re-use of parsers. -
Uses of RuntimeServices in org.apache.velocity.runtime.parser.node
-
Uses of RuntimeServices in org.apache.velocity.runtime.resource
Modifier and TypeFieldDescriptionprotected RuntimeServices
Resource.rsvc
protected RuntimeServices
ResourceCacheImpl.rsvc
Runtime services, generally initialized by theinitialize()
method.protected RuntimeServices
ResourceManagerImpl.rsvc
The internal RuntimeServices object.Modifier and TypeMethodDescriptionvoid
ResourceCache.initialize
(RuntimeServices rs) initializes the ResourceCache.void
ResourceCacheImpl.initialize
(RuntimeServices rs) void
ResourceManager.initialize
(RuntimeServices rs) Initialize the ResourceManager.void
ResourceManagerImpl.initialize
(RuntimeServices rs) Initialize the ResourceManager.void
Resource.setRuntimeServices
(RuntimeServices rs) -
Uses of RuntimeServices in org.apache.velocity.runtime.resource.loader
Modifier and TypeMethodDescriptionvoid
ResourceLoader.commonInit
(RuntimeServices rs, ExtProperties configuration) This initialization is used by all resource loaders and must be called to set up common properties shared by all resource loadersstatic ResourceLoader
ResourceLoaderFactory.getLoader
(RuntimeServices rs, String loaderClassName) Gets the loader specified in the configuration file.ModifierConstructorDescriptionJarHolder
(RuntimeServices rs, String urlpath, org.slf4j.Logger log) -
Uses of RuntimeServices in org.apache.velocity.util
Modifier and TypeMethodDescriptionvoid
RuntimeServicesAware.setRuntimeServices
(RuntimeServices rs) Called automatically when event cartridge is initialized. -
Uses of RuntimeServices in org.apache.velocity.util.introspection
Modifier and TypeMethodDescriptionvoid
UberspectImpl.setRuntimeServices
(RuntimeServices rs) sets the runtime servicesvoid
UberspectPublicFields.setRuntimeServices
(RuntimeServices rs)