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.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
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.context
Constructors 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 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 TypeMethodDescriptionstatic voidMacro.checkArgs(RuntimeServices rs, Token t, Node node, 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 RuntimeServicesModifier and TypeMethodDescriptionvoidAvalonLogChute.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 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
Methods in org.apache.velocity.util.introspection with parameters of type RuntimeServicesModifier and TypeMethodDescriptionvoidSecureUberspector.setRuntimeServices(RuntimeServices rs) Store the RuntimeServices before the object is initialized..