Package omero.cmd
Class RequestObjectFactoryRegistry
- java.lang.Object
-
- omero.util.ObjectFactoryRegistry
-
- omero.cmd.RequestObjectFactoryRegistry
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class RequestObjectFactoryRegistry extends ObjectFactoryRegistry implements org.springframework.context.ApplicationContextAware
SPI type picked up from the Spring configuration and given a chance to register all itsObjectFactory
instances with theCommunicator
.- See Also:
- Trac ticket #6340
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class omero.util.ObjectFactoryRegistry
ObjectFactoryRegistry.ObjectFactory
-
-
Field Summary
-
Fields inherited from class omero.util.ObjectFactoryRegistry
log
-
-
Constructor Summary
Constructors Constructor Description RequestObjectFactoryRegistry(ome.tools.hibernate.ExtendedMetadata em, ome.security.ACLVoter voter, ome.system.Roles roles, ome.io.nio.PixelsService pixelsService, ome.io.nio.ThumbnailService thumbnailService, ome.services.mail.MailUtil mailUtil, ome.security.auth.PasswordUtil passwordUtil, ome.security.SecuritySystem sec, ome.security.auth.PasswordProvider passwordProvider, GraphRequestFactory graphRequestFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,ObjectFactoryRegistry.ObjectFactory>
createFactories(Ice.Communicator ic)
void
setApplicationContext(org.springframework.context.ApplicationContext ctx)
-
Methods inherited from class omero.util.ObjectFactoryRegistry
setIceCommunicator
-
-
-
-
Constructor Detail
-
RequestObjectFactoryRegistry
public RequestObjectFactoryRegistry(ome.tools.hibernate.ExtendedMetadata em, ome.security.ACLVoter voter, ome.system.Roles roles, ome.io.nio.PixelsService pixelsService, ome.io.nio.ThumbnailService thumbnailService, ome.services.mail.MailUtil mailUtil, ome.security.auth.PasswordUtil passwordUtil, ome.security.SecuritySystem sec, ome.security.auth.PasswordProvider passwordProvider, GraphRequestFactory graphRequestFactory)
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
createFactories
public java.util.Map<java.lang.String,ObjectFactoryRegistry.ObjectFactory> createFactories(Ice.Communicator ic)
- Specified by:
createFactories
in classObjectFactoryRegistry
-
-