There isn't really a proper way.  Your plan sounds reasonable.

On Tue, Feb 2, 2010 at 6:59 AM, Jason Tesser <[email protected]> wrote:
> I am modifying 1.5 Velocity code to allow me to serialize templates.
>
> What is the proper way to get at the runtimeservices?  They are private on
> the VelocityEngine.  In our app that is a singleton.  I can make the
> RuntimeServices transient and then get the VelocityEngine to get at it
> assuming I expose it with a getter.  Is there a better way?  I know this is
> hacky which is why I am asking?
>
> Thanks,
> Jason Tesser
> dotCMS Lead Development Manager
> 1-305-858-1422
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to