
org.smart4j.framework.plugin.WebPlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smart-framework Show documentation
Show all versions of smart-framework Show documentation
Smart Framework is a lightweight Java Web Framework
package org.smart4j.framework.plugin;
import javax.servlet.ServletContext;
/**
* 基于 Web 的插件抽象实现,拥有 Plugin 接口的所有功能
*
* 可在子类中注册 Servlet、Filter、Listener 等
*
* @author huangyong
* @since 2.3
*/
public abstract class WebPlugin implements Plugin {
@Override
public void init() {
}
@Override
public void destroy() {
}
public abstract void register(ServletContext servletContext);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy