@Target(value={TYPE,ANNOTATION_TYPE})
public @interface HandlerDeclaration
@Component
@HandlerDeclaration("<ns:my-handler attribute='value' xmlns:ns='http://www.acme.com/ipojo/ns'/>")
public class MyComponent {
// ...
}
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
The content of this attribute represents the XML
that would be used in the metadata.xml.
|
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.