public interface ObjectFactory
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(Class<T> interfaceClass)
Retrieves an instance of a Pentaho BI Server API interface using the simple interface name (interfaceClass name
without the package) as the object key.
|
<T> T |
get(Class<T> interfaceClass,
String key)
Retrieves an instance of a Pentaho BI Server API interface by the given object key.
|
<T> T get(Class<T> interfaceClass)
interfaceClass - the type of object to retrieve (retrieved object will be returned as this type)ObjectFactoryException - if the object is undefined.<T> T get(Class<T> interfaceClass, String key)
interfaceClass - the type of object to retrieve (retrieved object will be returned as this type)key - the object identifier, typically the interface nameObjectFactoryException - if the object is undefined.Copyright © 2017 Hitachi Vantara. All rights reserved.