Uses of Interface
org.apache.velocity.runtime.RuntimeServices
-
-
Uses of RuntimeServices in org.apache.velocity.app.event
Methods in org.apache.velocity.app.event with parameters of type RuntimeServices Modifier and Type Method Description static java.lang.StringEventHandlerUtil. includeEvent(RuntimeServices rsvc, InternalContextAdapter context, java.lang.String includeResourcePath, java.lang.String currentResourcePath, java.lang.String directiveName)Called when an include-type directive is encountered (#include or #parse).voidEventCartridge. initialize(RuntimeServices rs)Initialize the handlers.static java.lang.ObjectEventHandlerUtil. invalidGetMethod(RuntimeServices rsvc, InternalContextAdapter context, java.lang.String reference, java.lang.Object object, java.lang.String property, Info info)Called when an invalid get method is encountered.static java.lang.ObjectEventHandlerUtil. invalidMethod(RuntimeServices rsvc, InternalContextAdapter context, java.lang.String reference, java.lang.Object object, java.lang.String method, Info info)Called when an invalid method is encountered.static java.lang.ObjectEventHandlerUtil. invalidReferenceHandlerCall(EventHandlerMethodExecutor methodExecutor, RuntimeServices rsvc, InternalContextAdapter context)Calls event handler method with appropriate chaining across event handlers.static voidEventHandlerUtil. invalidSetMethod(RuntimeServices rsvc, InternalContextAdapter context, java.lang.String leftreference, java.lang.String rightreference, Info info)Called when an invalid set method is encountered.static java.lang.ObjectEventHandlerUtil. methodException(RuntimeServices rsvc, InternalContextAdapter context, java.lang.Class claz, java.lang.String method, java.lang.Exception e)Called when a method exception is generated during Velocity merge.static java.lang.ObjectEventHandlerUtil. referenceInsert(RuntimeServices rsvc, InternalContextAdapter context, java.lang.String reference, java.lang.Object value)Called before a reference is inserted.static booleanEventHandlerUtil. shouldLogOnNullSet(RuntimeServices rsvc, InternalContextAdapter context, java.lang.String lhs, java.lang.String rhs)Called when a null is evaluated during a #set. -
Uses of RuntimeServices in org.apache.velocity.app.event.implement
Methods in org.apache.velocity.app.event.implement that return RuntimeServices Modifier and Type Method Description protected RuntimeServicesEscapeReference. getRuntimeServices()Retrieve a reference to RuntimeServices.Methods in org.apache.velocity.app.event.implement with parameters of type RuntimeServices Modifier and Type Method Description voidEscapeReference. 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.context
Constructors in org.apache.velocity.context with parameters of type RuntimeServices Constructor Description EvaluateContext(InternalContextAdapter inner, RuntimeServices rsvc)Deprecated.CTOR, wraps an ICAProxyVMContext(InternalContextAdapter inner, RuntimeServices rsvc, boolean localContextScope) -
Uses of RuntimeServices in org.apache.velocity.runtime
Classes in org.apache.velocity.runtime that implement RuntimeServices Modifier and Type Class Description classRuntimeInstanceThis is the Runtime system for Velocity.Methods in org.apache.velocity.runtime that return RuntimeServices Modifier and Type Method Description static RuntimeServicesRuntimeSingleton. getRuntimeServices()Returns the RuntimeServices Instance used by this wrapper.Methods in org.apache.velocity.runtime with parameters of type RuntimeServices Modifier and Type Method Description voidParserPool. 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 RuntimeServices Constructor Description VelocimacroFactory(RuntimeServices rsvc)C'tor for the VelociMacro factory. -
Uses of RuntimeServices in org.apache.velocity.runtime.directive
Fields in org.apache.velocity.runtime.directive declared as RuntimeServices Modifier and Type Field Description protected RuntimeServicesDirective. rsvcMethods in org.apache.velocity.runtime.directive with parameters of type RuntimeServices Modifier and Type Method Description static voidMacro. checkArgs(RuntimeServices rs, Token t, Node node, java.lang.String sourceTemplate)Used by Parser.java to do further parameter checking for macro arguments.voidBlock. init(RuntimeServices rs, InternalContextAdapter context, Node node)simple init - get the keyvoidBlockMacro. init(RuntimeServices rs, InternalContextAdapter context, Node node)Initializes the directive.voidBreak. init(RuntimeServices rs, InternalContextAdapter context, Node node)simple init - init the tree and get the elementKey from the ASTvoidDefine. 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 ASTvoidLiteral. init(RuntimeServices rs, InternalContextAdapter context, Node node)Deprecated.Store the literal rendition of a node using the Node.literal().voidMacro. init(RuntimeServices rs, InternalContextAdapter context, Node node)voidParse. init(RuntimeServices rs, InternalContextAdapter context, Node node)Init's the #parse directive.voidRuntimeMacro. init(RuntimeServices rs, InternalContextAdapter context, Node node)Intialize the Runtime macro.voidStop. init(RuntimeServices rs, InternalContextAdapter context, Node node)voidVelocimacroProxy. init(RuntimeServices rs)Initialize members of VelocimacroProxy. -
Uses of RuntimeServices in org.apache.velocity.runtime.log
Methods in org.apache.velocity.runtime.log with parameters of type RuntimeServices Modifier and Type Method Description voidAvalonLogChute. init(RuntimeServices rs)voidCommonsLogLogChute. init(RuntimeServices rs)LogChute methodsvoidJdkLogChute. init(RuntimeServices rs)voidLog4JLogChute. init(RuntimeServices rs)voidLogChute. init(RuntimeServices rs)Initializes this LogChute.voidLogChuteSystem. init(RuntimeServices rs)voidLogSystem. init(RuntimeServices rs)Deprecated.Initializes this LogSystem.voidNullLogChute. init(RuntimeServices rs)voidServletLogChute. init(RuntimeServices rs)init()voidSimpleLog4JLogSystem. init(RuntimeServices rs)Deprecated.voidSystemLogChute. init(RuntimeServices rs)static voidLogManager. updateLog(Log log, RuntimeServices rsvc)Update the Log instance with the appropriate LogChute and other settings determined by the RuntimeServices. -
Uses of RuntimeServices in org.apache.velocity.runtime.parser
Constructors in org.apache.velocity.runtime.parser with parameters of type RuntimeServices Constructor Description Parser(RuntimeServices rs)This 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 RuntimeServices Modifier and Type Field Description protected RuntimeServicesSimpleNode. rsvcMethods in org.apache.velocity.runtime.parser.node that return RuntimeServices Modifier and Type Method Description RuntimeServicesSimpleNode. getRuntimeServices() -
Uses of RuntimeServices in org.apache.velocity.runtime.resource
Fields in org.apache.velocity.runtime.resource declared as RuntimeServices Modifier and Type Field Description protected 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 RuntimeServices Modifier and Type Method Description voidResourceCache. initialize(RuntimeServices rs)initializes the ResourceCache.voidResourceCacheImpl. initialize(RuntimeServices rs)voidResourceManager. initialize(RuntimeServices rs)Initialize the ResourceManager.voidResourceManagerImpl. initialize(RuntimeServices rsvc)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 RuntimeServices Modifier and Type Field Description protected RuntimeServicesResourceLoader. rsvcMethods in org.apache.velocity.runtime.resource.loader with parameters of type RuntimeServices Modifier and Type Method Description voidResourceLoader. commonInit(RuntimeServices rs, org.apache.commons.collections.ExtendedProperties 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, java.lang.String loaderClassName)Gets the loader specified in the configuration file.Constructors in org.apache.velocity.runtime.resource.loader with parameters of type RuntimeServices Constructor Description JarHolder(RuntimeServices rs, java.lang.String urlpath) -
Uses of RuntimeServices in org.apache.velocity.util
Methods in org.apache.velocity.util with parameters of type RuntimeServices Modifier and Type Method Description voidRuntimeServicesAware. setRuntimeServices(RuntimeServices rs)Called automatically when event cartridge is initialized. -
Uses of RuntimeServices in org.apache.velocity.util.introspection
Methods in org.apache.velocity.util.introspection with parameters of type RuntimeServices Modifier and Type Method Description voidSecureUberspector. setRuntimeServices(RuntimeServices rs)Store the RuntimeServices before the object is initialized..
-