Class AbstractRef

    • Field Summary

      • Fields inherited from class javax.naming.Reference

        addrs, classFactory, classFactoryLocation, className
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractRef​(java.lang.String className)
      Constructs a new AbstractRef with the specified class name.
      AbstractRef​(java.lang.String className, java.lang.String factory, java.lang.String factoryLocation)
      Constructs a new AbstractRef with the specified class name, factory class name, and factory location.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract java.lang.String getDefaultFactoryClassName()
      Returns the default factory class name.
      java.lang.String getFactoryClassName()  
      java.lang.String toString()  
      • Methods inherited from class javax.naming.Reference

        add, add, clear, clone, equals, get, get, getAll, getClassName, getFactoryClassLocation, hashCode, remove, size
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AbstractRef

        public AbstractRef​(java.lang.String className)
        Constructs a new AbstractRef with the specified class name.
        Parameters:
        className - The non-null class name
      • AbstractRef

        public AbstractRef​(java.lang.String className,
                           java.lang.String factory,
                           java.lang.String factoryLocation)
        Constructs a new AbstractRef with the specified class name, factory class name, and factory location.
        Parameters:
        className - The non-null class name
        factory - The factory class name
        factoryLocation - The factory location
    • Method Detail

      • getFactoryClassName

        public final java.lang.String getFactoryClassName()
        Overrides:
        getFactoryClassName in class javax.naming.Reference
      • getDefaultFactoryClassName

        protected abstract java.lang.String getDefaultFactoryClassName()
        Returns the default factory class name.
        Returns:
        the default factory class name
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class javax.naming.Reference