开发者

Seam: equivalent of @Startup in components.xml?

Is there an equivalent of @Startup annotat开发者_C百科ion in Seam which I could use in components.xml?


Per http://www.jboss.com/products/seam/components-2.2.xsd you can use 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> 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜