From 18288af880956ecc1168ca3f9b344ba8d86b62fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 18 Apr 2012 23:41:00 +0200 Subject: [PATCH] Change name of data manager application bean. --- src/main/java/net/pterodactylus/demoscenemusic/core/Core.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/demoscenemusic/core/Core.java b/src/main/java/net/pterodactylus/demoscenemusic/core/Core.java index eaba985..bfa8dee 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/core/Core.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/core/Core.java @@ -50,7 +50,7 @@ public class Core implements ServletContextListener { DataSource dataSource = (DataSource) context.lookup("java:/comp/env/jdbc/demosceneMusic"); Database database = AbstractDatabase.fromDataSource(dataSource); dataManager = new DataManager(database); - servletContextEvent.getServletContext().setAttribute("DataManager", dataManager); + servletContextEvent.getServletContext().setAttribute("dataManager", dataManager); } catch (NamingException ne1) { servletContextEvent.getServletContext().log("Could not create database connection.", ne1); } -- 2.7.4