التماس: ما يعادل STARTUP في المكونات. xml؟
سؤال
هل هناك ما يعادل شرح STARTUP في التماس الذي يمكنني استخدامه في المكونات. xml؟
المحلول
لكل http://www.jboss.com/products/seam/components-2.2.xsd يمكنك استخدام بدء التشغيل = صحيح | خطأ
<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