public static class Deletion.Builder extends AbstractFactoryBean<Deletion> implements ApplicationContextAware
OmeroContext
makes creating this object from the command-line
somewhat complicated, but with a Deletion.Builder inside of the Spring
configuration it should be possible to use:
Deletion d = ctx.getBean("Deletion", Deletion.class);anywhere that a new deletion is needed.
Modifier and Type | Field and Description |
---|---|
protected AbstractFileSystemService |
afs |
protected OmeroContext |
ctx |
protected ExtendedMetadata |
em |
logger
Constructor and Description |
---|
Builder(AbstractFileSystemService afs,
ExtendedMetadata em) |
Modifier and Type | Method and Description |
---|---|
protected Deletion |
createInstance() |
Class<? extends Deletion> |
getObjectType() |
void |
setApplicationContext(ApplicationContext ctx) |
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
protected OmeroContext ctx
protected AbstractFileSystemService afs
protected ExtendedMetadata em
public Builder(AbstractFileSystemService afs, ExtendedMetadata em)
public void setApplicationContext(ApplicationContext ctx) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
protected Deletion createInstance() throws Exception
createInstance
in class AbstractFactoryBean<Deletion>
Exception
public Class<? extends Deletion> getObjectType()
getObjectType
in interface FactoryBean<Deletion>
getObjectType
in class AbstractFactoryBean<Deletion>
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.