Class SharedPoolDataSourceFactory

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

    public class SharedPoolDataSourceFactory
    extends java.lang.Object
    A JNDI ObjectFactory which creates SharedPoolDataSources
    Version:
    $Revision: 479137 $ $Date: 2006-11-25 10:51:48 -0500 (Sat, 25 Nov 2006) $
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void closeAll()
      Close all pools associated with this class.
      java.lang.Object getObjectInstance​(java.lang.Object refObj, javax.naming.Name name, javax.naming.Context context, java.util.Hashtable env)
      implements ObjectFactory to create an instance of SharedPoolDataSource or PerUserPoolDataSource
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SharedPoolDataSourceFactory

        public SharedPoolDataSourceFactory()
    • Method Detail

      • closeAll

        public static void closeAll()
                             throws java.lang.Exception
        Close all pools associated with this class.
        Throws:
        java.lang.Exception
      • getObjectInstance

        public java.lang.Object getObjectInstance​(java.lang.Object refObj,
                                                  javax.naming.Name name,
                                                  javax.naming.Context context,
                                                  java.util.Hashtable env)
                                           throws java.io.IOException,
                                                  java.lang.ClassNotFoundException
        implements ObjectFactory to create an instance of SharedPoolDataSource or PerUserPoolDataSource
        Specified by:
        getObjectInstance in interface javax.naming.spi.ObjectFactory
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException