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.String
EventHandlerUtil. 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).void
EventCartridge. initialize(RuntimeServices rs)
Initialize the handlers.private static void
EventHandlerUtil. initializeEventCartridge(RuntimeServices rsvc, EventCartridge eventCartridge)
Initialize the event cartridge if appropriate.static java.lang.Object
EventHandlerUtil. 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.Object
EventHandlerUtil. 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.Object
EventHandlerUtil. invalidReferenceHandlerCall(EventHandlerMethodExecutor methodExecutor, RuntimeServices rsvc, InternalContextAdapter context)
Calls event handler method with appropriate chaining across event handlers.static void
EventHandlerUtil. 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.Object
EventHandlerUtil. 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.Object
EventHandlerUtil. referenceInsert(RuntimeServices rsvc, InternalContextAdapter context, java.lang.String reference, java.lang.Object value)
Called before a reference is inserted.static boolean
EventHandlerUtil. 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
Fields in org.apache.velocity.app.event.implement declared as RuntimeServices Modifier and Type Field Description private RuntimeServices
IncludeNotFound. rs
private RuntimeServices
PrintExceptions. rs
Reference to the runtime serviceMethods in org.apache.velocity.app.event.implement with parameters of type RuntimeServices Modifier and Type Method Description 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.context
Fields in org.apache.velocity.context declared as RuntimeServices Modifier and Type Field Description private RuntimeServices
ProxyVMContext. rsvc
needed for writing log entries.Methods in org.apache.velocity.context with parameters of type RuntimeServices Modifier and Type Method Description private void
EvaluateContext. initContext(RuntimeServices rsvc)
Deprecated.Initialize the context based on user-configured classConstructors 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 class
RuntimeInstance
This is the Runtime system for Velocity.Fields in org.apache.velocity.runtime declared as RuntimeServices Modifier and Type Field Description private RuntimeServices
VelocimacroFactory. rsvc
runtime services for this instanceprivate RuntimeServices
VelocimacroManager. rsvc
Methods in org.apache.velocity.runtime that return RuntimeServices Modifier and Type Method Description static RuntimeServices
RuntimeSingleton. 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 void
ParserPool. initialize(RuntimeServices svc)
Initialize the pool so that it can begin serving parser instances.void
ParserPoolImpl. initialize(RuntimeServices rsvc)
Create the underlying "pool".Constructors in org.apache.velocity.runtime with parameters of type RuntimeServices Constructor Description MacroEntry(java.lang.String vmName, Node macro, java.lang.String[] argArray, java.lang.String sourceTemplate, RuntimeServices rsvc)
VelocimacroFactory(RuntimeServices rsvc)
C'tor for the VelociMacro factory.VelocimacroManager(RuntimeServices rsvc)
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 RuntimeServices Modifier and Type Field Description protected RuntimeServices
Directive. rsvc
Methods in org.apache.velocity.runtime.directive with parameters of type RuntimeServices Modifier and Type Method Description static void
Macro. checkArgs(RuntimeServices rs, Token t, Node node, java.lang.String sourceTemplate)
Used by Parser.java to do further parameter checking for macro arguments.private static java.lang.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).void
Block. init(RuntimeServices rs, InternalContextAdapter context, Node node)
simple init - get the keyvoid
BlockMacro. init(RuntimeServices rs, InternalContextAdapter context, Node node)
Initializes the directive.void
Break. init(RuntimeServices rs, InternalContextAdapter context, Node node)
simple init - init the tree and get the elementKey from the ASTvoid
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
Literal. init(RuntimeServices rs, InternalContextAdapter context, Node node)
Deprecated.Store the literal rendition of a node using the Node.literal().void
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, InternalContextAdapter context, Node node)
Intialize the Runtime macro.void
Stop. init(RuntimeServices rs, InternalContextAdapter context, Node node)
void
VelocimacroProxy. 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 private static LogChute
LogManager. createLogChute(RuntimeServices rsvc)
void
HoldingLogChute. init(RuntimeServices rs)
void
JdkLogChute. init(RuntimeServices rs)
void
LogChute. init(RuntimeServices rs)
Initializes this LogChute.void
LogChuteSystem. init(RuntimeServices rs)
void
LogSystem. init(RuntimeServices rs)
Deprecated.Initializes this LogSystem.void
NullLogChute. init(RuntimeServices rs)
void
SystemLogChute. init(RuntimeServices rs)
static void
LogManager. 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 RuntimeServices Modifier and Type Field Description private RuntimeServices
Parser. rsvc
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 RuntimeServices
SimpleNode. rsvc
Methods in org.apache.velocity.runtime.parser.node that return RuntimeServices Modifier and Type Method Description RuntimeServices
SimpleNode. 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 RuntimeServices
Resource. rsvc
protected RuntimeServices
ResourceCacheImpl. rsvc
Runtime services, generally initialized by theinitialize()
method.protected RuntimeServices
ResourceManagerImpl. rsvc
The internal RuntimeServices object.Methods in org.apache.velocity.runtime.resource with parameters of type RuntimeServices Modifier and Type Method Description void
ResourceCache. initialize(RuntimeServices rs)
initializes the ResourceCache.void
ResourceCacheImpl. initialize(RuntimeServices rs)
void
ResourceManager. initialize(RuntimeServices rs)
Initialize the ResourceManager.void
ResourceManagerImpl. initialize(RuntimeServices rsvc)
Initialize the ResourceManager.void
Resource. 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 RuntimeServices
ResourceLoader. rsvc
Methods in org.apache.velocity.runtime.resource.loader with parameters of type RuntimeServices Modifier and Type Method Description void
ResourceLoader. 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 ResourceLoader
ResourceLoaderFactory. 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 void
RuntimeServicesAware. 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 RuntimeServices Modifier and Type Field Description (package private) RuntimeServices
SecureUberspector. runtimeServices
Methods in org.apache.velocity.util.introspection with parameters of type RuntimeServices Modifier and Type Method Description void
SecureUberspector. setRuntimeServices(RuntimeServices rs)
Store the RuntimeServices before the object is initialized..
-