Quoting Jeff Caddel <[EMAIL PROTECTED]>:

> ChainListener fails to initialize correctly if you leave out either of 
> the two optional config parameters CONFIG_CLASS_RESOURCE or 
> CONFIG_WEB_RESOURCE. 
> 
> The exception occurs in ChainResources when it tries to parse the comma 
> separated list of resources passed in to it.  If the list of resources 
> is null things go awry. 
> 
> This patch alters ChainResources methods to return instead of attempting 
> to parse if the resources passed into it are null. 
> 
> Another way to handle it would be to alter ChainListener so that it 
> doesn't invoke ChainResources if it detects that it's initialization 
> parameters haven't been set.
> 

I've applied your patch ... thanks!

> This is a great API by the way!  It's lending itself very well to 
> getting my business logic organized.

I'd be interested in any example usage patterns that you'd be willing to
describe, so we can ultimately create some "best practices" documentation.

Craig


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to