Class DefaultProcessorFactory

    • Constructor Detail

      • DefaultProcessorFactory

        public DefaultProcessorFactory​(Class clzProcessor)
        Construct a DefaultProcessorFactory instance.
        Parameters:
        clzProcessor - the processor class
    • Method Detail

      • createProcessor

        protected InvocableMap.EntryProcessor createProcessor​(String sProperty)
        Create and initialize a new processor instance.
        Parameters:
        sProperty - property to be handled by processor
        Returns:
        a processor instance
      • getConstructor

        protected Constructor getConstructor​(Constructor[] aCtors)
        Search the given constructors for a constructor that accepts a String parameter. If found, return the constructor, otherwise return the public default constructor, if available.
        Parameters:
        aCtors - constructor array
        Returns:
        default constructor