moved manager
This commit is contained in:
parent
914197e3f2
commit
c7f147d1c9
|
@ -1,4 +1,4 @@
|
|||
package org.gcube.service.helloworld.manager;
|
||||
package org.gcube.service.helloworld;
|
||||
|
||||
import org.gcube.common.security.providers.SecretManagerProvider;
|
||||
import org.gcube.common.security.secrets.Secret;
|
||||
|
@ -23,6 +23,9 @@ public class HelloWorldManager implements ApplicationManager {
|
|||
|
||||
Logger logger = LoggerFactory.getLogger(HelloWorldManager.class);
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void onInit() {
|
||||
if (ContextProvider.get().container().configuration().mode() == Mode.offline) {
|
||||
|
@ -37,6 +40,9 @@ public class HelloWorldManager implements ApplicationManager {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void onShutdown() {
|
||||
if (ContextProvider.get().container().configuration().mode() == Mode.offline) {
|
|
@ -12,7 +12,7 @@ import javax.ws.rs.core.Response;
|
|||
import org.gcube.common.security.Owner;
|
||||
import org.gcube.common.security.providers.SecretManagerProvider;
|
||||
import org.gcube.common.security.secrets.Secret;
|
||||
import org.gcube.service.helloworld.manager.HelloWorldManager;
|
||||
import org.gcube.service.helloworld.HelloWorldManager;
|
||||
import org.gcube.service.helloworld.serializers.ContextSerializator;
|
||||
import org.gcube.smartgears.ContextProvider;
|
||||
import org.gcube.smartgears.annotations.ManagedBy;
|
||||
|
|
Loading…
Reference in New Issue