mirror of
https://gitee.com/nutz/nutzboot.git
synced 2024-12-12 13:25:22 +08:00
update:给Ureport加入PropDoc
This commit is contained in:
parent
1f4775bc8a
commit
33d9b9bbe6
@ -8,6 +8,7 @@ import javax.servlet.ServletConfig;
|
|||||||
import javax.servlet.ServletContext;
|
import javax.servlet.ServletContext;
|
||||||
import javax.servlet.ServletException;
|
import javax.servlet.ServletException;
|
||||||
|
|
||||||
|
import org.nutz.boot.annotation.PropDoc;
|
||||||
import org.nutz.boot.starter.WebServletFace;
|
import org.nutz.boot.starter.WebServletFace;
|
||||||
import org.nutz.ioc.loader.annotation.IocBean;
|
import org.nutz.ioc.loader.annotation.IocBean;
|
||||||
import org.springframework.web.context.WebApplicationContext;
|
import org.springframework.web.context.WebApplicationContext;
|
||||||
@ -17,7 +18,15 @@ import com.bstek.ureport.console.UReportServlet;
|
|||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
@IocBean
|
@IocBean
|
||||||
public class UreportServletStarter extends UReportServlet implements WebServletFace {
|
public class UreportServletStarter extends UReportServlet implements WebServletFace {
|
||||||
|
|
||||||
|
@PropDoc(value = "定义UReport2中提供的默认基于文件系统的报表存储目录", defaultValue = "")
|
||||||
|
public static final String UREPORT_FILESTOREDIR = "ureport.fileStoreDir";
|
||||||
|
|
||||||
|
|
||||||
|
@PropDoc(value = "是否启用自定义报表存储器", defaultValue = "")
|
||||||
|
public static final String UREPORT_DISABLEFILEPROVIDER= "ureport.disableFileProvider";
|
||||||
|
|
||||||
|
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return "ureport";
|
return "ureport";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user