Class SunReflectionFactoryHelper


  • class SunReflectionFactoryHelper
    extends java.lang.Object
    Helper methods providing access to ReflectionFactory via reflection, for use by the ObjectInstantiators that use it.
    • Constructor Detail

      • SunReflectionFactoryHelper

        SunReflectionFactoryHelper()
    • Method Detail

      • newConstructorForSerialization

        public static <T> java.lang.reflect.Constructor<T> newConstructorForSerialization​(java.lang.Class<T> type,
                                                                                          java.lang.reflect.Constructor<?> constructor)
      • getReflectionFactoryClass

        private static java.lang.Class<?> getReflectionFactoryClass()
      • createReflectionFactory

        private static java.lang.Object createReflectionFactory​(java.lang.Class<?> reflectionFactoryClass)
      • getNewConstructorForSerializationMethod

        private static java.lang.reflect.Method getNewConstructorForSerializationMethod​(java.lang.Class<?> reflectionFactoryClass)