org.integratedmodelling.kserver.resources.services.AbstractResourceService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of klab-server Show documentation
Show all versions of klab-server Show documentation
Spring controllers and common components for all k.LAB REST servers
package org.integratedmodelling.kserver.resources.services;
import org.integratedmodelling.common.interfaces.ResourceService;
import org.springframework.context.ApplicationContext;
public abstract class AbstractResourceService implements ResourceService {
protected ApplicationContext applicationContext;
/**
* Trick to add the application context to components we can't define as such.
*
* @param appContext
*/
public void setApplicationContext(ApplicationContext appContext) {
this.applicationContext = appContext;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy