[
http://jira.jboss.com/jira/browse/JBSEAM-936?page=comments#action_12354404 ]
Jie Situ commented on JBSEAM-936:
---------------------------------
I read the 18.1 chapter . And I don't understand.
I think the example maybe should be changed as below.
@Name("chatroom")
public class Chatroom {
@In PojoCache pojoCache;
public void join(String username) {
try
{
Set<String> userList = (Set<String>)
pojoCache.get("chatroom", "userList");
if (userList==null)
{
userList = new HashSet<String>();
}
userList.add(username);
pojoCache.put("chatroom", "userList", userList);
}
catch (CacheException ce)
{
throw new RuntimeException(ce);
}
}
}
Wanted detail documentaition of using Seam with cache.
------------------------------------------------------
Key: JBSEAM-936
URL:
http://jira.jboss.com/jira/browse/JBSEAM-936
Project: JBoss Seam
Issue Type: Feature Request
Components: Documentation
Affects Versions: 1.1.7.CR1
Reporter: Jie Situ
Assigned To: Gavin King
Priority: Minor
Fix For: 1.2.0.GA
Generally reading the documentation, I found little information of using Seam with cache.
I'm confused about it. And I want more information of it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira