servicelocator.java~10~

来自「一个很不错的电子商务后台管理系统 这是一个电子商务网站的后台管理系统 要」· JAVA~10~ 代码 · 共 39 行

JAVA~10~
39
字号
package xian.bin.serivce;import org.apache.struts.action.PlugIn;import org.apache.struts.action.ActionServlet;import org.apache.struts.config.ModuleConfig;import javax.servlet.ServletException;public class ServiceLocator implements PlugIn {  private ActionServlet servlet;  private String classServiceNmae;  public ServiceLocator() {  }  public void destroy() {    servlet=null;  }  public void init(ActionServlet parm1, ModuleConfig parm2) throws javax.servlet.ServletException {    servlet=parm1;    servlet.getServletContext().setAttribute("serviceLocator",this);    throw new java.lang.UnsupportedOperationException("Method init() not yet implemented.");  }  public SerivceUser getSerivceUser()throws Exception{    try{    }    catch(Exception e){    }  }  public String getClassServiceNmae() {    return classServiceNmae;  }  public void setClassServiceNmae(String classServiceNmae) {    this.classServiceNmae = classServiceNmae;  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?