public static class Deletion.Builder extends org.springframework.beans.factory.config.AbstractFactoryBean<Deletion> implements org.springframework.context.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 ome.io.nio.AbstractFileSystemService |
afs |
protected ome.system.OmeroContext |
ctx |
protected ExtendedMetadata |
em |
Constructor and Description |
---|
Builder(ome.io.nio.AbstractFileSystemService afs,
ExtendedMetadata em) |
Modifier and Type | Method and Description |
---|---|
protected Deletion |
createInstance() |
java.lang.Class<? extends Deletion> |
getObjectType() |
void |
setApplicationContext(org.springframework.context.ApplicationContext ctx) |
protected ome.system.OmeroContext ctx
protected ome.io.nio.AbstractFileSystemService afs
protected ExtendedMetadata em
public Builder(ome.io.nio.AbstractFileSystemService afs, ExtendedMetadata em)
public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
protected Deletion createInstance() throws java.lang.Exception
createInstance
in class org.springframework.beans.factory.config.AbstractFactoryBean<Deletion>
java.lang.Exception