Pregunta

¿Hay un equivalente de @Startup anotación en la costura que podría utilizar en components.xml?

¿Fue útil?

Solución

http://www.jboss.com/products/seam/ componentes 2.2.xsd puede utilizar inicio = 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> 
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top