Package ome.tools.spring
Class InternalServiceFactory
- java.lang.Object
-
- ome.system.ServiceFactory
-
- ome.tools.spring.InternalServiceFactory
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class InternalServiceFactory extends ome.system.ServiceFactory implements org.springframework.context.ApplicationContextAware
subclass of ome.system.ServiceFactory which retrieves unmanaged ("internal")service-
instances. These have fewer (or no) layers of AOP interceptors wrapping them.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description InternalServiceFactory()
default construtorInternalServiceFactory(ome.system.OmeroContext omeroContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getDefaultContext()
returns null to prevent the lookup of any context, but rather wait on injection as aApplicationContextAware
protected java.lang.String
getPrefix()
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
simple injector for theApplicationContext
java.lang.String
toString()
-
Methods inherited from class ome.system.ServiceFactory
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
-
-
-
-
Method Detail
-
getPrefix
protected java.lang.String getPrefix()
- Overrides:
getPrefix
in classome.system.ServiceFactory
-
getDefaultContext
protected java.lang.String getDefaultContext()
returns null to prevent the lookup of any context, but rather wait on injection as aApplicationContextAware
- Overrides:
getDefaultContext
in classome.system.ServiceFactory
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
simple injector for theApplicationContext
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-