[jboss-user] [JBoss Seam] - Re: About the new chapter Caching in documentation.
Seto
do-not-reply at jboss.com
Tue Feb 27 09:05:05 EST 2007
My misunderstanding or the mistake of the doc?
It's like below before:
@Name("chatroom")
public class Chatroom {
@In PojoCache pojoCache;
public void join(String username) {
try
{
Set userList = (Set) pojoCache.get("chatroom", "userList");
if (users==null)
{
userList = new HashSet();
pojoCache.put("chatroom", "users", username);
}
}
catch (CacheException ce)
{
throw new RuntimeException(ce);
}
}
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023036#4023036
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023036
More information about the jboss-user
mailing list