env.rnc
来自「RESIN 3.2 最新源码」· RNC 代码 · 共 1,249 行 · 第 1/2 页
RNC
1,249 行
namespace local = ""namespace L = ""default namespace r = "http://caucho.com/ns/resin"namespace rcore = "http://caucho.com/ns/resin/core"include "../resin/resin-j2ee.rnc"r_boolean-Type = "true" | "false" | "yes" | "no"r_jndi = stringr_int = stringr_period = stringr_kbytes = stringr_path-Type = stringr_int-Type = stringr_double-Type = stringr_period-Type = stringr_kbytes-Type = stringr_jndi-Type = stringr_class-Type = stringr_object-Type = stringr_string-Group = string | (attribute rcore:type { string }, r_any-Group)r_any-Group = text | (attribute * {string} | element * { r_any-Group })*## mbean binding signaturer_binding = attribute binding { string } | element binding { string }## The basic environment tagsr_env-Basis = r_authenticator* & r_bam-service* & r_bean* & r_case-insensitive? & r_character-encoding? & r_class-loader* & r_component* & r_connection-factory* & r_connector* & r_database* & r_database-default* & r_dependency* & r_dependency-check-interval? & r_ejb-message-bean* & r_ejb-server* & r_ejb-stateful-bean* & r_ejb-stateless-bean* & r_env-entry* & r_grant* & rcore_import* & r_interceptor* & rcore_include* & r_javac? & r_jms-connection-factory* & r_jms-queue* & r_jms-topic* & r_jpa-persistence* & r_jndi-link* & r_log* & r_logger* & r_log-handler* & r_mail* & r_reference* & r_remote-client* & r_resource* & r_resource-adapter* & r_resource-default* & r_resource-deploy* & r_scheduled-task* & r_stderr-log? & r_stdout-log? & r_system-property* & r_temp-dir? & r_web-service-client* & r_work-dir? & rcore_message* & rcore_set* & rcore_include*## The environment, including control structuresr_env-Flow = r_env-Basis & element rcore:env { r_env-Flow }* & element rcore:if { rcore_if-Args, r_env-Flow }* & element rcore:choose { element rcore:when { rcore_when-Args, r_env-Flow }+, element rcore:otherwise { r_env-Flow }? }*## The environment contentsr_env-Content = r_env-Flowr_env-Group = r_env-Flow## Configures a JCA activation-spec for message beansr_activation-spec = element activation-spec { r_bean-Content}## Configures authentication for the current environmentr_authenticator = element authenticator { r_bean-Content}r_arg = element arg { r_any-Group }r_bam-service = element bam-service { r_bean-Content & (attribute thread-max { string } | element thread-max { string })?}## singleton beanr_bean = element bean { r_bean-Content & r_mbean-name? & r_mbean-interface?}r_bean-Content = (r_uri | r_class | r_type)? & r_binding* & r_init? & r_jndi-name? & r_name? & element param { r_any-Group }* & r_scope?## If true, paths are treated as case-insensitive in the current environmentr_case-insensitive = attribute case-insensitive { r_boolean-Type } | element case-insensitive { r_boolean-Type }## The default character encoding for the current environmentr_character-encoding = attribute character-encoding { string } | element character-encoding { r_string-Group }r_class = attribute class { string } | element class { r_string-Group }## Consigures class-loaders to the current environmentr_class-loader = element class-loader { r_compiling-loader* & r_ivy-loader* & r_library-loader* & r_osgi-loader* & r_simple-loader* & r_servlet-hack? & r_tree-loader*}r_class-loader-Group = r_class-loader?r_compiling-loader = element compiling-loader { r_path & (attribute args { string } | element args { r_string-Group })* & (attribute batch { string } | element batch { r_string-Group })? & (attribute encoding { string } | element encoding { r_string-Group })? & (attribute require-source { r_boolean-Type } | element require-source { r_boolean-Type })? & (attribute source { r_path-Type } | element source { r_path-Type })? & (attribute source-extension { string } | element source-extension { r_string-Group })? & (attribute compiler { string } | element compiler { r_string-Group })?}## webbeans componentr_component = element component { r_bean-Content & (attribute producer { string } | element producer { string })?}## Configures the database connection for the database poolr_connection-Database = element connection { (attribute catalog { string } | element catalog { r_string-Group })? & (attribute read-only { r_boolean-Type } | element read-only { r_boolean-Type })? & (attribute transaction-isolation { string } | element transaction-isolation { r_string-Group })?}r_connection-factory = element connection-factory { r_bean-Content & (attribute local-transaction-optimization { r_boolean-Type } | element local-transaction-optimization { r_boolean-Type })? & (attribute max-active-time { r_period-Type } | element max-active-time { r_period-Type })? & (attribute max-connections { r_int-Type } | element max-connections { r_int-Type })? & (attribute resource-adapter { string } | element resource-adapter { string | r_bean-Content })? & (attribute shareable { r_boolean-Type } | element shareable { r_boolean-Type })?}## Configures a JCA connector, either from a .rar file or directr_connector = element connector { (r_type | r_class | r_uri) & r_init? & r_name? & r_resource-adapter? & r_connection-factory* & r_connector-message-listener* & r_connector-resource*}r_connector-message-listener = element message-listener { r_type? & r_init? & r_endpoint-factory}r_connector-resource = element resource|bean { r_jndi-name? & r_name? & (r_type|r_class)? & r_init?}r_ejb-message-bean = element ejb-message-bean { r_bean-Content & (r_activation-spec? | ((attribute destination { string } | element destination { string })? & (attribute destination-type { string } | element destination-type { string })? & (attribute destination-name { string } | element destination-name { string })? & (attribute destination-binding { string } | element destination-binding { string })* & (attribute message-consumer-max { r_int-Type } | element message-consumer-max { r_int-Type })? ) )}r_ejb-stateless-bean = element ejb-stateless-bean { r_bean-Content}r_ejb-stateful-bean = element ejb-stateful-bean { r_bean-Content}## Configures a JDBC database pool in the current environmentr_database = element database { r_connection-Database? & r_driver+ & r_database-Content & r_jndi-name? & r_name? & (attribute password { string } | element password { r_string-Group })? & (attribute ping-table { string } | element ping-table { r_string-Group })? & (attribute ping-query { string } | element ping-query { r_string-Group })? & (attribute user { string } | element user { r_string-Group })?}r_database-default = element database-default { r_database-Content}r_database-Content = (attribute close-dangling-connections { r_boolean-Type } | element close-dangling-connections { r_boolean-Type })? & (attribute connection-wait-time { r_period } | element connection-wait-time { r_period })? & (attribute max-active-time { r_period } | element max-active-time { r_period })? & (attribute max-close-statements { r_int } | element max-close-statement { r_int })? & (attribute max-connections { r_int } | element max-connections { r_int })? & (attribute max-create-connections { r_int } | element max-create-connections { r_int })? & (attribute max-idle-count { r_int } | element max-idle-count { r_int })? & (attribute max-idle-time { r_period } | element max-idle-time { r_period })? & (attribute max-overflow-connections { r_int } | element max-overflow-connections { r_int })? & (attribute max-pool-time { r_period } | element max-pool-time { r_period })? & (attribute ping { r_boolean-Type } | element ping { r_boolean-Type })? & (attribute ping-interval { r_period } | element ping-interval { r_period })? & (attribute prepared-statement-cache-size { r_int } | element prepared-statement-cache-size { r_int })? & (attribute save-allocation-stack-trace { r_boolean-Type } | element save-allocation-stack-trace { r_boolean-Type })? & (attribute spy { r_boolean-Type } | element spy { r_boolean-Type })? & (attribute transaction-timeout { r_period } | element transaction-timeout { r_period })? & (attribute xa { r_boolean-Type } | element xa { r_boolean-Type })? & (attribute xa-forbid-same-rm { r_boolean-Type } | element xa-forbid-same-rm { r_boolean-Type })? & (attribute wrap-statements { r_boolean-Type } | element wrap-statements { r_boolean-Type })?r_data-source = attribute data-source { string } | element data-source { r_string-Group }r_dependency = element dependency { (attribute path { string } | element path { r_string-Group })}## How often classes and files are checked for automatic reloadsr_dependency-check-interval = attribute dependency-check-interval { r_period } | element dependency-check-interval { r_period }## Configures the database driver for the database poolr_driver = element (driver|backup-driver) { ((r_class | r_type)? & r_url? & r_any-Group?) | r_data-source}r_endpoint-factory = element endpoint-factory { r_type, r_init?}rcore_env-Args = r_class-loader?r_ejb-server = element ejb-server { (attribute auto-compile { r_boolean-Type } | element auto-compile { r_boolean-Type })? & (attribute create-database-schema { r_boolean-Type } | element create-database-schema { r_boolean-Type })? & (attribute cache-size { r_int } | element cache-size { r_int })? & (attribute cache-timeout { r_period } | element cache-timeout { r_period })? & (attribute data-source { r_jndi } | element data-source { r_jndi })? & (attribute config-directory { r_path-Type } | element config-directory { r_path-Type })? & (attribute ejb-descriptor { string } | element ejb-descriptor { r_string-Group })? & (attribute ejb-jar { r_path-Type } | element ejb-jar { r_path-Type })* & (attribute entity-manager-jndi-name { string } | element entity-manager-jndi-name { string })? & (attribute forbid-jvm-call { r_boolean-Type } | element forbid-jvm-call { r_boolean-Type })? & (attribute jdbc-isolation { string } | element jdbc-isolation { r_string-Group })? & (attribute jndi-local-prefix { string } | element jndi-local-prefix { r_string-Group })? & (attribute jndi-prefix { string } | element jndi-prefix { r_string-Group })? & (attribute jndi-name { string } | element jndi-name { r_string-Group })? & (attribute jndi-remote-prefix { string } | element jndi-remote-prefix { r_string-Group })? & (attribute load-lazy-on-transaction { r_boolean-Type } | element load-lazy-on-transaction { r_boolean-Type })? & (attribute message-consumer-max { r_int-Type } | element message-consumer-max { r_int-Type })? & (attribute read-data-source { r_jndi } | element read-data-source { r_jndi })? & (attribute resin-isolation { string } | element resin-isolation { r_string-Group })? & (attribute startup-mode { string } | element startup-mode { r_string-Group })? & (attribute transaction-timeout { r_period } | element transaction-timeout { r_period })? & (attribute validate-database-schema { r_boolean-Type } | element validate-database-schema { r_boolean-Type })? & (attribute jms-connection-factory { string } | element jms-connection-factory { r_string-Group })? & (attribute xa-data-source { r_jndi } | element xa-data-source { r_jndi })? & r_ejb_bean*}## experimental for EJB 3.0r_ejb_bean = element bean { (attribute name { string } | element name { r_string-Group })? & (attribute type { string } | element type { r_string-Group }) & r_init*}r_encoding = attribute encoding { string } | element encoding { r_string-Group }r_enhancer = element enhancer { r_class-for-Enhancer* & r_method-for-Enhancer*}r_method-for-Enhancer = element method { (attribute annotation { r_class-Type } | element annotation { r_class-Type }) & r_type & (attribute static { r_boolean-Type } | element static { r_boolean-Type })? & r_init?}r_class-for-Enhancer = element class { (attribute annotation { r_class-Type } | element annotation { r_class-Type })? & r_type & (attribute static { r_boolean-Type } | element static { r_boolean-Type })? & r_init?}r_dir = attribute dir { r_path-Type } | element dir { r_path-Type }r_enhancing-loader = element enhancing-loader { r_path & r_enhancer*}r_expand-cleanup-fileset = element expand-cleanup-fileset { r_fileset-exclude* & r_fileset-include*}r_expand-directory = attribute expand-directory { string } | element expand-directory { r_string-Group }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?