Naht: Äquivalent @Startup in components.xml?
Frage
Gibt es ein Äquivalent von @Startup Annotation in Seam, die ich in components.xml verwenden könnte?
Lösung
http://www.jboss.com/products/seam/ Komponenten-2.2.xsd Startup = true verwenden | 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>
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow