Project

General

Profile

Feature #1762

Wrap com.zfabrik.springframework.ComponentFactoryBean into custom Spring bean: <z2:bean>

Added by Udo Offermann almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
z2-addon-spring
Target version:
Start date:
05.06.2014
Due date:
% Done:

0%

Estimated time:
origin:

Description

Provide custom Spring xml namespace so that one can replace

    <bean id="magicService" class="com.zfabrik.springframework.ComponentFactoryBean">
        <property name="componentName" value="com.zfabrik.service.provider/MagicService" />
        <property name="className" value="com.zfabrik.service.provider.MagicService" />
    </bean>

by

    <z2:bean id="magicService" 
             component="com.zfabrik.service.provider/MagicService" 
             class="com.zfabrik.service.provider.MagicService"/>

See http://docs.spring.io/spring/docs/3.1.2.RELEASE/spring-framework-reference/html/extensible-xml.html

#1

Updated by Udo Offermann almost 10 years ago

  • Description updated (diff)
#2

Updated by Henning Blohm over 9 years ago

  • Target version changed from 32 to 3.0
#3

Updated by Udo Offermann over 9 years ago

  • Target version changed from 3.0 to 2.3
#4

Updated by Udo Offermann over 9 years ago

Now available in version 2.3

#5

Updated by Udo Offermann over 9 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF