diff --git a/src/main/java/org/gcube/vremanagement/executor/ResourceInitializer.java b/src/main/java/org/gcube/vremanagement/executor/ResourceInitializer.java index 6f2462e..cecb6f2 100644 --- a/src/main/java/org/gcube/vremanagement/executor/ResourceInitializer.java +++ b/src/main/java/org/gcube/vremanagement/executor/ResourceInitializer.java @@ -3,6 +3,7 @@ package org.gcube.vremanagement.executor; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.MediaType; +import org.gcube.smartgears.annotations.ManagedBy; import org.gcube.vremanagement.executor.rest.RestSmartExecutor; import org.glassfish.jersey.server.ResourceConfig; import org.slf4j.Logger; @@ -12,6 +13,7 @@ import org.slf4j.LoggerFactory; * @author Luca Frosini (ISTI - CNR) */ @ApplicationPath("/") +@ManagedBy(SmartExecutorInitializator.class) public class ResourceInitializer extends ResourceConfig { public static final String APPLICATION_JSON_CHARSET_UTF_8 = MediaType.APPLICATION_JSON + ";charset=UTF-8";