public class ManagedServiceFactory extends 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").ctx| Constructor and Description | 
|---|
ManagedServiceFactory()  | 
| 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(org.springframework.context.ApplicationContext applicationContext)
simple injector for the  
ApplicationContext | 
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, setSessionprotected String getPrefix()
ServiceFactoryServiceFactory.getServiceByClass(Class) to find the correct service
 proxy in the ServiceFactory.ctxgetPrefix in class ServiceFactoryString, usually "internal-" or "managed-"protected String getDefaultContext()
ApplicationContextAwaregetDefaultContext in class ServiceFactorypublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
ApplicationContextsetApplicationContext in interface org.springframework.context.ApplicationContextAwareapplicationContext - the ApplicationContext object to be used by this objectorg.springframework.context.ApplicationContextException - in case of context initialization errorsorg.springframework.beans.BeansException - if thrown by application context methodsBeanInitializationException
                
                
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.