Seam: equivalente di @Startup in components.xml?
Domanda
C'è un equivalente di @Startup annotazioni in Seam che potrei usare in components.xml?
Soluzione
http://www.jboss.com/products/seam/ componenti-2.2.xsd è possibile utilizzare l'avvio = 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>
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow