Class JndiObjectFactoryBean

java.lang.Object
org.springframework.jndi.JndiAccessor
org.springframework.jndi.JndiLocatorSupport
org.springframework.jndi.JndiObjectLocator
org.springframework.jndi.JndiObjectFactoryBean
org.alfresco.config.JndiObjectFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<Object>, org.springframework.beans.factory.InitializingBean

public class JndiObjectFactoryBean extends org.springframework.jndi.JndiObjectFactoryBean
An extended version of JndiObjectFactoryBean that actually tests a JNDI data source before falling back to its default object. Allows continued backward compatibility with old-style datasource configuration.
Author:
dward
  • Field Summary

    Fields inherited from class org.springframework.jndi.JndiLocatorSupport

    CONTAINER_PREFIX

    Fields inherited from class org.springframework.jndi.JndiAccessor

    logger

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
     

    Methods inherited from class org.springframework.jndi.JndiObjectFactoryBean

    afterPropertiesSet, createCompositeInterface, getObject, getObjectType, isSingleton, lookupWithFallback, setBeanClassLoader, setBeanFactory, setCache, setDefaultObject, setExposeAccessContext, setLookupOnStartup, setProxyInterface, setProxyInterfaces

    Methods inherited from class org.springframework.jndi.JndiObjectLocator

    getExpectedType, getJndiName, setExpectedType, setJndiName

    Methods inherited from class org.springframework.jndi.JndiLocatorSupport

    convertJndiName, isResourceRef, lookup, lookup, setResourceRef

    Methods inherited from class org.springframework.jndi.JndiAccessor

    getJndiEnvironment, getJndiTemplate, setJndiEnvironment, setJndiTemplate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JndiObjectFactoryBean

      public JndiObjectFactoryBean()
  • Method Details