public class ManagedServiceFactory
extends ome.system.ServiceFactory
implements org.springframework.context.ApplicationContextAware
service-
instances. These have all the
necessary layers of AOP interceptors for proper functioning. In fact, the
returned services behave almost exactly as if they were in an application
server ("container").Constructor and Description |
---|
ManagedServiceFactory() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getDefaultContext()
returns null to prevent the lookup of any context, but rather wait on
injection as a
ApplicationContextAware |
protected java.lang.String |
getPrefix() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
simple injector for the
ApplicationContext |
closeSession, createJobHandle, createRawFileStore, createRawPixelsStore, createRenderingEngine, createSearchService, createThumbnailService, getAdminService, getAnalysisService, getConfigService, getContainerService, getDeleteService, getLdapService, getMetadataService, getPixelsService, getProjectionService, getQueryService, getRenderingSettingsService, getRepositoryInfoService, getServiceByClass, getSession, getSessionInitializer, getSessionService, getShareService, getTypesService, getUpdateService, setSession
protected java.lang.String getPrefix()
getPrefix
in class ome.system.ServiceFactory
protected java.lang.String getDefaultContext()
ApplicationContextAware
getDefaultContext
in class ome.system.ServiceFactory
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
ApplicationContext
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException