public class InternalServiceFactory extends ServiceFactory implements org.springframework.context.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 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()
used by
ServiceFactory.getServiceByClass(Class) to find the correct service
proxy in the ServiceFactory.ctx |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
simple injector for the
ApplicationContext |
java.lang.String |
toString() |
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
public InternalServiceFactory()
public InternalServiceFactory(OmeroContext omeroContext)
protected java.lang.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 java.lang.String getDefaultContext()
ApplicationContextAware
getDefaultContext
in class 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
public java.lang.String toString()
toString
in class java.lang.Object
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.