public class BlitzInstanceProvider extends java.lang.Object implements InstanceProvider
Constructor and Description |
---|
BlitzInstanceProvider(EnumerationProvider enumProvider)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends omero.model.IObject> |
getInstance(java.lang.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(java.lang.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.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.