Im not instantiating it.  I want Seam to create it and inject it.

To be injected
@Name("paginator")
  | @Scope(SESSION)
  | public class DefaultPaginator implements Paginator {
  | 
  |     @Logger
  |     private Log log;
  | 
  |     public DefaultPaginator() {}
  | 
  |     ...business methods
  | 
  | }

In the owner class

  | @Stateful
  | @Name("zipSearchRef")
  | @Scope(SESSION)
  | public class ZipSeachActionRef implements ZipSeachRef{
  | 
  |     @In(value="zipPaginator", create=true)
  |     @Out(value="zipPaginator", scope=SESSION, required=false)
  |     DefaultPaginator zipPaginator;
  | 
  |     ...business methods
  | 
  | }

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

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

Reply via email to