No - I just modified the seam-gen generated code (which just seems to use 
default scopes) and removed the following lines form my generated 
CustomerHome.java code (as I don't need status to be mutable)

        @In(value = "#{statusHome.managedInstance}", required = false)
  |     Status status;

and
        public void wire() {
  |             if (status != null) {
  |                     getInstance().setStatus(status);
  |             }
  |     }
  | 
  |     public boolean isWired() {
  |             if (getInstance().getStatus() == null)
  |                     return false;
  |             return true;
  |     }


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

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

Reply via email to