1

components.xmlで使用できるSeamの@Startupアノテーションに相当するものはありますか?

4

1 に答える 1

3

http://www.jboss.com/products/seam/components-2.2.xsdごとに、startup = 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> 
于 2010-06-29T16:37:54.583 に答える