Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/backend/SessionFactoryProvider.java @ 5992:4c3ccf2b0304
Removed trailing whitespace.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 12 May 2013 18:08:41 +0200 |
parents | 4dd33b86dc61 |
children | fdec8ab16fa7 |
comparison
equal
deleted
inserted
replaced
5991:6f80d5f375fd | 5992:4c3ccf2b0304 |
---|---|
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde | 1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde |
2 * Software engineering by Intevation GmbH | 2 * Software engineering by Intevation GmbH |
3 * | 3 * |
4 * This file is Free Software under the GNU AGPL (>=v3) | 4 * This file is Free Software under the GNU AGPL (>=v3) |
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the | 5 * and comes with ABSOLUTELY NO WARRANTY! Check out the |
6 * documentation coming with Dive4Elements River for details. | 6 * documentation coming with Dive4Elements River for details. |
7 */ | 7 */ |
8 | 8 |
9 package org.dive4elements.river.backend; | 9 package org.dive4elements.river.backend; |
10 | 10 |
11 import java.util.Properties; | 11 import java.util.Properties; |
76 } | 76 } |
77 | 77 |
78 /** XXX: Commented out till it is configured correctly. | 78 /** XXX: Commented out till it is configured correctly. |
79 public static void registerAsMBean(SessionFactory factory) { | 79 public static void registerAsMBean(SessionFactory factory) { |
80 | 80 |
81 // | 81 // |
82 | 82 |
83 StatisticsService statsMBean = new StatisticsService(); | 83 StatisticsService statsMBean = new StatisticsService(); |
84 statsMBean.setSessionFactory(factory); | 84 statsMBean.setSessionFactory(factory); |
85 statsMBean.setStatisticsEnabled(true); | 85 statsMBean.setStatisticsEnabled(true); |
86 | 86 |