📄 env-schema.xtp
字号:
<document> <header> <product>resin</product> <title>Resin Environment Relax-NG Schema</title> <version>Resin 3.0</version> <description> <p>The formal definition for the Resin environment configuration.</p> </description> </header> <body> <summary/><s1 title="Relax-NG Schema"><def title="com/caucho/server/resin/env.rnc">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_period-Type = stringr_kbytes-Type = stringr_jndi-Type = stringr_class-Type = stringr_any-Group = text | (attribute * {string} | element * { r_any-Group })*## The basic environment tagsr_env-Basis = r_authenticator* & r_case-insensitive? & r_character-encoding? & r_cluster? & r_cluster-definition* & r_connector* & r_ejb-server* & r_env-entry* & r_database* & r_dependency* & r_dependency-check-interval? & r_grant* & rcore_import* & rcore_include* & r_javac? & r_jndi-link* & r_log* & r_reference* & r_resource* & r_resource-deploy* & r_stderr-log? & r_stdout-log? & r_system-property* & r_temp-dir? & r_work-dir? & rcore_log* & rcore_set* & rcore_include*## The environment, including control structuresr_env-Flow = r_env-Basis & element rcore:env { r_class-loader-Group, 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_authenticator = element authenticator { r_jndi-name?, r_type, r_init?}r_arg = element arg { r_any-Group }r_case-insensitive = attribute case-insensitive { r_boolean-Type } | element case-insensitive { r_boolean-Type }r_character-encoding = attribute character-encoding { string } | element character-encoding { string }r_class = attribute class { string } | element class { string }r_class-loader = element class-loader { r_simple-loader* & r_library-loader* & r_compiling-loader* & r_enhancer* & r_make-loader* & r_servlet-hack? & r_tree-loader*}r_class-loader-Group = r_class-loader?r_cluster = element cluster { r_cluster-ref | (attribute id { string }? & (r_cluster-port* | r_cluster-group*) & r_cluster-store?)}r_cluster-definition = element cluster-definition { attribute id { string }, (r_cluster-port* | r_cluster-group*)}r_cluster-group = element group { r_cluster-port*}r_cluster-ref = (attribute cluster-ref { string } | element cluster-ref { string })r_cluster-store = element cluster-store { r_jndi-name? & ((attribute path { string } | element path { string }) | ((attribute type { string} | element type { string }) & r_init*) ) & (attribute always-load { string } | element always-load { string })? & (attribute always-save { string } | element always-save { string })?}r_cluster-port-Content = (attribute id { string } | attribute server-id { string } | element server-id { string })? & (attribute backup { string } | element backup { string })? & (attribute dead-time { r_period } | element dead-time { r_period })? & (attribute host { string } | element host { string })? & (attribute index { string } | element index { string })? & (attribute live-time { r_period } | element live-time { r_period })? & (r_openssl | r_jsse-ssl)? & (attribute port { string } | element port { string }) & (attribute protocol { string } | element protocol { string })? & (attribute socket-listen-backlog { r_int-Type } | element socket-listen-backlog { r_int-Type })? & (attribute tcp-no-delay { r_boolean-Type } | element tcp-no-delay { r_boolean-Type })? & (attribute timeout { r_period } | element tcp-no-delay { r_period })?r_cluster-port = element port { r_cluster-port-Content } | element srun { r_cluster-port-Content }r_compiling-loader = element compiling-loader { r_path & (attribute args { string } | element args { string })* & (attribute batch { string } | element batch { string })? & (attribute encoding { string } | element encoding { string })? & (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 { string })? & (attribute compiler { string } | element compiler { string })?}r_connection-factory = element connection-factory { r_jndi-name & r_type? & r_init? & (attribute local-transaction-optimization { r_boolean-Type } | element local-transaction-optimization { r_boolean-Type })? & (attribute shareable { r_boolean-Type } | element shareable { r_boolean-Type })?}r_connector = element connector { r_type, 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 { r_jndi-name?, r_type?, r_init?}r_database = element database { r_jndi-name & r_driver+ & (attribute user { string } | element user { string })? & (attribute password { string } | element password { string })? & (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-connections { r_int } | element max-connections { r_int })? & (attribute max-create-connections { r_int } | element max-create-connections { 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-table { string } | element ping-table { string })? & (attribute ping-query { string } | element ping-query { string })? & (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 })?}r_data-source = attribute data-source { string } | element data-source { string }r_dependency = element dependency { (attribute path { string } | element path { string })}r_dependency-check-interval = attribute dependency-check-interval { r_period } | element dependency-check-interval { r_period }r_driver = element (driver|backup-driver) { (r_type, 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 { r_jndi-name? & (attribute auto-compile { r_boolean-Type } | element auto-compile { r_boolean-Type })? & (attribute ejb-descriptor { string } | element ejb-descriptor { string })? & (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 })?
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -