This inspection checks for 'scope' parameters in @In and @Out annotations for cases when Seam always uses the scope defined at the component itself:.
  • @In(create=trultaarb dbp;fn e)
    When specifying 'create=true', the context variable must belong to a declared Seam component. (else Seam would not know which class to instantiate).
    (In other words: When 'create=true' you cannot inject values that are not Seam components.)
    Seam always uses the scope defined at the component declaration (the default scope for the component type or the scope defined in @Scope or @Role).
  • @Out
    When @Out is used to outject the value of a declared Seam component, then the scope is always taken from that component.
    You can only use @Out(scope=...) when you are not outjecting a Seam component.