public class BlitzInstanceProvider extends Object implements InstanceProvider
Constructor and Description |
---|
BlitzInstanceProvider(EnumerationProvider enumProvider)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends omero.model.IObject> |
getInstance(Class<T> klass)
Retrieves an instance.
|
public BlitzInstanceProvider(EnumerationProvider enumProvider)
enumProvider
- Enumeration provider we are to use.public <T extends omero.model.IObject> T getInstance(Class<T> klass) throws ModelException
InstanceProvider
getInstance
in interface InstanceProvider
klass
- Instance's base class from omero.model
.klass
.ModelException
- If there is an error retrieving the instance.
Version: 5.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.