Class SingletonPentahoObjectReference<T>
- java.lang.Object
-
- org.pentaho.platform.engine.core.system.objfac.references.AbstractPentahoObjectReference<T>
-
- org.pentaho.platform.engine.core.system.objfac.references.SingletonPentahoObjectReference<T>
-
- All Implemented Interfaces:
Comparable<org.pentaho.platform.api.engine.IPentahoObjectReference<T>>
,org.pentaho.platform.api.engine.IPentahoObjectReference<T>
public class SingletonPentahoObjectReference<T> extends AbstractPentahoObjectReference<T>
A simple wrapper Reference around an object. It will always return the same object that it was created with. Created by nbaker on 4/15/14.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SingletonPentahoObjectReference.Builder<T>
Public builder, implementation specific methods should be in BuilderBase, only self() should be defined here
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected T
createObject()
-
Methods inherited from class org.pentaho.platform.engine.core.system.objfac.references.AbstractPentahoObjectReference
compareTo, getAttributes, getObject, getObjectClass, getRanking
-
-
-
-
Method Detail
-
createObject
protected T createObject() throws org.pentaho.platform.api.engine.ObjectFactoryException
- Specified by:
createObject
in classAbstractPentahoObjectReference<T>
- Throws:
org.pentaho.platform.api.engine.ObjectFactoryException
-
-