[ 
https://issues.apache.org/jira/browse/VELOCITY-802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claude Brisson resolved VELOCITY-802.
-------------------------------------
       Resolution: Fixed
         Assignee: Claude Brisson
    Fix Version/s: 2.x

There is a new resource.manager.instance property which can be used to specify 
a live instance of a resource manager into Velocity.

Velocity *will* also use this key to store its resource manager, so that it is 
accessible.

When using or inheriting the default resource manager, accessing the resource 
cache is easy once you gain access to the resource manager, since it is a 
protected member of the resource manager.


> Support for injecting ResourceManager and ResourceCache instances into the 
> runtime
> ----------------------------------------------------------------------------------
>
>                 Key: VELOCITY-802
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-802
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.7
>         Environment: -
>            Reporter: Alexander Veit
>            Assignee: Claude Brisson
>             Fix For: 2.x
>
>
> Currently it is difficult to inject specific instances of ResourceManager or 
> ResourceCache. It is also difficult to access the ResourceManager or 
> ResourceCache created by the runtime. Access to these objects is neccessary 
> e.g. to control the cache behaviour at runtime.
> Therefore it would be nice if we could inject the objects at configuration 
> time, preferably via factory instances.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to