Seam: équivalent de @Startup dans components.xml?
Question
Y at-il un équivalent d'annotation @Startup dans Seam que je pourrais utiliser dans components.xml?
La solution
Par http://www.jboss.com/products/seam/ composants 2.2.xsd vous pouvez utiliser le démarrage = 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>
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow