package org.apache.struts.action;

import org.apache.struts.upload.MultipartRequestHandler;

public class ActionServletWrapper {
  protected transient ActionServlet servlet = null;
  
  public void log(String message, int level) {
    this.servlet.log(message, level);
  }
  
  public void log(String message) {
    this.servlet.log(message);
  }
  
  public void setServletFor(MultipartRequestHandler object) {
    object.setServlet(this.servlet);
  }
  
  public ActionServletWrapper(ActionServlet servlet) {
    this.servlet = servlet;
  }
}
