Kevin Brown wrote:
On Tue, May 27, 2008 at 11:22 AM, Jamey Wood <[EMAIL PROTECTED]> wrote:

Is there some easy way to add one's own processing logic for container
config files?  Until recently, ContainerConfig.loadFromString(String json)
was a public method.  So we subclassed ContainerConfig and overrode this
method to tie-in our own pre-processing logic (basically expanding
${xyz}-style references to properties that are defined in our env) before
passing the resulting string on via super.loadFromString(myProcessedJson).
 But that no longer works, since this method is now private in Shindig.  I
don't see any obvious way to do something similar now (without duplicating a
lot of ContainerConfig's logic ourselves).

Since you're just doing expansion, loadFromString can probably just be made
protected without causing any real issues.

Yep, that handles my case perfectly.  Thanks!

--Jamey

Reply via email to