IPentahoRegistrableObjectFactory
facilities available in PentahoSystempublic interface IPentahoDefinableObjectFactory extends IPentahoObjectFactory
Modifier and Type | Interface and Description |
---|---|
static class |
IPentahoDefinableObjectFactory.Scope
Deprecated.
The different object scopes that are supported
|
DEFAULT_PRIORTIY
Modifier and Type | Method and Description |
---|---|
void |
defineInstance(String key,
Object instance)
Deprecated.
Defines a new object instance.
|
void |
defineObject(String key,
String className,
IPentahoDefinableObjectFactory.Scope scope)
Deprecated.
Defines a new object.
|
void |
defineObject(String key,
String className,
IPentahoDefinableObjectFactory.Scope scope,
ClassLoader loader)
Deprecated.
Defines a new object that must be loaded with a specific classloader
|
get, get, get, getAll, getAll, getImplementingClass, getName, getObjectReference, getObjectReference, getObjectReferences, getObjectReferences, init, objectDefined, objectDefined
void defineObject(String key, String className, IPentahoDefinableObjectFactory.Scope scope)
key
- - typically the interface nameclassName
- - the name of the class to instatiatescope
- - the scope of the objectvoid defineObject(String key, String className, IPentahoDefinableObjectFactory.Scope scope, ClassLoader loader)
key
- - typically the interface nameclassName
- - the name of the class to instatiatescope
- - the scope of the objectloader
- - the loader to be used to create the classCopyright © 2020 Hitachi Vantara. All rights reserved.