Constructor and Description |
---|
VMContext(InternalContextAdapter inner,
RuntimeServices rsvc)
CTOR, wraps an ICA
|
Modifier and Type | Class and Description |
---|---|
class |
RuntimeInstance
This is the Runtime system for Velocity.
|
Modifier and Type | Field and Description |
---|---|
private RuntimeServices |
VelocimacroFactory.rsvc
runtime services for this instance
|
private RuntimeServices |
VelocimacroManager.rsvc |
Modifier and Type | Method and Description |
---|---|
static RuntimeServices |
RuntimeSingleton.getRuntimeServices() |
Constructor and Description |
---|
VelocimacroFactory(RuntimeServices rs)
CTOR : requires a runtime services from now
on
|
VelocimacroManager(RuntimeServices rs)
Adds the global namespace to the hash.
|
Modifier and Type | Field and Description |
---|---|
protected RuntimeServices |
Directive.rsvc |
private RuntimeServices |
VMProxyArg.rsvc |
Modifier and Type | Method and Description |
---|---|
void |
Directive.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
How this directive is to be initialized.
|
void |
Foreach.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
simple init - init the tree and get the elementKey from
the AST
|
void |
Include.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
simple init - init the tree and get the elementKey from
the AST
|
void |
Literal.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
Store the literal rendition of a node using
the Node.literal().
|
void |
Macro.init(RuntimeServices rs,
InternalContextAdapter context,
Node node) |
void |
VelocimacroProxy.init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
The major meat of VelocimacroProxy, init() checks the # of arguments, patches the
macro body, renders the macro into an AST, and then inits the AST, so it is ready
for quick rendering.
|
static void |
Macro.processAndRegister(RuntimeServices rs,
Node node,
java.lang.String sourceTemplate)
Used by Parser.java to process VMs withing the parsing process
processAndRegister() doesn't actually render the macro to the output
Processes the macro body into the internal representation used by the
VelocimacroProxy objects, and if not currently used, adds it
to the macro Factory
|
Constructor and Description |
---|
VMProxyArg(RuntimeServices rs,
java.lang.String contextRef,
java.lang.String callerRef,
int t)
ctor for current impl
takes the reference literal we are proxying for, the literal
the VM we are for is called with...
|
Modifier and Type | Field and Description |
---|---|
private RuntimeServices |
AvalonLogSystem.rsvc |
private RuntimeServices |
Log4JLogSystem.rsvc
Deprecated.
|
private RuntimeServices |
PrimordialLogSystem.rsvc |
private RuntimeServices |
SimpleLog4JLogSystem.rsvc |
Modifier and Type | Method and Description |
---|---|
static LogSystem |
LogManager.createLogSystem(RuntimeServices rsvc)
Creates a new logging system or returns an existing one
specified by the application.
|
void |
AvalonLogSystem.init(RuntimeServices rs) |
void |
Log4JLogSystem.init(RuntimeServices rs)
Deprecated.
|
void |
LogSystem.init(RuntimeServices rs)
init()
|
void |
NullLogSystem.init(RuntimeServices rs) |
void |
PrimordialLogSystem.init(RuntimeServices rs) |
void |
SimpleLog4JLogSystem.init(RuntimeServices rs) |
Modifier and Type | Field and Description |
---|---|
private RuntimeServices |
Parser.rsvc |
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 | Field and Description |
---|---|
protected RuntimeServices |
Resource.rsvc |
protected RuntimeServices |
ResourceCacheImpl.rsvc
Runtime services, generally initialized by the
initialize() method. |
protected RuntimeServices |
ResourceManagerImpl.rsvc |
Modifier and Type | Method and 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 rs)
Initialize the ResourceManager.
|
void |
Resource.setRuntimeServices(RuntimeServices rs) |
Modifier and Type | Field and Description |
---|---|
private RuntimeServices |
JarHolder.rsvc |
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,
java.lang.String loaderClassName)
Gets the loader specified in the configuration file.
|
Constructor and Description |
---|
JarHolder(RuntimeServices rs,
java.lang.String urlpath) |
Modifier and Type | Method and Description |
---|---|
void |
ClassloaderChangeTest.init(RuntimeServices rs) |
void |
EventHandlingTestCase.init(RuntimeServices rs) |
void |
ExternalLoggerTest.init(RuntimeServices rs) |
Copyright ? 2002 Apache Software Foundation. All Rights Reserved.