Class ServletComponentDefinitionImpl

    • Constructor Detail

      • ServletComponentDefinitionImpl

        public ServletComponentDefinitionImpl​(boolean isLicensed)
        Creates a new ServletComponentDefinitionImpl instance.
        Parameters:
        isLicensed - Indicates whether the ServletComponent requires a license.
    • Method Detail

      • getServletClassName

        @Deprecated
        public String getServletClassName()
        Deprecated.
        Use the getInstanceClassName method if the implementation class of the component definition is a SimpleServletComponent. This way, dependency injection in the servlet instance class will be supported by means of a service set-method in the instance class.
        Returns the classname of the servlet associated with this component.
        Specified by:
        getServletClassName in interface ServletComponentDefinition
        Returns:
        the classname of the servlet associated with this component
      • setServletClassName

        @Deprecated
        public void setServletClassName​(String servletClassName)
        Deprecated.
        Use the setInstanceClassName(String) method if the implementation class of the component definition is a SimpleServletComponent. This way, dependency injection in the servlet instance class will be supported by means of a service set-method in the instance class.
        Sets the classname of the servlet associated with this component.
        Parameters:
        servletClassName - Name of the servlet associated with this component
      • getServletUrlPath

        public final String getServletUrlPath()
        Description copied from interface: ServletComponentDefinition
        Returns the relative path which should lead a servlet request to the servlet implemented by this servlet component, or null if none is defined.
        Specified by:
        getServletUrlPath in interface ServletComponentDefinition
        Returns:
        the relative path which should lead a servlet request to the servlet implemented by this servlet component, or null if none is defined.
      • setServletUrlPath

        public final void setServletUrlPath​(String urlPath)
        Sets the relative path which should lead a servlet request to the servlet implemented by this servlet component.
        Parameters:
        urlPath - The relative path which should lead a servlet request to the servlet implemented by this servlet component.