Uses of Interface
org.apache.velocity.runtime.RuntimeServices
Packages that use RuntimeServices
Package
Description
-
Uses of RuntimeServices in org.apache.velocity.app.event
Fields in org.apache.velocity.app.event declared as RuntimeServicesMethods in org.apache.velocity.app.event with parameters of type RuntimeServicesModifier and TypeMethodDescriptionstatic StringEventHandlerUtil.includeEvent(RuntimeServices rsvc, InternalContextAdapter context, String includeResourcePath, String currentResourcePath, String directiveName) Called when an include-type directive is encountered (#include or #parse).static ObjectEventHandlerUtil.invalidGetMethod(RuntimeServices rsvc, InternalContextAdapter context, String reference, Object object, String property, Info info) Called when an invalid get method is encountered.static ObjectEventHandlerUtil.invalidMethod(RuntimeServices rsvc, InternalContextAdapter context, String reference, Object object, String method, Info info) Called when an invalid method is encountered.static voidEventHandlerUtil.invalidSetMethod(RuntimeServices rsvc, InternalContextAdapter context, String leftreference, String rightreference, Info info) Called when an invalid set method is encountered.static ObjectEventHandlerUtil.methodException(RuntimeServices rsvc, InternalContextAdapter context, Class<?> claz, String method, Exception e, Info info) Called when a method exception is generated during Velocity merge.static ObjectEventHandlerUtil.referenceInsert(RuntimeServices rsvc, InternalContextAdapter context, String reference, Object value) Called before a reference is inserted.voidEventCartridge.setRuntimeServices(RuntimeServices rs) runtime services setter, called during initialization -
Uses of RuntimeServices in org.apache.velocity.app.event.implement
Methods in org.apache.velocity.app.event.implement that return RuntimeServicesModifier and TypeMethodDescriptionprotected RuntimeServicesEscapeReference.getRuntimeServices()Retrieve a reference to RuntimeServices.Methods in org.apache.velocity.app.event.implement with parameters of type RuntimeServicesModifier and TypeMethodDescriptionvoidEscapeReference.setRuntimeServices(RuntimeServices rs) Called automatically when event cartridge is initialized.voidIncludeNotFound.setRuntimeServices(RuntimeServices rs) voidPrintExceptions.setRuntimeServices(RuntimeServices rs) voidReportInvalidReferences.setRuntimeServices(RuntimeServices rs) Called automatically when event cartridge is initialized. -
Uses of RuntimeServices in org.apache.velocity.runtime
Classes in org.apache.velocity.runtime that implement RuntimeServicesMethods in org.apache.velocity.runtime that return RuntimeServicesModifier and TypeMethodDescriptionstatic RuntimeServicesRuntimeSingleton.getRuntimeServices()Returns the RuntimeServices Instance used by this wrapper.Methods in org.apache.velocity.runtime with parameters of type RuntimeServicesModifier and TypeMethodDescriptionvoidParserPool.initialize(RuntimeServices svc) Initialize the pool so that it can begin serving parser instances.voidParserPoolImpl.initialize(RuntimeServices rsvc) Create the underlying "pool".Constructors in org.apache.velocity.runtime with parameters of type RuntimeServicesModifierConstructorDescriptionC'tor for the VelociMacro factory. -
Uses of RuntimeServices in org.apache.velocity.runtime.directive
Fields in org.apache.velocity.runtime.directive declared as RuntimeServicesMethods in org.apache.velocity.runtime.directive with parameters of type RuntimeServicesModifier and TypeMethodDescriptionvoidBlock.init(RuntimeServices rs, InternalContextAdapter context, Node node) simple init - get the keyvoidBlockMacro.init(RuntimeServices rs, String macroName, InternalContextAdapter context, Node node) Initializes the directive.voidBreak.init(RuntimeServices rs, InternalContextAdapter context, Node node) voidDefine.init(RuntimeServices rs, InternalContextAdapter context, Node node) simple init - get the keyvoidDirective.init(RuntimeServices rs, InternalContextAdapter context, Node node) How this directive is to be initialized.voidEvaluate.init(RuntimeServices rs, InternalContextAdapter context, Node node) Initialize and check arguments.voidForeach.init(RuntimeServices rs, InternalContextAdapter context, Node node) simple init - init the tree and get the elementKey from the ASTvoidInclude.init(RuntimeServices rs, InternalContextAdapter context, Node node) simple init - init the tree and get the elementKey from the ASTvoidMacro.init(RuntimeServices rs, InternalContextAdapter context, Node node) voidParse.init(RuntimeServices rs, InternalContextAdapter context, Node node) Init's the #parse directive.voidRuntimeMacro.init(RuntimeServices rs, String name, InternalContextAdapter context, Node node) Initialize the Runtime macro.voidStop.init(RuntimeServices rs, InternalContextAdapter context, Node node) voidVelocimacroProxy.init(RuntimeServices rs) Initialize members of VelocimacroProxy.static StringBuilderMacro.macroToString(StringBuilder buf, List<Macro.MacroArg> macroArgs, RuntimeServices rsvc) For debugging purposes. -
Uses of RuntimeServices in org.apache.velocity.runtime.directive.contrib
Methods in org.apache.velocity.runtime.directive.contrib with parameters of type RuntimeServicesModifier and TypeMethodDescriptionvoidFor.init(RuntimeServices rs, InternalContextAdapter context, Node node) -
Uses of RuntimeServices in org.apache.velocity.runtime.parser
Methods in org.apache.velocity.runtime.parser that return RuntimeServicesModifier and TypeMethodDescriptionParser.getRuntimeServices()StandardParser.getRuntimeServices()Constructors in org.apache.velocity.runtime.parser with parameters of type RuntimeServicesModifierConstructorDescriptionThis constructor was added to allow the re-use of parsers. -
Uses of RuntimeServices in org.apache.velocity.runtime.parser.node
Fields in org.apache.velocity.runtime.parser.node declared as RuntimeServicesMethods in org.apache.velocity.runtime.parser.node that return RuntimeServices -
Uses of RuntimeServices in org.apache.velocity.runtime.resource
Fields in org.apache.velocity.runtime.resource declared as RuntimeServicesModifier and TypeFieldDescriptionprotected RuntimeServicesResource.rsvcprotected RuntimeServicesResourceCacheImpl.rsvcRuntime services, generally initialized by theinitialize()method.protected RuntimeServicesResourceManagerImpl.rsvcThe internal RuntimeServices object.Methods in org.apache.velocity.runtime.resource with parameters of type RuntimeServicesModifier and TypeMethodDescriptionvoidResourceCache.initialize(RuntimeServices rs) initializes the ResourceCache.voidResourceCacheImpl.initialize(RuntimeServices rs) voidResourceManager.initialize(RuntimeServices rs) Initialize the ResourceManager.voidResourceManagerImpl.initialize(RuntimeServices rs) Initialize the ResourceManager.voidResource.setRuntimeServices(RuntimeServices rs) -
Uses of RuntimeServices in org.apache.velocity.runtime.resource.loader
Fields in org.apache.velocity.runtime.resource.loader declared as RuntimeServicesMethods in org.apache.velocity.runtime.resource.loader with parameters of type RuntimeServicesModifier and TypeMethodDescriptionvoidResourceLoader.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 ResourceLoaderResourceLoaderFactory.getLoader(RuntimeServices rs, String loaderClassName) Gets the loader specified in the configuration file.Constructors in org.apache.velocity.runtime.resource.loader with parameters of type RuntimeServicesModifierConstructorDescriptionJarHolder(RuntimeServices rs, String urlpath, org.slf4j.Logger log) -
Uses of RuntimeServices in org.apache.velocity.util
Methods in org.apache.velocity.util with parameters of type RuntimeServicesModifier and TypeMethodDescriptionvoidRuntimeServicesAware.setRuntimeServices(RuntimeServices rs) Called automatically when event cartridge is initialized. -
Uses of RuntimeServices in org.apache.velocity.util.introspection
Fields in org.apache.velocity.util.introspection declared as RuntimeServicesMethods in org.apache.velocity.util.introspection with parameters of type RuntimeServicesModifier and TypeMethodDescriptionvoidUberspectImpl.setRuntimeServices(RuntimeServices rs) sets the runtime servicesvoidUberspectPublicFields.setRuntimeServices(RuntimeServices rs)