[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-605) Cannot add custom interceptor to the Cache programmatically
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Mon Aug 16 11:51:11 EDT 2010
[ https://jira.jboss.org/browse/ISPN-605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manik Surtani resolved ISPN-605.
--------------------------------
Resolution: Done
> Cannot add custom interceptor to the Cache programmatically
> -----------------------------------------------------------
>
> Key: ISPN-605
> URL: https://jira.jboss.org/browse/ISPN-605
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 4.1.0.CR2
> Reporter: Jacek Gerbszt
> Assignee: Manik Surtani
> Priority: Minor
> Fix For: 4.1.0.CR3
>
>
> it's impossible to define custom interceptor this way:
> Configuration config = new Configuration();
> List<CustomInterceptorConfig> customInterceptors = ....;
> config.setCustomInterceptors(customInterceptors);
> The problem is in the class org.infinispan.config.OverrideConfigurationVisitor. Override() method overrides everything but customInterceptorsType field. I think a single line should solve this problem:
> overrideFields(customInterceptorsType, override.customInterceptorsType);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list