本文整理了Java中org.seasar.ymir.Ymir
类的一些代码示例,展示了Ymir
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Ymir
类的具体详情如下:
包路径:org.seasar.ymir.Ymir
类名称:Ymir
暂无
代码示例来源:origin: org.seasar.ymir/ymir-testing
final public Class<?> getPageClass(String path) {
Class<?> pageClass = ymir_.getPageClassOfPath(path);
if (pageClass == null) {
throw new IllegalArgumentException(
"Can't find page class corresponding path (" + path + ")");
}
return pageClass;
}
代码示例来源:origin: org.seasar.ymir/ymir-testing
final public String getPathOfPageClass(Class<?> pageClass) {
String path = ymir_.getPathOfPageClass(pageClass);
if (path == null) {
throw new IllegalArgumentException(
"Can't find path corresponding page class ("
+ pageClass.getName() + ")");
}
return path;
}
代码示例来源:origin: org.seasar.ymir/ymir-testing
Map<String, FormFile[]> fileParameterMap, FilterChain chain)
throws IOException, ServletException {
ymir_.process(servletContext, httpRequest, httpResponse, dispatcher,
path, method, fileParameterMap, chain);
代码示例来源:origin: org.seasar.ymir/ymir-zpt
String getKey() {
return YmirContext.getYmir().getApplication().getProperty(
Globals.APPKEY_CORE_CHECKBOX_KEY,
Globals.DEFAULT_CORE_CHECKBOX_KEY);
}
}
代码示例来源:origin: org.seasar.ymir/ymir-zpt
S2Container getS2Container() {
return YmirContext.getYmir().getApplication().getS2Container();
}
}
代码示例来源:origin: org.seasar.ymir/ymir-zpt
S2Container getS2Container() {
return YmirContext.getYmir().getApplication().getS2Container();
}
代码示例来源:origin: org.seasar.ymir/ymir-zpt
S2Container getS2Container() {
return YmirContext.getYmir().getApplication().getS2Container();
}
代码示例来源:origin: org.seasar.ymir/ymir-zpt
S2Container getS2Container() {
return YmirContext.getYmir().getApplication().getS2Container();
}
}
代码示例来源:origin: org.seasar.ymir/ymir-zpt
S2Container getS2Container() {
return YmirContext.getYmir().getApplication().getS2Container();
}
代码示例来源:origin: org.seasar.ymir/ymir-zpt
private boolean shouldOmitSessionId() {
return PropertyUtils.valueOf(YmirContext.getYmir().getApplication()
.getProperty(Globals.APPKEY_CORE_SESSION_OMITSESSIONID),
Globals.DEFAULT_CORE_SESSION_OMITSESSIONID);
}
代码示例来源:origin: org.seasar.ymir/ymir-zpt
protected TypeConversionManager getTypeConversionManager() {
return (TypeConversionManager) YmirContext.getYmir().getApplication()
.getS2Container().getComponent(TypeConversionManager.class);
}
}
代码示例来源:origin: org.seasar.ymir/ymir-zpt
Messages findMessages(String messagesName) {
Ymir ymir = YmirContext.getYmir();
if (ymir == null) {
return null;
}
return (Messages) ymir.getApplication().getS2Container().getComponent(
messagesName);
}
代码示例来源:origin: org.seasar.ymir/ymir-zpt
public static AnnotationHandler getAnnotationHandler() {
return (AnnotationHandler) YmirContext.getYmir().getApplication()
.getS2Container().getComponent(AnnotationHandler.class);
}
代码示例来源:origin: org.seasar.ymir/ymir-zpt
Messages findMessages(String messagesName) {
Ymir ymir = YmirContext.getYmir();
if (ymir == null) {
return null;
}
return (Messages) ymir.getApplication().getS2Container().getComponent(
messagesName);
}
代码示例来源:origin: org.seasar.ymir/ymir-zpt
public static TypeConversionManager getTypeConversionManager() {
return (TypeConversionManager) YmirContext.getYmir().getApplication()
.getS2Container().getComponent(TypeConversionManager.class);
}
}
代码示例来源:origin: org.seasar.ymir/ymir-zpt
@Override
protected Locale getLocale(HttpServletRequest request) {
return ((LocaleManager) YmirContext.getYmir().getApplication()
.getS2Container().getComponent(LocaleManager.class))
.getLocale();
}
}
内容来源于网络,如有侵权,请联系作者删除!