Modifier and Type | Method and Description |
---|---|
static String |
EventHandlerUtil.includeEvent(RuntimeServices rsvc,
InternalContextAdapter context,
String includeResourcePath,
String currentResourcePath,
String directiveName)
Called when an include-type directive is encountered (#include or
#parse).
|
void |
EventCartridge.initialize(RuntimeServices rs)
Initialize the handlers.
|
static Object |
EventHandlerUtil.invalidGetMethod(RuntimeServices rsvc,
InternalContextAdapter context,
String reference,
Object object,
String property,
Info info)
Called when an invalid get method is encountered.
|
static Object |
EventHandlerUtil.invalidMethod(RuntimeServices rsvc,
InternalContextAdapter context,
String reference,
Object object,
String method,
Info info)
Called when an invalid method is encountered.
|
static 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,
String leftreference,
String rightreference,
Info info)
Called when an invalid set method is encountered.
|
static Object |
EventHandlerUtil.methodException(RuntimeServices rsvc,
InternalContextAdapter context,
Class claz,
String method,
Exception e)
Called when a method exception is generated during Velocity merge.
|
static Object |
EventHandlerUtil.referenceInsert(RuntimeServices rsvc,
InternalContextAdapter context,
String reference,
Object value)
Called before a reference is inserted.
|
static boolean |
EventHandlerUtil.shouldLogOnNullSet(RuntimeServices rsvc,
InternalContextAdapter context,
String lhs,
String rhs)
Called when a null is evaluated during a #set.
|
Modifier and Type | Method and Description |
---|---|
protected RuntimeServices |
EscapeReference.getRuntimeServices()
Retrieve a reference to RuntimeServices.
|
Modifier and Type | Method and Description |
---|---|
void |
ReportInvalidReferences.setRuntimeServices(RuntimeServices rs)
Called automatically when event cartridge is initialized.
|
void |
IncludeNotFound.setRuntimeServices(RuntimeServices rs) |
void |
PrintExceptions.setRuntimeServices(RuntimeServices rs) |
void |
EscapeReference.setRuntimeServices(RuntimeServices rs)
Called automatically when event cartridge is initialized.
|
Constructor and Description |
---|
EvaluateContext(InternalContextAdapter inner,
RuntimeServices rsvc)
Deprecated.
CTOR, wraps an ICA
|
ProxyVMContext(InternalContextAdapter inner,
RuntimeServices rsvc,
boolean localContextScope) |
Modifier and Type | Class and Description |
---|---|
class |
RuntimeInstance
This is the Runtime system for Velocity.
|
Modifier and Type | Method and Description |
---|---|
static RuntimeServices |
RuntimeSingleton.getRuntimeServices()
Returns the RuntimeServices Instance used by this wrapper.
|
Modifier and Type | Method and 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".
|
Constructor and Description |
---|
VelocimacroFactory(RuntimeServices rsvc)
C'tor for the VelociMacro factory.
|
Modifier and Type | Field and Description |
---|---|
protected RuntimeServices |
Directive.rsvc |
Modifier and Type | Method and Description |
---|---|
static void |
Macro.checkArgs(RuntimeServices rs,
Token t,
Node node,
String sourceTemplate)
Used by Parser.java to do further parameter checking for macro arguments.
|
void |
VelocimacroProxy.init(RuntimeServices rs)
Initialize members of VelocimacroProxy.
|
void |
Block.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
simple init - get the key
|
void |
Define.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
simple init - get the key
|
void |
RuntimeMacro.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
Intialize the Runtime macro.
|
void |
Directive.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
How this directive is to be initialized.
|
void |
Include.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
simple init - init the tree and get the elementKey from
the AST
|
void |
BlockMacro.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
Initializes the directive.
|
void |
Macro.init(RuntimeServices rs,
InternalContextAdapter context,
Node node) |
void |
Literal.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
Deprecated.
Store the literal rendition of a node using
the Node.literal().
|
void |
Parse.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
Init's the #parse directive.
|
void |
Foreach.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
simple init - init the tree and get the elementKey from
the AST
|
void |
Evaluate.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
Initialize and check arguments.
|
void |
Stop.init(RuntimeServices rs,
InternalContextAdapter context,
Node node) |
void |
Break.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
simple init - init the tree and get the elementKey from
the AST
|
Modifier and Type | Method and Description |
---|---|
void |
SystemLogChute.init(RuntimeServices rs) |
void |
AvalonLogChute.init(RuntimeServices rs) |
void |
CommonsLogLogChute.init(RuntimeServices rs)
LogChute methods
|
void |
Log4JLogChute.init(RuntimeServices rs) |
void |
SimpleLog4JLogSystem.init(RuntimeServices rs)
Deprecated.
|
void |
NullLogChute.init(RuntimeServices rs) |
void |
LogChuteSystem.init(RuntimeServices rs) |
void |
LogChute.init(RuntimeServices rs)
Initializes this LogChute.
|
void |
LogSystem.init(RuntimeServices rs)
Deprecated.
Initializes this LogSystem.
|
void |
JdkLogChute.init(RuntimeServices rs) |
void |
ServletLogChute.init(RuntimeServices rs)
init()
|
static void |
LogManager.updateLog(Log log,
RuntimeServices rsvc)
Update the Log instance with the appropriate LogChute and other
settings determined by the RuntimeServices.
|
Constructor and Description |
---|
Parser(RuntimeServices rs)
This constructor was added to allow the re-use of parsers.
|
Modifier and Type | Field and Description |
---|---|
protected RuntimeServices |
SimpleNode.rsvc |
Modifier and Type | Method and Description |
---|---|
RuntimeServices |
SimpleNode.getRuntimeServices() |
Modifier and Type | Field and Description |
---|---|
protected RuntimeServices |
ResourceManagerImpl.rsvc
The internal RuntimeServices object.
|
protected RuntimeServices |
ResourceCacheImpl.rsvc
Runtime services, generally initialized by the
initialize() method. |
protected RuntimeServices |
Resource.rsvc |
Modifier and Type | Method and Description |
---|---|
void |
ResourceManagerImpl.initialize(RuntimeServices rsvc)
Initialize the ResourceManager.
|
void |
ResourceCache.initialize(RuntimeServices rs)
initializes the ResourceCache.
|
void |
ResourceCacheImpl.initialize(RuntimeServices rs) |
void |
ResourceManager.initialize(RuntimeServices rs)
Initialize the ResourceManager.
|
void |
Resource.setRuntimeServices(RuntimeServices rs) |
Modifier and Type | Field and Description |
---|---|
protected RuntimeServices |
ResourceLoader.rsvc |
Modifier and Type | Method and 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 loaders
|
static ResourceLoader |
ResourceLoaderFactory.getLoader(RuntimeServices rs,
String loaderClassName)
Gets the loader specified in the configuration file.
|
Constructor and Description |
---|
JarHolder(RuntimeServices rs,
String urlpath) |
Modifier and Type | Method and Description |
---|---|
void |
RuntimeServicesAware.setRuntimeServices(RuntimeServices rs)
Called automatically when event cartridge is initialized.
|
Modifier and Type | Method and Description |
---|---|
void |
SecureUberspector.setRuntimeServices(RuntimeServices rs)
Store the RuntimeServices before the object is initialized..
|
Copyright © 2000–2016. All rights reserved.