public class RequestObjectFactoryRegistry extends ObjectFactoryRegistry implements org.springframework.context.ApplicationContextAware
ObjectFactory
instances with the
Communicator
.ticket:6340
ObjectFactoryRegistry.ObjectFactory
log
Constructor and Description |
---|
RequestObjectFactoryRegistry(ExtendedMetadata em,
ACLVoter voter,
Roles roles,
PixelsService pixelsService,
ThumbnailService thumbnailService,
MailUtil mailUtil,
PasswordUtil passwordUtil,
SecuritySystem sec,
PasswordProvider passwordProvider,
GraphRequestFactory graphRequestFactory) |
Modifier and Type | Method and Description |
---|---|
Map<String,ObjectFactoryRegistry.ObjectFactory> |
createFactories(Ice.Communicator ic) |
void |
setApplicationContext(org.springframework.context.ApplicationContext ctx)
Set the ApplicationContext that this object runs in.
|
setIceCommunicator
public RequestObjectFactoryRegistry(ExtendedMetadata em, ACLVoter voter, Roles roles, PixelsService pixelsService, ThumbnailService thumbnailService, MailUtil mailUtil, PasswordUtil passwordUtil, SecuritySystem sec, PasswordProvider passwordProvider, GraphRequestFactory graphRequestFactory)
public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException
org.springframework.context.ApplicationContextAware
Invoked after population of normal bean properties but before an init callback such
as InitializingBean.afterPropertiesSet()
or a custom init-method. Invoked after ResourceLoaderAware.setResourceLoader(org.springframework.core.io.ResourceLoader)
,
ApplicationEventPublisherAware.setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher)
and
MessageSourceAware
, if applicable.
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
ctx
- 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
public Map<String,ObjectFactoryRegistry.ObjectFactory> createFactories(Ice.Communicator ic)
createFactories
in class ObjectFactoryRegistry
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.