Шов: эквивалент @startup в компонентах .xml?
Вопрос
Есть ли эквивалент аннотации @startup в шове, который я мог бы использовать в компонентах .xml?
Решение
Нами http://www.jboss.com/products/seam/componentents-2.2.xsd Вы можете использовать Startup = True | False
<xs:attribute name="startup" default="false" type="components:boolean">
<xs:annotation>
<xs:documentation>
Indicates that an instance of the component should be created when the
the component's controlling scope starts. This is only used for application and
session scope.
</xs:documentation>
</xs:annotation>
</xs:attribute>
Не связан с StackOverflow