Hi! I could implement a prototype that generates metadata in the component descriptor.
Now I can create an iPojo that requires component factories with these metadata. But I'm not being able to find a way to access the pojo instance itself given a factory, is it possible? Regards On Sun, Jan 25, 2015, 14:15 clement escoffier [via Apache Felix] < [email protected]> wrote: > Hi, > > Unfortunately stereotypes do not support ‘parameter’ right now, but you > can use ‘visitors’ which are small classes rewriting the annotation. > Here is something similar to what you try to do: > https://github.com/wisdom-framework/wisdom/blob/master/core/wisdom-ipojo-module/src/main/java/org/wisdom/ipojo/module/WisdomServiceVisitor.java > > Cheers, > > Clement > On 25 janvier 2015 at 16:42:50, Thiago Souza ([hidden email] > <http:///user/SendEmail.jtp?type=node&node=5011272&i=0>) wrote: > > Hi all, > > I'm trying to create a custom handler with a @Stereotype annotation (named > > @Namespace) with the following use case: > > @Namespace("a-namespace") > public class ANamespaceComponent { > } > > The ANamespaceComponent would also inherit @Component(name="a-namespace") > > and @Instantiate with additional processing. > > Unfortunatelly I'm not being able to understand, from the documentation, > what artifacts (and how) should be created. > > Any help appreciated! > > Thanks! > > > > > > -- > View this message in context: > http://apache-felix.18485.x6.nabble.com/ipojo-Help-wih-Stereotype-and-custom-handler-tp5011271.html > > Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > <http:///user/SendEmail.jtp?type=node&node=5011272&i=1> > For additional commands, e-mail: [hidden email] > <http:///user/SendEmail.jtp?type=node&node=5011272&i=2> > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://apache-felix.18485.x6.nabble.com/ipojo-Help-wih-Stereotype-and-custom-handler-tp5011271p5011272.html > To unsubscribe from [ipojo] Help wih @Stereotype and custom handler, click > here > <http://apache-felix.18485.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5011271&code=dGNvc3Rhc291emFAZ21haWwuY29tfDUwMTEyNzF8LTEyNzI0NjQ3MjU=> > . > NAML > <http://apache-felix.18485.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://apache-felix.18485.x6.nabble.com/ipojo-Help-wih-Stereotype-and-custom-handler-tp5011271p5011274.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.

