Interface ResourceInjector


  • public interface ResourceInjector
    Interface for injecting injectable resources into tag handler instances.
    • Method Detail

      • createTagHandlerInstance

        <T extends JspTag> T createTagHandlerInstance​(java.lang.Class<T> clazz)
                                               throws java.lang.Exception
        Instantiates and injects the given tag handler class.
        Parameters:
        clazz - the tag handler class to be instantiated and injected
        Throws:
        java.lang.Exception - if an error has occurred during instantiation or injection
      • preDestroy

        void preDestroy​(JspTag handler)
        Invokes any @PreDestroy methods defined on the instance's class (and super-classes).
        Parameters:
        handler - The tag handler instance whose @PreDestroy methods to call