[jboss-user] [JBoss Seam] - Re: HTTPS Scheme in pages.xml without httpsport or default p

nkhilnani do-not-reply at jboss.com
Thu Jan 10 12:34:45 EST 2008


oh, for info for others... the precedence should be FRAMEWORK , not BUILT_IN. Using built gives and error indicating two components were defined with the same precedence.

>From the source code for the Install annotation 


  |    /**
  |     * Precedence of all built-in Seam components
  |     */
  |    public static final int BUILT_IN = 0;
  |    /**
  |     * Precedence to use for components of frameworks 
  |     * which extend Seam
  |     */
  |    public static final int FRAMEWORK = 10;
  |    /**
  |     * Predence of application components (the
  |     * default precedence)
  |     */
  |    public static final int APPLICATION = 20;
  |    /**
  |     * Precedence to use for components which override
  |     * application components in a particular deployment
  |     */
  |    public static final int DEPLOYMENT = 30;
  | 
  |    /**
  |     * Precedence to use for mock objects in tests
  |     */
  |    public static final int MOCK = 40;
  | 

Thanks All!
Nik

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118760



More information about the jboss-user mailing list