Interface ObjectInstanceManager

    • Method Detail

      • createFilter

        <T extends Filter> T createFilter​(Class<T> filterClass)
                                   throws ServletException
        Create the filter.
        Type Parameters:
        T - the type.
        Parameters:
        filterClass - the Filter class.
        Returns:
        the Filter.
        Throws:
        ServletException - when a Servlet error occurs.
      • createListener

        <T extends EventListener> T createListener​(Class<T> clazz)
                                            throws ServletException
        Create the listener.
        Type Parameters:
        T - the type.
        Parameters:
        clazz - the class.
        Returns:
        the Listener.
        Throws:
        ServletException - when a Servlet error occurs.
      • createServlet

        <T extends Servlet> T createServlet​(Class<T> clazz)
                                     throws ServletException
        Create the servlet.
        Type Parameters:
        T - the type.
        Parameters:
        clazz - the Servlet class.
        Returns:
        the Servlet.
        Throws:
        ServletException - when a Servlet error occurs.