Class KradDataFactoryBean

java.lang.Object
org.kuali.rice.krad.data.KradDataFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<DataObjectService>

public class KradDataFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<DataObjectService>
A factory bean which load and/or acquires a reference to the data framework.

Will lazy-initialize the framework if it's not already been initialized. The factory bean will return a reference the DataObjectService which is the main API entry point into the data framework.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • KradDataFactoryBean

      public KradDataFactoryBean()
  • Method Details

    • getObject

      public DataObjectService getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<DataObjectService>
      Throws:
      Exception
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<DataObjectService>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<DataObjectService>