On 10.10.2009, at 16:14, Henrik Niehaus wrote:
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
Hi,
Well you find the answer. Right now, there is no way to declare
instance with annotations as it targets two different levels
(component type / instance).
Regards,
Clement
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]