当前位置: 首页 > 工具软件 > Plugin.NET > 使用案例 >

Plugin插件

施驰
2023-12-01
public class MyPlugin implements PlugIn {
 public MyPlugin() {
  
 }
 
 public void destroy() {
  System.out.println("MyPlugin is stoping!!!!!!!!!!!!!!!!!!!!!!!!!!");
 }
 public void init(ActionServlet servlet, ModuleConfig config)
   throws ServletException {
  System.out.println("myplugin is staring!!!!!!!!!!!!!!!!!!!!!!!!!!");
  用于系统启动时加载信息
  DBManage.context = servlet.getServletContext();
 }
}
<script type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/buttonLite.js#style=-1&uuid=&pophcol=3&lang=zh"></script> <script type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/bshareC0.js"></script>
阅读(284) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
 类似资料: