Hi,

I think I found the best solution, I can use short actions names and
standard JDK proxies, the only thing is to set autowire-candidate
attribute to false for real managers implementation, like below:

<!-- real implementation -->
    <bean id="employeeManagerTarget"
class="pl.org.lenart.ems.managers.impl.EmployeeManagerImpl"
autowire-candidate="false">
        <constructor-arg ref="employeeDao"/>
    </bean>

<!-- proxy -->
    <bean id="employeeManager"
class="org.springframework.aop.framework.ProxyFactoryBean">
        <property name="proxyInterfaces"
value="pl.org.lenart.ems.managers.EmployeeManager"/>
        <property name="target" ref="employeeManagerTarget"/>
    </bean>


Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to