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

    Defining seam components in components.xml

    gjeudy

      Hi,


      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:

      
      @Name("domInstance")
      
      @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 ?


      Thanks,
      -Guillaume