[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-4016) Jboss Cache 2 integration is totally broken

Norman Richards (JIRA) jira-events at lists.jboss.org
Tue Mar 31 14:29:38 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBSEAM-4016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Richards closed JBSEAM-4016.
-----------------------------------

    Fix Version/s: 2.2.0.CR1
       Resolution: Done


Thanks.  I've fixed this and tested with the blog example.  Please report back if it's not working as expected for you.

> Jboss Cache 2 integration is totally broken
> -------------------------------------------
>
>                 Key: JBSEAM-4016
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4016
>             Project: Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.1.GA
>            Reporter: Stuart Douglas
>            Assignee: Norman Richards
>             Fix For: 2.2.0.CR1
>
>
> JbossCache2Provider does not work. The following code is wrong:
> GET = Cache.class.getDeclaredMethod("get", Fqn.class, String.class);
> PUT = Cache.class.getDeclaredMethod("put", Fqn.class, String.class, Object.class);
> REMOVE = Cache.class.getDeclaredMethod("remove", Fqn.class, String.class);
> REMOVE_NODE = Cache.class.getDeclaredMethod("removeNode", Fqn.class);
> The method signatures are wrong, and a MethodNotFoundException will be thrown. The code should read:
> GET = Cache.class.getDeclaredMethod("get", Fqn.class, Object.class);
> PUT = Cache.class.getDeclaredMethod("put", Fqn.class, Object.class, Object.class);
> REMOVE = Cache.class.getDeclaredMethod("remove", Fqn.class, Object.class);
> REMOVE_NODE = Cache.class.getDeclaredMethod("removeNode", Fqn.class);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list