com.haulmont.cuba.core.config.Property类的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(4.8k)|赞(0)|评价(0)|浏览(90)

本文整理了Java中com.haulmont.cuba.core.config.Property类的一些代码示例,展示了Property类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Property类的具体详情如下:
包路径:com.haulmont.cuba.core.config.Property
类名称:Property

Property介绍

暂无

代码示例

代码示例来源:origin: com.haulmont.cuba/cuba-global

/**
 * @return Configuration directory. {@link Scripting} searches for dynamic resources here.
 * Must not end with "/"
 */
@Property("cuba.confDir")
String getConfDir();

代码示例来源:origin: com.haulmont.reports/reports-core

/**
 * @return Directory with fonts for generate PDF from HTML
 */
@Property("reporting.fontsDir")
String getPdfFontsDirectory();

代码示例来源:origin: com.haulmont.cuba/cuba-rest-api

/**
 * @return user that is used to connect to LDAP server.
 * For instance: cn=System User,ou=Employees,dc=mycompany,dc=com
 */
@Property("cuba.rest.ldap.user")
String getLdapUser();

代码示例来源:origin: com.haulmont.cuba/cuba-rest-api

/**
 * @return password that is used to connect to LDAP server
 */
@Property("cuba.rest.ldap.password")
String getLdapPassword();

代码示例来源:origin: com.haulmont.cuba/cuba-idp

/**
 * @return trusted password of middleware
 */
@Property("cuba.trustedClientPassword")
String getTrustedClientPassword();

代码示例来源:origin: com.haulmont.cuba/cuba-global

/**
 * @return Data directory. Place persistent app-specific data files here.
 * Must not end with "/"
 */
@Property("cuba.dataDir")
String getDataDir();

代码示例来源:origin: com.haulmont.cuba/cuba-web

/**
 * @return user that is used to connect to LDAP server.
 * For instance: cn=System User,ou=Employees,dc=mycompany,dc=com
 */
@Property("cuba.web.ldap.user")
String getLdapUser();

代码示例来源:origin: com.haulmont.cuba/cuba-core

/**
 * User password for the SMTP server authentication.
 */
@Property("cuba.email.smtpPassword")
String getSmtpPassword();

代码示例来源:origin: com.haulmont.cuba/cuba-global

/**
 * @return Logs directory. Place app-specific log files here.
 * Must not end with "/"
 */
@Property("cuba.logDir")
String getLogDir();

代码示例来源:origin: com.haulmont.cuba/cuba-web

/**
   * @return Field of LDAP object for user login matching.
   */
  @Property("cuba.web.ldap.userLoginField")
  @DefaultString("sAMAccountName")
  String getLdapUserLoginField();
}

代码示例来源:origin: com.haulmont.cuba/cuba-web

/**
 * @return an action to force login.
 * <br> An action is represented by the last part of URL.
 */
@Property("cuba.web.loginAction")
@DefaultString("login")
String getLoginAction();

代码示例来源:origin: com.haulmont.cuba/cuba-web

/**
 * Reinitialize session after login to protect from Session Fixation attacks.
 */
@Property("cuba.web.useSessionFixationProtection")
@DefaultBoolean(true)
boolean getUseSessionFixationProtection();

代码示例来源:origin: com.haulmont.cuba/cuba-web

/**
 * Sets the page length for Table implementation - count of rows for first rendering of Table. After first partial
 * rendering Table will request rest of rows from the server.
 * <br>
 * Setting page length 0 disables paging.
 * <br>
 * If Table has fixed height the client side may update the page length automatically the correct value.
 */
@Property("cuba.web.table.pageLength")
@DefaultInt(15)
int getTablePageLength();

代码示例来源:origin: com.haulmont.cuba/cuba-web

/**
 * @return Maximum number of items stored in the {@link com.haulmont.cuba.web.log.AppLog} queue
 */
@Property("cuba.web.appLogMaxItemsCount")
@DefaultInt(10)
int getAppLogMaxItemsCount();

代码示例来源:origin: com.haulmont.cuba/cuba-web

/**
 * @return true if Web Client closes the UIs and the session after the {@link #getHttpSessionExpirationTimeoutSec()}
 * expires after the last non-heartbeat request.
 */
@Property("cuba.web.closeIdleHttpSessions")
@DefaultBoolean(false)
boolean getCloseIdleHttpSessions();

代码示例来源:origin: com.haulmont.cuba/cuba-web

/**
 * @return true if device width is used as view port width. Affects "viewport" meta tag of Vaadin HTML pages.
 */
@Property("cuba.web.useDeviceWidthForViewport")
@DefaultBoolean(false)
boolean getUseDeviceWidthForViewport();

代码示例来源:origin: com.haulmont.cuba/cuba-web

/**
 * Defines which screen should be opened after login. This setting will be applied to all users.
 */
@Property("cuba.web.defaultScreenId")
@Source(type = SourceType.DATABASE)
String getDefaultScreenId();
void setDefaultScreenId(String screenId);

代码示例来源:origin: com.haulmont.cuba/cuba-core

/**
 * @return Path to the exception report email body template.
 */
@Property("cuba.email.exceptionReportEmailTemplateBody")
@Default("/com/haulmont/cuba/core/app/exceptionemail/exception-report-template-body.gsp")
String getExceptionReportEmailBodyTemplate();

代码示例来源:origin: com.haulmont.cuba/cuba-core

/**
 * &lt;= 16 symbols string, used as key for AES encryption of security token
 */
@Property("cuba.keyForSecurityTokenEncryption")
@DefaultString("CUBA.Platform")
String getKeyForSecurityTokenEncryption();

代码示例来源:origin: com.haulmont.cuba/cuba-core

/**
 * Whether to use STARTTLS command during the SMTP server authentication.
 */
@Property("cuba.email.smtpStarttlsEnable")
@DefaultBoolean(false)
boolean getSmtpStarttlsEnable();

相关文章

微信公众号

最新文章

更多

Property类方法