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 IObject> |
getInstance(java.lang.Class<T> klass)
Retrieves an instance.
|
public BlitzInstanceProvider(EnumerationProvider enumProvider)
enumProvider
- Enumeration provider we are to use.public <T extends 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.