Class PerUserPoolDataSourceFactory

  • All Implemented Interfaces:
    javax.naming.spi.ObjectFactory

    public class PerUserPoolDataSourceFactory
    extends InstanceKeyObjectFactory
    A JNDI ObjectFactory which creates SharedPoolDataSources
    Version:
    $Revision: 479137 $ $Date: 2006-11-25 10:51:48 -0500 (Sat, 25 Nov 2006) $
    • Field Detail

      • PER_USER_POOL_CLASSNAME

        private static final java.lang.String PER_USER_POOL_CLASSNAME
    • Constructor Detail

      • PerUserPoolDataSourceFactory

        public PerUserPoolDataSourceFactory()
    • Method Detail

      • isCorrectClass

        protected boolean isCorrectClass​(java.lang.String className)
        Specified by:
        isCorrectClass in class InstanceKeyObjectFactory
        Returns:
        true if and only if className is the value returned from getClass().getName().toString()
      • getNewInstance

        protected InstanceKeyDataSource getNewInstance​(javax.naming.Reference ref)
                                                throws java.io.IOException,
                                                       java.lang.ClassNotFoundException
        Description copied from class: InstanceKeyObjectFactory
        Creates an instance of the subclass and sets any properties contained in the Reference.
        Specified by:
        getNewInstance in class InstanceKeyObjectFactory
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException