changes on OnlineObserver
This commit is contained in:
parent
e076dc39de
commit
b65fe507af
|
@ -3,7 +3,6 @@ package org.gcube.smartgears;
|
|||
import javax.servlet.ServletContext;
|
||||
|
||||
import org.gcube.common.events.Hub;
|
||||
import org.gcube.common.resources.gcore.GCoreEndpoint;
|
||||
import org.gcube.smartgears.configuration.application.ApplicationConfiguration;
|
||||
import org.gcube.smartgears.context.Properties;
|
||||
import org.gcube.smartgears.context.application.ApplicationContext;
|
||||
|
@ -88,11 +87,6 @@ public class ContextProvider {
|
|||
return delegate.id();
|
||||
}
|
||||
|
||||
@Override
|
||||
public GCoreEndpoint profile() {
|
||||
return delegate.profile();
|
||||
}
|
||||
|
||||
@Override
|
||||
public PersistenceWriter persistence() {
|
||||
// TODO Auto-generated method stub
|
||||
|
|
|
@ -98,7 +98,7 @@ public class OnlineObserver implements AppManagerObserver{
|
|||
|
||||
public synchronized void onStop(ApplicationContext appContext){
|
||||
|
||||
for (String context :appContext.configuration().authorizedContexts())
|
||||
for (String context :appContext.container().configuration().authorizationProvider().getContexts())
|
||||
this.onRemove(context);
|
||||
|
||||
unregister();
|
||||
|
|
Loading…
Reference in New Issue