Java 类org.kohsuke.stapler.WebApp 实例源码

项目:yaml-project-plugin    文件:Binder.java   
/** Gets an instance of stapler for use in lazy json binding. */
@VisibleForTesting
Stapler getStapler() {
  final WebApp webapp = new WebApp(null /* context */);
  webapp.setClassLoader(getClassLoader());

  Stapler stapler = new Stapler() {
      @Override
      public WebApp getWebApp() {
        return webapp;
      }
    };
  return stapler;
}
项目:parameterized-scheduler    文件:ParameterizedStaplerRequest.java   
@Override
public WebApp getWebApp() {
    return null;
}