Class BeanConfig<T>

  • Direct Known Subclasses:
    TypeHandlerConfig

    public class BeanConfig<T>
    extends java.lang.Object
    Stores bean information. A Bean object is used to instantiate configurable components such as a type handler, record reader factory or record writer factory.
    Since:
    1.0
    • Constructor Summary

      Constructors 
      Constructor Description
      BeanConfig()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClassName()
      Returns the fully qualified class name of the bean.
      T getInstance()
      Returns the configured instance of this bean.
      java.util.Properties getProperties()
      Returns bean properties.
      void setClassName​(java.lang.String className)
      Sets the fully qualified class name of the bean.
      void setInstance​(T instance)
      Sets the configured instance of this bean.
      void setProperties​(java.util.Properties properties)
      Sets bean properties.
      • Methods inherited from class java.lang.Object

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

      • BeanConfig

        public BeanConfig()
    • Method Detail

      • getClassName

        public java.lang.String getClassName()
        Returns the fully qualified class name of the bean.
        Returns:
        the bean class name
      • setClassName

        public void setClassName​(java.lang.String className)
        Sets the fully qualified class name of the bean.
        Parameters:
        className - the bean class name
      • getProperties

        public java.util.Properties getProperties()
        Returns bean properties.
        Returns:
        the bean properties
      • setProperties

        public void setProperties​(java.util.Properties properties)
        Sets bean properties.
        Parameters:
        properties - the new bean properties
      • getInstance

        public T getInstance()
        Returns the configured instance of this bean.
        Returns:
        the instance
      • setInstance

        public void setInstance​(T instance)
        Sets the configured instance of this bean.
        Parameters:
        instance - the bean