Hello,
 I don't quite recall this stuff correctly but is it possible to inject (either 
@In or @EJB) SFSB into a plain java class? Or is there just something wrong 
with the syntax?



  | @Name("dragDropBean")
  | @Scope(value = ScopeType.SESSION)
  | public class DragDropBean implements Renderable {
  | 
  |     @In
  |     KohdeEditorBean kohdeEditor;
  | 
  |         // or 
  |         @EJB
  |         KohdeEditorBean kohdeEditor;
  | 
  | }
  | 
  | @Name("kohdeEditor")
  | @Stateful
  | @Scope(value = ScopeType.SESSION)
  | public class KohdeEditorBean extends StatefullBaseAction implements 
KohdeEditor {
  | 
  | }
  | 



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

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

Reply via email to