Actually I do.
I think the previous code is not the one I intended to copy. Here is what I use:


  | @Scope(ScopeType.APPLICATION)
  | @Intercept(InterceptionType.NEVER)
  | @Startup(depends = {"pojoCache"})
  | @Name("resourcesManager")
  | public class ResourcesManager {
  | 
  |     private static final Log log = 
LogFactory.getLog(ResourcesManager.class);
  | 
  |     private transient PojoCache pojoCache = 
org.jboss.seam.core.PojoCache.instance();
  | 
  |     private EntityManager entityManager;   
  | 
  |     @Create
  |     public void startup() throws Exception {
  |         ...
  |     }
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984414#3984414

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984414
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to