public class BlitzInstanceProvider extends Object implements InstanceProvider
Constructor and Description |
---|
BlitzInstanceProvider(EnumerationProvider enumProvider)
Default constructor.
|
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.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.