Class 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
    • Field Summary

      • Fields inherited from class ome.system.ServiceFactory

        ctx
    • 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 a ApplicationContextAware
      protected java.lang.String getPrefix()  
      void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
      simple injector for the ApplicationContext
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InternalServiceFactory

        public InternalServiceFactory()
        default construtor
      • InternalServiceFactory

        public InternalServiceFactory​(ome.system.OmeroContext omeroContext)
        See Also:
        ServiceFactory(OmeroContext)
    • Method Detail

      • getPrefix

        protected java.lang.String getPrefix()
        Overrides:
        getPrefix in class ome.system.ServiceFactory
      • getDefaultContext

        protected java.lang.String getDefaultContext()
        returns null to prevent the lookup of any context, but rather wait on injection as a ApplicationContextAware
        Overrides:
        getDefaultContext in class ome.system.ServiceFactory
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        simple injector for the ApplicationContext
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object