org.pentaho.platform.engine.core.system.objfac
Class StandaloneSpringPentahoObjectFactory
java.lang.Object
org.pentaho.platform.engine.core.system.objfac.AbstractSpringPentahoObjectFactory
org.pentaho.platform.engine.core.system.objfac.StandaloneSpringPentahoObjectFactory
- All Implemented Interfaces:
- IPentahoObjectFactory
public class StandaloneSpringPentahoObjectFactory
- extends AbstractSpringPentahoObjectFactory
This factory implementation creates and uses a self-contained Spring
ApplicationContext
which is not tied to or accesible by any
other parts of the application.
- Author:
- Aaron Phillips
- See Also:
AbstractSpringPentahoObjectFactory
Method Summary |
void |
init(String configFile,
Object context)
Initializes this object factory by creating a self-contained Spring
ApplicationContext if one is not passed in. |
StandaloneSpringPentahoObjectFactory
public StandaloneSpringPentahoObjectFactory()
init
public void init(String configFile,
Object context)
- Initializes this object factory by creating a self-contained Spring
ApplicationContext
if one is not passed in.
- Parameters:
configFile
- the Spring bean definition XML filecontext
- the ApplicationContext
object, if null, then this method
will create one