سؤال

هل هناك ما يعادل شرح 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> 
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top