public class InternalServiceFactory extends ServiceFactory implements ApplicationContextAware
service-
instances. These have fewer (or no)
layers of AOP interceptors wrapping them.ctx
Constructor and Description |
---|
InternalServiceFactory()
default construtor
|
InternalServiceFactory(OmeroContext omeroContext) |
Modifier and Type | Method and Description |
---|---|
protected String |
getDefaultContext()
returns null to prevent the lookup of any context, but rather wait on
injection as a
ApplicationContextAware |
protected String |
getPrefix()
used by
ServiceFactory.getServiceByClass(Class) to find the correct service
proxy in the ServiceFactory.ctx |
void |
setApplicationContext(ApplicationContext applicationContext)
simple injector for the
ApplicationContext |
String |
toString() |
closeSession, createJobHandle, createRawFileStore, createRawPixelsStore, createRenderingEngine, createSearchService, createThumbnailService, getAdminService, getAnalysisService, getConfigService, getContainerService, getContext, getDeleteService, getLdapService, getMetadataService, getPixelsService, getProjectionService, getQueryService, getRenderingSettingsService, getRepositoryInfoService, getServiceByClass, getSession, getSessionInitializer, getSessionService, getShareService, getTypesService, getUpdateService, setSession
public InternalServiceFactory()
public InternalServiceFactory(OmeroContext omeroContext)
protected String getPrefix()
ServiceFactory
ServiceFactory.getServiceByClass(Class)
to find the correct service
proxy in the ServiceFactory.ctx
getPrefix
in class ServiceFactory
String
, usually "internal-" or "managed-"protected String getDefaultContext()
ApplicationContextAware
getDefaultContext
in class ServiceFactory
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
ApplicationContext
setApplicationContext
in interface ApplicationContextAware
BeansException
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.