Uses of Interface
org.apache.velocity.runtime.RuntimeServices
Packages that use RuntimeServices
Package
Description
-
Uses of RuntimeServices in org.apache.velocity.app.event
Methods 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).voidEventCartridge.initialize(RuntimeServices rs) Initialize the handlers.private static voidEventHandlerUtil.initializeEventCartridge(RuntimeServices rsvc, EventCartridge eventCartridge) Initialize the event cartridge if appropriate.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 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, 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) 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.static booleanEventHandlerUtil.shouldLogOnNullSet(RuntimeServices rsvc, InternalContextAdapter context, String lhs, String rhs) Called when a null is evaluated during a #set. -
Uses of RuntimeServices in org.apache.velocity.app.event.implement
Fields in org.apache.velocity.app.event.implement declared as RuntimeServicesModifier and TypeFieldDescriptionprivate RuntimeServicesIncludeNotFound.rsprivate RuntimeServicesPrintExceptions.rsReference to the runtime serviceMethods in org.apache.velocity.app.event.implement with parameters of type RuntimeServicesModifier and TypeMethodDescriptionvoidIncludeNotFound.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
Fields in org.apache.velocity.context declared as RuntimeServicesModifier and TypeFieldDescriptionprivate RuntimeServicesProxyVMContext.rsvcneeded for writing log entries.Methods in org.apache.velocity.context with parameters of type RuntimeServicesModifier and TypeMethodDescriptionprivate voidEvaluateContext.initContext(RuntimeServices rsvc) Deprecated.Initialize the context based on user-configured classConstructors in org.apache.velocity.context with parameters of type RuntimeServicesModifierConstructorDescriptionEvaluateContext(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 RuntimeServicesFields in org.apache.velocity.runtime declared as RuntimeServicesModifier and TypeFieldDescriptionprivate final RuntimeServicesVelocimacroFactory.rsvcruntime services for this instanceprivate RuntimeServicesVelocimacroManager.rsvcMethods 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 RuntimeServicesModifierConstructorDescriptionprivateMacroEntry(String vmName, Node macro, String[] argArray, String sourceTemplate, RuntimeServices rsvc) C'tor for the VelociMacro factory.(package private)Adds the global namespace to the hash. -
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 TypeMethodDescriptionstatic voidMacro.checkArgs(RuntimeServices rs, Token t, Node node, String sourceTemplate) Used by Parser.java to do further parameter checking for macro arguments.private static String[]Macro.getArgArray(Node node, RuntimeServices rsvc) Creates an array containing the literal text from the macro arguement(s) (including the macro's name as the first arg).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 RuntimeServicesModifier and TypeMethodDescriptionprivate static LogChuteLogManager.createLogChute(RuntimeServices rsvc) voidHoldingLogChute.init(RuntimeServices rs) voidJdkLogChute.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) 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
Fields in org.apache.velocity.runtime.parser declared as RuntimeServicesConstructors 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 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 RuntimeServicesMethods in org.apache.velocity.runtime.resource.loader with parameters of type RuntimeServicesModifier and TypeMethodDescriptionvoidResourceLoader.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, String loaderClassName) Gets the loader specified in the configuration file.Constructors in org.apache.velocity.runtime.resource.loader with parameters of type RuntimeServices -
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 RuntimeServicesModifier and TypeFieldDescription(package private) RuntimeServicesSecureUberspector.runtimeServicesMethods in org.apache.velocity.util.introspection with parameters of type RuntimeServicesModifier and TypeMethodDescriptionvoidSecureUberspector.setRuntimeServices(RuntimeServices rs) Store the RuntimeServices before the object is initialized..