marmotta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sschaff...@apache.org
Subject git commit: - initialise exception mapper only after resteasy has been initialised
Date Tue, 09 Jul 2013 14:01:22 GMT
Updated Branches:
  refs/heads/develop f6264636e -> e2eab08e5


- initialise exception mapper only after resteasy has been initialised


Project: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/commit/e2eab08e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/tree/e2eab08e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/diff/e2eab08e

Branch: refs/heads/develop
Commit: e2eab08e553942055e9c31c6b539cdc95a5c2979
Parents: f626463
Author: Sebastian Schaffert <sschaffert@apache.org>
Authored: Tue Jul 9 16:01:16 2013 +0200
Committer: Sebastian Schaffert <sschaffert@apache.org>
Committed: Tue Jul 9 16:01:16 2013 +0200

----------------------------------------------------------------------
 .../platform/core/services/jaxrs/ExceptionMapperServiceImpl.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/e2eab08e/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/jaxrs/ExceptionMapperServiceImpl.java
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/jaxrs/ExceptionMapperServiceImpl.java
b/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/jaxrs/ExceptionMapperServiceImpl.java
index cfa0fa7..341a688 100644
--- a/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/jaxrs/ExceptionMapperServiceImpl.java
+++ b/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/jaxrs/ExceptionMapperServiceImpl.java
@@ -3,6 +3,7 @@ package org.apache.marmotta.platform.core.services.jaxrs;
 import org.apache.marmotta.platform.core.api.content.ContentReader;
 import org.apache.marmotta.platform.core.api.jaxrs.ExceptionMapperService;
 import org.apache.marmotta.platform.core.events.ConfigurationServiceInitEvent;
+import org.apache.marmotta.platform.core.events.SystemStartupEvent;
 import org.apache.marmotta.platform.core.jaxrs.CDIExceptionMapper;
 import org.jboss.resteasy.spi.ResteasyProviderFactory;
 import org.slf4j.Logger;
@@ -49,7 +50,7 @@ public class ExceptionMapperServiceImpl implements ExceptionMapperService
{
     }
 
     // trigger startup once configuration service is finished with initialisation
-    public void initEvent(@Observes ConfigurationServiceInitEvent e) {
+    public void initEvent(@Observes SystemStartupEvent e) {
 
     }
 


Mime
View raw message