[ https://issues.apache.org/jira/browse/ARIES-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14547955#comment-14547955 ]
Sergey Beryozkin commented on ARIES-1322: ----------------------------------------- {code:java} @Inherited @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface Namespaces { /** * A list of namespaces supported by <code>NamespaceHandler</code>. */ String[] value(); } {code} > Introduce Namespaces annotation > ------------------------------- > > Key: ARIES-1322 > URL: https://issues.apache.org/jira/browse/ARIES-1322 > Project: Aries > Issue Type: Improvement > Components: Blueprint > Reporter: Sergey Beryozkin > Assignee: Sergey Beryozkin > Priority: Minor > > This applies to a blueprint-parser component. > NamespaceHandler interface does not list the namespaces this handler supports > which makes it difficult to automate the registration of handlers in non-OSGI > contexts. > Having a Namespace annotation will provide an optional mechanism for > NamespaceHandlers to advertise the list of supported namespaces and help > discovering the handlers in non OSGI contexts but also introspect them in > OSGI if needed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)