Issue Details (XML | Word | Printable)

Key: MULE-3963
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Andrew Perepelytsya
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Mule

Improve configuration with inline 'ref'/'class' attributes for child elements

Created: 18/Nov/08 09:37 AM   Updated: 15/Dec/08 11:30 AM
Component/s: Core: Configuration
Affects Version/s: 2.1.1
Fix Version/s: Tech. Debt

Time Tracking:
Not Specified

Issue Links:
Related
 

Labels: 22-candidates 22-techdebt-candidates
User impact: Medium
Effort points: 3
Affects Docs: Yes
Migration Impact: When implemented, the config will be simplified for these elements.


 Description  « Hide
Review cases where we reference external beans solely via the ref attribute and consider supporting an additional 'class' attribute to be able to define those inplace (works for simple cases with a default constructor). Can also be applied to <custom-xxx> tags. Examples:
<jdbc:connector name="jdbcConnector">
        <jdbc:sqlStatementStrategyFactory class="org.mule.transport.jdbc.TestSqlStatementStrategyFactory"/>
    </jdbc:connector>

    <jdbc:connector name="jdbcConnector5">
        <jdbc:sqlStatementStrategyFactory ref="sqlStatementStrategyFactory"/>
    </jdbc:connector>

    <spring:bean name="sqlStatementStrategyFactory" class="org.mule.transport.jdbc.config.JdbcNamespaceHandlerTestCase$TestSqlStatementStrategyFactory"/>

The main effort lies in schema updates, the coding part is easier.



 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.