Oops - nevermind - I figured out how to get around this: First - you cannot inject anything other than the logger, PeristenceManager and such throw errors.
You will have the application context which as the example code shows can be grabbed from the static Contexts.getApplicationContext() function. To get any other Seam objects you must go through a component - and it must be through the 'local' interface EJB style ie: DocumentManager docManager = (DocumentManager) Component.getInstance("documentManager"); | Where in this case the beans are a stateful session bean and the local interface like this: @Name("documentManager") | @Stateful(...) | ... | class DocumentManagerBean implements DocumentManager { | ... | | and @Local | interface DocumentManager { | ... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034720#4034720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034720 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user