[webbeans-dev] [10.2 XML Configuration]

Gavin King gavin at hibernate.org
Tue Dec 16 19:47:10 EST 2008


It means that the @BindingType annotation is ignored.

In this example, there is no difference between having or not having the XML.

On Wed, Dec 17, 2008 at 8:42 AM, Gurkan Erdogdu <gurkanerdogdu at yahoo.com> wrote:
> Hi;
>
> In part 10.2 it says that
>
>           If the annotation type is already declared as a binding type,
> interceptor binding type or stereotype using annotations, the
>           annotations are ignored by the Web Bean manager and the XML-based
> declaration is used.
>
> What does it mean?
>
> For example I have a component
>
> @PaymentType
> class Payment{}
>
> where @PaymentType is an binding type, that is annotated with @BindingType.
>
> In some webbeans-xml file, there is also binding type
> <myapp:PaymentType>
>     <BindingType/>
> </myapp:PaymentType>.
>
> It means that while webbeans manager scans the Payment component, it does
> not use @PaymentType on the class level?
>
> Thanks;
>
> Gurkan Erdogdu
>
>
>
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>
>



-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org



More information about the weld-dev mailing list