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 AbstractFileSystemService |
afs |
protected OmeroContext |
ctx |
protected ExtendedMetadata |
em |
Constructor and Description |
---|
Builder(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 OmeroContext ctx
protected AbstractFileSystemService afs
protected ExtendedMetadata em
public Builder(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
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.