Henrik Niehaus schrieb:
> Hi *,
> 
> I'm currently getting in touch with iPOJO and try to use the annotation
> approach. I'm using the maven bundle plugin + the maven ipojo plugin. I
> just figured out, that my components were not recognized because of a
> missing metadata.xml.
> I created such a file, which only contains an instance declaration.
> 
> <iPOJO>
>       <instance component="de.berlios.vch.parser.brainblog.BrainblogParser"
> name="BrainblogParser" />
> </iPOJO>
> 
> Now the component is found by iPOJO. My question is, if I have to
> provide an metadata.xml, or if can declare an instance with annotations,
> too.
> 
> Regards
> Henrik
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

Never mind! I found a section in the docs, which answers my question:
http://felix.apache.org/site/how-to-use-ipojo-annotations.html#HowtouseiPOJOAnnotations-Instancecreation

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to