Class JavaBeanObjectFactory

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

    public class JavaBeanObjectFactory
    extends java.lang.Object
    implements javax.naming.spi.ObjectFactory
    • 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
      • handleDeserializeBinaryRefAddressContent

        protected void handleDeserializeBinaryRefAddressContent​(java.lang.String propertyName,
                                                                java.util.Map out,
                                                                byte[] content)
                                                         throws java.lang.ClassNotFoundException,
                                                                java.io.IOException
        Throws:
        java.lang.ClassNotFoundException
        java.io.IOException
      • dangerousDeserializeBinaryRefAddressContent

        protected void dangerousDeserializeBinaryRefAddressContent​(java.lang.String propertyName,
                                                                   java.util.Map out,
                                                                   byte[] content)
                                                            throws java.lang.ClassNotFoundException,
                                                                   java.io.IOException
        Throws:
        java.lang.ClassNotFoundException
        java.io.IOException
      • 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