public interface InstanceProvider
Modifier and Type | Method and Description |
---|---|
<T extends IObject> |
getInstance(java.lang.Class<T> klass)
Retrieves an instance.
|
<T extends IObject> T getInstance(java.lang.Class<T> klass) throws ModelException
klass
- Instance's base class from omero.model
.klass
.ModelException
- If there is an error retrieving the instance.