removed SG

This commit is contained in:
Fabio Sinibaldi 2020-11-23 18:37:41 +01:00
parent 6a4be82de5
commit c175fd8676
2 changed files with 30 additions and 25 deletions

29
pom.xml
View File

@ -47,11 +47,16 @@
<!-- SMARTGEARS -->
<dependency>
<groupId>org.gcube.core</groupId>
<artifactId>common-smartgears-app</artifactId>
</dependency>
<!-- <dependency> -->
<!-- <groupId>org.gcube.core</groupId> -->
<!-- <artifactId>common-smartgears-app</artifactId> -->
<!-- <exclusions> -->
<!-- <exclusion> -->
<!-- <groupId>org.javassist</groupId> -->
<!-- <artifactId>javassist</artifactId> -->
<!-- </exclusion> -->
<!-- </exclusions> -->
<!-- </dependency> -->
<dependency>
<groupId>org.gcube.core</groupId>
<artifactId>common-smartgears</artifactId>
@ -74,7 +79,12 @@
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet</artifactId>
<exclusions>
<exclusion>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- INTERNAL LOGIC -->
@ -87,12 +97,7 @@
<groupId>org.gcube.application</groupId>
<artifactId>geoportal-logic</artifactId>
<version>[1.0.4-SNAPSHOT,2.0.0)</version>
<exclusions>
<exclusion>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
</exclusion>
</exclusions>
</dependency>

View File

@ -1,18 +1,18 @@
package org.gcube.application.geoportal.service;
import org.gcube.application.geoportal.service.engine.ImplementationProvider;
import org.gcube.smartgears.ApplicationManager;
public class AppManager implements ApplicationManager{
@Override
public void onInit() {
ImplementationProvider.get().shutdown();
}
public class AppManager {
@Override
public void onShutdown() {
ImplementationProvider.get().shutdown();
}
// implements ApplicationManager{
//}
//
// @Override
// public void onInit() {
// ImplementationProvider.get().shutdown();
// }
//
// @Override
// public void onShutdown() {
// ImplementationProvider.get().shutdown();
// }
}