org.pentaho.platform.engine.core.system.objfac
Class StandaloneSpringPentahoObjectFactory

java.lang.Object
  extended by org.pentaho.platform.engine.core.system.objfac.AbstractSpringPentahoObjectFactory
      extended by 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

Constructor Summary
StandaloneSpringPentahoObjectFactory()
           
 
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.
 
Methods inherited from class org.pentaho.platform.engine.core.system.objfac.AbstractSpringPentahoObjectFactory
get, get, getImplementingClass, objectDefined
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandaloneSpringPentahoObjectFactory

public StandaloneSpringPentahoObjectFactory()
Method Detail

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 file
context - the ApplicationContext object, if null, then this method will create one