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() |
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
Version: 5.3.5-ice35-b73
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.