Class JavaBeanObjectFactory

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

    public class JavaBeanObjectFactory
    extends java.lang.Object
    implements javax.naming.spi.ObjectFactory
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object createBlankInstance​(java.lang.Class beanClass)  
      protected java.lang.Object findBean​(java.lang.Class beanClass, java.util.Map propertyMap, java.util.Set refProps)  
      java.lang.Object getObjectInstance​(java.lang.Object refObj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable env)  
      • Methods inherited from class java.lang.Object

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

      • JavaBeanObjectFactory

        public JavaBeanObjectFactory()
    • 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
      • createBlankInstance

        protected java.lang.Object createBlankInstance​(java.lang.Class beanClass)
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • findBean

        protected java.lang.Object findBean​(java.lang.Class beanClass,
                                            java.util.Map propertyMap,
                                            java.util.Set refProps)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception