[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1215) OverrideConfigurationVisitor implementation is incomplete

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Tue Jul 12 09:46:23 EDT 2011


    [ https://issues.jboss.org/browse/ISPN-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613697#comment-12613697 ] 

Galder Zamarreño commented on ISPN-1215:
----------------------------------------

Vladimir, the fix is slightly different. You should only set the dataContainerType in visitDataContainerType and then add a line like this in override() method:

{code}overrideFields(dataContainerType, override.dataContainerType);{code}

> OverrideConfigurationVisitor implementation is incomplete
> ---------------------------------------------------------
>
>                 Key: ISPN-1215
>                 URL: https://issues.jboss.org/browse/ISPN-1215
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Configuration, Core API
>    Affects Versions: 5.0.0.CR6
>            Reporter: Vladimir Rodionov
>            Assignee: Galder Zamarreño
>             Fix For: 5.0.0.FINAL
>
>
> OK, I found this issue while working on integration of OffHeap data storage into ISPN 5.0. There is no way to override dataContainer settings in ISPN 5.0 CR6 as since OverrideConfigurationVisitor which extends AbstractConfigurationBeanVisitor does not implement
>  
> {code}
> public void visitDataContainerType(DataContainerType bean)
> {code}
> method. 
> I fixed the particular issue and fix is described here: http://community.jboss.org/thread/167641?start=15&tstart=0
> Btw, the whole  *OverrideConfigurationVisitor* class looks like a template which is yet to be implemented.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list