aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] [Commented] (ARIES-1293) Help custom namespace handlers that would like bean references..
Date Wed, 04 Feb 2015 17:16:35 GMT


Daniel Kulp commented on ARIES-1293:

Actually, they should use the "bp:Tinlined-*" versions of the blueprint types

> Help custom namespace handlers that would like bean references..
> ----------------------------------------------------------------
>                 Key: ARIES-1293
>                 URL:
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>            Reporter: Daniel Kulp
> In some cases, custom namespace handlers may have a schema element like:
> {code:xml}
> <xsd:element name="plugin">
> <xsd:complexType>
> <xsd:sequence>
> <xsd:any namespace="##other"/>
> </xsd:complexType>
> </xsd:element>
> {code}
> where they intend to allow the user to define some sort of bean or other object to be
defined by the user.   This works well in Spring/Spring-DM as you can define an object there
via the normal Spring "bean" element.   However, blueprint.xsd does NOT have a top level bean
element that can be referenced.    Thus, with the above schema, you can only use objects that
can be created via custom namespaces.
> The proposal would be to add two elements to the blueprint-ext namespace:
> {code:xml}
> <xsd:element name="bean" type="bp:Tbean"/>
> <xsd:element name="reference" type="bp:Treference"/>
> {code}
> to fill the gap that Spring-DM provides that we cannot do with Blueprint.

This message was sent by Atlassian JIRA

View raw message