日期:2014-05-17 浏览次数:20656 次
<bean id="login" class="com.action.LoginAction">
<property name="employeeService"><ref bean="employeeService"/> </property>
</bean>
<bean id="employeeService" class="com.imp.EmployeeService">
<property name="sessionFactory"><ref bean="sessionFactory"/> </property>
</bean>
private EmployeeService employeeService;
public class EmployeeService implements EmployeeServiceInter
<bean id="login" class="com.action.LoginAction">
<property name="EmployeeServiceInter"><ref bean="employeeService"/> </property>
</bean>
<bean id="employeeService" class="com.imp.EmployeeService">
<property name="sessionFactory"><ref bean="sessionFactory"/> </property>
</bean>
private EmployeeServiceInter employeeServiceInter;