[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1366) Make it easier to get view id from EmbeddedCacheManager
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Fri Sep 2 09:37:27 EDT 2011
[ https://issues.jboss.org/browse/ISPN-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626016#comment-12626016 ]
Galder Zamarreño commented on ISPN-1366:
----------------------------------------
Btw, reflection is likely to break in AS environments where DefaultCacheManager is not used.
> Make it easier to get view id from EmbeddedCacheManager
> -------------------------------------------------------
>
> Key: ISPN-1366
> URL: https://issues.jboss.org/browse/ISPN-1366
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core API, RPC
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 6.0.0.FINAL
>
>
> Getting the view ID from a cache manager is not very straightforward. This is located in Transport interface but this is not directly accessible EmbeddedCacheManager. At first glance, the only possible way to do it is by getting a reference to a cache, then getting the RPCManager from it and the transport associated with it. That's of course assuming the cache is clustered, otherwise it won't work.
> I'checking for other workarounds.
--
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