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

View File

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