Class JtdsObjectFactory

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

    public class JtdsObjectFactory
    extends java.lang.Object
    implements javax.naming.spi.ObjectFactory
    Description
    Since:
    0.3
    Author:
    Alin Sinplean, Holger Rehn
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getObjectInstance​(java.lang.Object refObj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable env)  
      private java.util.HashMap loadProps​(javax.naming.Reference ref, java.lang.String[] props)  
      • Methods inherited from class java.lang.Object

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

      • JtdsObjectFactory

        public JtdsObjectFactory()
    • Method Detail

      • getObjectInstance

        public java.lang.Object getObjectInstance​(java.lang.Object refObj,
                                                  javax.naming.Name name,
                                                  javax.naming.Context nameCtx,
                                                  java.util.Hashtable env)
                                           throws java.lang.Exception
        Specified by:
        getObjectInstance in interface javax.naming.spi.ObjectFactory
        Throws:
        java.lang.Exception
      • loadProps

        private java.util.HashMap loadProps​(javax.naming.Reference ref,
                                            java.lang.String[] props)