|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.system.ServiceFactory
ome.tools.spring.InternalServiceFactory
public class InternalServiceFactory
subclass of ome.system.ServiceFactory which retrieves unmanaged ("internal")
service-
instances. These have fewer (or no)
layers of AOP interceptors wrapping them.
Field Summary |
---|
Fields inherited from class ome.system.ServiceFactory |
---|
ctx |
Constructor Summary | |
---|---|
InternalServiceFactory()
default construtor |
|
InternalServiceFactory(OmeroContext omeroContext)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InternalServiceFactory()
public InternalServiceFactory(OmeroContext omeroContext)
ServiceFactory.ServiceFactory(OmeroContext)
Method Detail |
---|
protected String getPrefix()
ServiceFactory
ServiceFactory.getServiceByClass(Class)
to find the correct service
proxy in the ServiceFactory.ctx
getPrefix
in class ServiceFactory
String
, usually "internal-" or "managed-"protected String getDefaultContext()
ApplicationContextAware
getDefaultContext
in class ServiceFactory
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
ApplicationContext
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.