public SetApplicationAttribute ( Object key, Object value ) : void | ||
key | Object | object 'name' under which the object is stored |
value | Object | object to store under this key |
return | void |
Set the an ApplicationAttribute, which is an Object set by the application which is accessible from any component of the system that gets a RuntimeServices. This allows communication between the application environment and custom pluggable components of the Velocity engine, such as loaders and loggers.
Note that there is no enforcement or rules for the key used - it is up to the application developer. However, to help make the intermixing of components possible, using the target Class name (e.g. com.foo.bar ) as the key might help avoid collision.
public SetApplicationAttribute ( Object key, Object value ) : void | ||
key | Object | object 'name' under which the object is stored |
value | Object | object to store under this key |
return | void |