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 (tcostaso...@gmail.com) 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: users-unsubscr...@felix.apache.org  
For additional commands, e-mail: users-h...@felix.apache.org  

Reply via email to