1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2009 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
package eu.etaxonomy.cdm.app.common;
|
11
|
|
12
|
import org.apache.log4j.Logger;
|
13
|
import org.springframework.context.ApplicationEvent;
|
14
|
import org.springframework.context.ApplicationListener;
|
15
|
|
16
|
/**
|
17
|
* @author a.mueller
|
18
|
* @date 28.09.2011
|
19
|
*
|
20
|
*/
|
21
|
public class AppImportApplicationListener implements ApplicationListener<ApplicationEvent> {
|
22
|
private static final Logger logger = Logger.getLogger(AppImportApplicationListener.class);
|
23
|
|
24
|
@Override
|
25
|
public void onApplicationEvent(ApplicationEvent event) {
|
26
|
if (logger.isDebugEnabled())logger.debug(event);
|
27
|
}
|
28
|
|
29
|
}
|