public class PrototypePentahoObjectReference<T> extends AbstractPentahoObjectReference<T>
IObjectCreator
to serve every
call to getObject(). While this class is called "Prototype", the implementation of the configured IObjectCreator is
not required to return unique instances. This is done to support other unanticipated object lifecycles.
Created by nbaker on 4/15/14.Modifier and Type | Class and Description |
---|---|
static class |
PrototypePentahoObjectReference.Builder<T>
Public builder, implementation specific methods should be in BuilderBase, only self() should be defined here
|
Constructor and Description |
---|
PrototypePentahoObjectReference(Class<T> type,
org.pentaho.platform.api.engine.IObjectCreator<T> creator,
Map<String,Object> attributes,
Integer priority) |
Modifier and Type | Method and Description |
---|---|
protected T |
createObject() |
compareTo, getAttributes, getObject, getObjectClass, getRanking
protected T createObject() throws org.pentaho.platform.api.engine.ObjectFactoryException
createObject
in class AbstractPentahoObjectReference<T>
org.pentaho.platform.api.engine.ObjectFactoryException
Copyright © 2019 Hitachi Vantara. All rights reserved.