Project

General

Profile

« Previous | Next » 

Revision 8da6e745

Added by Andreas Kohlbecker over 15 years ago

cosmetics

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/PersistentTermInitializer.java
47 47
	private boolean omit = false;
48 48
	protected ITermVocabularyDao vocabularyDao;
49 49

  
50
	/**
51
	 * After a bit of head-scratching I found section 3.5.1.3. in the current spring 
52
	 * reference manual - @PostConstruct / afterPropertiesSet() is called 
53
	 * immediatly after the bean is constructed, prior to any AOP interceptors being 
54
	 * wrapped round the bean. Thus, we have to use programmatic transactions, not 
55
	 * annotations or pointcuts.
56
	 */
57 50
	protected PlatformTransactionManager transactionManager;
58 51
	protected DefaultTransactionDefinition txDefinition = new DefaultTransactionDefinition();
59 52
	
......
76 69
		this.transactionManager = transactionManager;
77 70
	}
78 71
	
72
	/*
73
	 * After a bit of head-scratching I found section 3.5.1.3. in the current spring 
74
	 * reference manual - @PostConstruct / afterPropertiesSet() is called 
75
	 * immediatly after the bean is constructed, prior to any AOP interceptors being 
76
	 * wrapped round the bean. Thus, we have to use programmatic transactions, not 
77
	 * annotations or pointcuts.
78
	 */
79 79
	@PostConstruct
80 80
	@Override
81 81
	public void initialize(){

Also available in: Unified diff