Remove not in effect annotations

They are potentially misleading, these beans are defined in the xml
file and their real scope is prototype.

FEA: ItEr75S04BugFixing
This commit is contained in:
Óscar González Fernández 2011-08-02 14:59:57 +02:00
parent 154626d714
commit ccabbb6afc
2 changed files with 2 additions and 10 deletions

View file

@ -79,9 +79,6 @@ import org.navalplanner.web.planner.tabs.MultipleTabsPlannerController;
import org.navalplanner.web.print.CutyPrint;
import org.navalplanner.web.security.SecurityUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import org.zkforge.timeplot.Plotinfo;
import org.zkforge.timeplot.Timeplot;
@ -126,8 +123,7 @@ import org.zkoss.zul.Vbox;
*
* @author Manuel Rego Casasnovas <mrego@igalia.com>
*/
@Component
@Scope(BeanDefinition.SCOPE_SINGLETON)
// This bean is defined at navalplanner-webapp-spring-config.xml
public abstract class CompanyPlanningModel implements ICompanyPlanningModel {
public static final String COLOR_CAPABILITY_LINE = "#000000"; // Black

View file

@ -99,9 +99,6 @@ import org.navalplanner.web.planner.taskedition.ITaskPropertiesCommand;
import org.navalplanner.web.print.CutyPrint;
import org.navalplanner.web.security.SecurityUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import org.zkforge.timeplot.Plotinfo;
import org.zkforge.timeplot.Timeplot;
@ -148,8 +145,7 @@ import org.zkoss.zul.Vbox;
/**
* @author Óscar González Fernández <ogonzalez@igalia.com>
*/
@Component
@Scope(BeanDefinition.SCOPE_SINGLETON)
// This bean is defined at navalplanner-webapp-spring-config.xml
public abstract class OrderPlanningModel implements IOrderPlanningModel {
public static final String COLOR_CAPABILITY_LINE = "#000000"; // Black