[infinispan-issues] [JBoss JIRA] Commented: (ISPN-955) Allow HotRod server to be passed a cache manager class to be used instead of DefaultCacheManager

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Thu Mar 3 03:00:46 EST 2011


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

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

Octavian, that looks fine. As Manik said, create a for of your repo (https://github.com/infinispan/infinispan) and follow instructions in http://community.jboss.org/docs/DOC-16089 to submit a pull request.

One last thing, in the println line where you explain what the -f parameter is used for, make sure you indicate the fact that any embedded cache manager implementation must have both a constructor to take config file and another that takes GlobalConfiguration and Configuration, so that the system can work correctly.

> Allow HotRod server to be passed a cache manager class to be used instead of DefaultCacheManager
> ------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-955
>                 URL: https://issues.jboss.org/browse/ISPN-955
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Cache Server
>         Environment: 4.2.1.CR1
>            Reporter: Octavian Florescu
>            Assignee: Galder Zamarreño
>             Fix For: 5.0.0.BETA1
>
>         Attachments: Main.scala
>
>
> The cache manager class used by HotRod server is not pluggable. org.infinispan.server.core.Main always uses DefaultCacheManager.
> Allow passing in the name of a user supplied class implementing EmbeddedCacheManager through some mean (eg a param).
> I implemented this functionality already (see the attachement, look for the addition of -f param), so I hope something like this makes it into 5.0.0

--
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