Class OSGIRuntimeObjectFactory
- java.lang.Object
-
- org.pentaho.platform.engine.core.system.objfac.RuntimeObjectFactory
-
- org.pentaho.platform.engine.core.system.objfac.OSGIRuntimeObjectFactory
-
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IPentahoObjectFactory
,org.pentaho.platform.api.engine.IPentahoRegistrableObjectFactory
public class OSGIRuntimeObjectFactory extends RuntimeObjectFactory
Created by nbaker on 4/27/15.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pentaho.platform.engine.core.system.objfac.RuntimeObjectFactory
RuntimeObjectFactory.ObjectRegistration
-
-
Field Summary
Fields Modifier and Type Field Description static String
REFERENCE_CLASS
-
Constructor Summary
Constructors Constructor Description OSGIRuntimeObjectFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> List<org.pentaho.platform.api.engine.IPentahoObjectReference<?>>
getReferencesByQuery(Class<T> type, Map<String,String> query)
boolean
objectDefined(Class<?> clazz)
<T> org.pentaho.platform.api.engine.IPentahoObjectRegistration
registerReference(org.pentaho.platform.api.engine.IPentahoObjectReference<?> reference, org.pentaho.platform.engine.core.system.objfac.OSGIRuntimeObjectFactory.OSGIPentahoObjectRegistration existingRegistration, Class<?>... classes)
<T> org.pentaho.platform.api.engine.IPentahoObjectRegistration
registerReference(org.pentaho.platform.api.engine.IPentahoObjectReference<T> reference, Class<?>... classes)
void
setBundleContext(org.osgi.framework.BundleContext bundleContext)
-
Methods inherited from class org.pentaho.platform.engine.core.system.objfac.RuntimeObjectFactory
get, get, get, getAll, getAll, getImplementingClass, getName, getObjectReference, getObjectReference, getObjectReferences, getObjectReferences, init, objectDefined, registerObject, registerObject, registerObject, registerReference, registerReference
-
-
-
-
Field Detail
-
REFERENCE_CLASS
public static final String REFERENCE_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
setBundleContext
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
-
registerReference
public <T> org.pentaho.platform.api.engine.IPentahoObjectRegistration registerReference(org.pentaho.platform.api.engine.IPentahoObjectReference<?> reference, org.pentaho.platform.engine.core.system.objfac.OSGIRuntimeObjectFactory.OSGIPentahoObjectRegistration existingRegistration, Class<?>... classes)
-
registerReference
public <T> org.pentaho.platform.api.engine.IPentahoObjectRegistration registerReference(org.pentaho.platform.api.engine.IPentahoObjectReference<T> reference, Class<?>... classes)
- Specified by:
registerReference
in interfaceorg.pentaho.platform.api.engine.IPentahoRegistrableObjectFactory
- Overrides:
registerReference
in classRuntimeObjectFactory
-
objectDefined
public boolean objectDefined(Class<?> clazz)
Description copied from class:RuntimeObjectFactory
- Specified by:
objectDefined
in interfaceorg.pentaho.platform.api.engine.IPentahoObjectFactory
- Overrides:
objectDefined
in classRuntimeObjectFactory
-
getReferencesByQuery
protected <T> List<org.pentaho.platform.api.engine.IPentahoObjectReference<?>> getReferencesByQuery(Class<T> type, Map<String,String> query)
- Overrides:
getReferencesByQuery
in classRuntimeObjectFactory
-
-