incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (Commented) (JIRA)" <>
Subject [jira] [Commented] (DIRECTMEMORY-75) Create a CacheService builder to simplify the bootstrap process
Date Sun, 26 Feb 2012 21:14:48 GMT


Simone Tripodi commented on DIRECTMEMORY-75:

the builder can be extended/used to read the configuration file you just exposes, I have a
quick reply for your need: using the Digester :P
That's because it already supports a mechanism to interpolate properties (they can be bound
from java system properties and environment variables) 
Anyway, I would implement it in a dedicated module, not in the core APIs, to maintain the
required dependencies as lesser as possible.

If you have already a format in mind, please fill an issue describing the requirements and
I can quickly provide you the working impl.
Just a suggestion for the server - you can still get configuration parameters from the servlet
parameters... :P

> Create a CacheService builder to simplify the bootstrap process
> ---------------------------------------------------------------
>                 Key: DIRECTMEMORY-75
>                 URL:
>             Project: Apache DirectMemory
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.6.0
>            Reporter: Simone Tripodi
>            Assignee: Simone Tripodi
>             Fix For: 0.6.0
> This is kind of simplified yet powerful version of DIRECTMEMORY-62 that I marked as a
won't fix.
> Olivier suggested in ML a Configuration/Factory pattern, with the builder we can achieve

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message