0 Replies Latest reply on May 7, 2008 4:39 PM by Guillaume Jeudy

    Defining seam components in components.xml

    Guillaume Jeudy Master


      I have to define shared entities as seam components, these same entities will not be used in a seam context in another application.

      I have:

      @Role(name="newDomInstance", scope=ScopeType.CONVERSATION)

      Can I translate this to:

      <component name="domInstance" class="com.archinsurance.entity.reference.impl.ReferenceDomainInstanceImpl" />
           <component name="newDomInstance" class="com.archinsurance.entity.reference.impl.ReferenceDomainInstanceImpl" scope="conversation" />

      in components.xml ?

      More generally are all seam annotations also configurable in components.xml ?