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