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

Norman Richards (JIRA) jira-events at lists.jboss.org
Fri Mar 20 17:26:23 EDT 2009


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

Norman Richards reassigned JBSEAM-4016:
---------------------------------------

    Assignee: Norman Richards


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