[jboss-cvs] JBossAS SVN: r86245 - projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Mar 23 23:06:44 EDT 2009


Author: xhuang at jboss.com
Date: 2009-03-23 23:06:43 -0400 (Mon, 23 Mar 2009)
New Revision: 86245

Modified:
   projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/J2EE_Connectors_On_JBOSS.po
Log:
update

Modified: projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/J2EE_Connectors_On_JBOSS.po
===================================================================
--- projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/J2EE_Connectors_On_JBOSS.po	2009-03-24 02:14:53 UTC (rev 86244)
+++ projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/J2EE_Connectors_On_JBOSS.po	2009-03-24 03:06:43 UTC (rev 86245)
@@ -9,8 +9,8 @@
 "Project-Id-Version: J2EE_Connectors_On_JBOSS\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2009-01-20 02:37+0000\n"
-"PO-Revision-Date: 2009-03-23 18:01+1000\n"
-"Last-Translator: Xi HUANG\n"
+"PO-Revision-Date: 2009-03-24 13:06+1000\n"
+"Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
 "Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -517,6 +517,9 @@
 "configurable attributes of the <literal>JBossManagedConnectionPool</literal> "
 "are:"
 msgstr ""
+" <literal>org.jboss.resource.connectionmanager."
+"JBossManagedConnectionPool</literal> MBean 是一个连接池 MBean。它通常用作<literal>BaseConnectionManager2</literal><literal>ManagedConnectionPool</"
+"literal> 属性的内嵌 MBean 值。当你设立一个连接管理者 MBean 时,你通常在其描述符里嵌入连接池的配置。<literal>JBossManagedConnectionPool</literal> 的可配置属性为:"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:159
@@ -530,6 +533,8 @@
 "MBean. The MBean must provide an appropriate "
 "<literal>startManagedConnectionFactory</literal> operation."
 msgstr ""
+"<emphasis role=\"bold\">ManagedConnectionFactoryName</emphasis>:它指定创建 <literal>javax.resource.spi.ManagedConnectionFactory</literal> 实例的 MBean 的 <literal>ObjectName</literal>。通常它被配置为有依赖关系的元素里的内嵌 MBean,而不是使用 <literal>RARDeployment</literal> "
+"MBean 的独立的 MBean 引用。这个 MBean 必须提供一个合适的 <literal>startManagedConnectionFactory</literal> 操作。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:164
@@ -539,18 +544,16 @@
 "minimum number of connections this pool should hold. These are not created "
 "until a <literal>Subject</literal> is known from a request for a connection. "
 "<literal>MinSize</literal> connections will be created for each sub-pool."
-msgstr ""
+msgstr "<emphasis role=\"bold\">MinSize</emphasis>:这个属性指定这个池应该保持的连接的最小数目。这些连接直到获知请求连接的 <literal>Subject</literal> 时才被创建。对于每个子连接池,<literal>MinSize</literal> 个连接将被创建。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:169
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">MaxSize</emphasis>: This attribute indicates the "
 "maximum number of connections for a pool. No more than MaxSize connections "
 "will be created in each sub-pool."
-msgstr ""
-"<emphasis role=\"bold\">timeout</emphasis> 指定对 are-you-alive 信息的应答的"
-"最长等待时间(毫秒数)。"
+msgstr "<emphasis role=\"bold\">MaxSize</emphasis>:这个属性指定连接池的最大连接数。对于每个子连接池,最多 <literal>MaxSize</literal> 个连接将被创建。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:174
@@ -561,7 +564,7 @@
 "throwing an exception. Note that this blocks only while waiting for a permit "
 "for a connection, and will never throw an exception if creating a new "
 "connection takes an inordinately long time."
-msgstr ""
+msgstr "<emphasis role=\"bold\">BlockingTimeoutMillis</emphasis>:这个属性指出等待连接时抛出异常前阻塞的最长时间。请注意,它只在等待获取连接许可时才阻塞,创建连接时无论花费多长时间都不会抛出异常。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:179
@@ -571,7 +574,7 @@
 "indicates the maximum time a connection may be idle before being closed. The "
 "actual maximum time depends also on the idle remover thread scan time, which "
 "is 1/2 the smallest idle timeout of any pool."
-msgstr ""
+msgstr "<emphasis role=\"bold\">IdleTimeoutMinutes</emphasis>:这个属性指定连接被关闭前可处于空闲状态的最长时间。实际的最长时间也取决于 idle remover 线程的扫描时间,它是所有连接池的最短空闲超时时间的二分之一。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:184
@@ -586,6 +589,8 @@
 "(and possibly other vendors) XA implementations that don&#39;t like using an "
 "XA connection with and without a JTA transaction."
 msgstr ""
+"<emphasis role=\"bold\">NoTxSeparatePools</emphasis>:设置为 true 将可用的连接池加倍。一个连接池用于事务外部使用的连接,而另外一个则用于事务内部。当设置和 <literal>LocalTxConnectionManager</literal> "
+"以及 <literal>XATxConnectionManager</literal> 相关联的连接池参数时它才意义。它可用于不喜欢和 JTA 事务一起使用 XA 连接的 Oracle(也可以用于其他厂商)XA 实现。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:189
@@ -596,45 +601,45 @@
 "associated with the connection, or app supplied parameters (such as from "
 "<literal>getConnection(user, pw)</literal>) are used to distinguish "
 "connections in the pool. The allowed values are:"
-msgstr ""
+msgstr "<emphasis role=\"bold\">Criteria</emphasis>:这个属性指定是否使用和该连接相关联的安全域里的 JAAS <literal>javax.security.auth.Subject</literal>、或是应用程序提供的参数(如 <literal>getConnection(user, pw)</literal>)来区分连接池里的连接。被允许的值有:"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:194
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">ByContainer</emphasis>: use <literal>Subject</"
 "literal>"
 msgstr ""
-"<emphasis role=\"bold\">file:/var/opt/myapp.ear</emphasis>从本地位置部署"
-"<literal>myapp.ear</literal>"
+"<emphasis role=\"bold\">ByContainer</emphasis>::使用 <literal>Subject</"
+"literal>"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:199
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">ByApplication</emphasis>: use application supplied "
 "parameters only"
-msgstr "<emphasis role=\"bold\">description</emphasis>:参数的可选描述。"
+msgstr "<emphasis role=\"bold\">ByApplication</emphasis>:只使用应用程序提供的参数"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:204
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "<emphasis role=\"bold\">ByContainerAndApplication</emphasis>: use both"
-msgstr "<emphasis role=\"bold\">jboss-aop.deployer</emphasis>,"
+msgstr "<emphasis role=\"bold\">ByContainerAndApplication</emphasis>:两者都用"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:209
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">ByNothing</emphasis>: all connections are "
 "equivalent, usually if adapter supports reauthentication"
-msgstr "<emphasis role=\"bold\">name</emphasis>:这个元素包含通知类的类全名。"
+msgstr "<emphasis role=\"bold\">ByNothing</emphasis>:所有的连接都是相等的,通常用于适配器支持重授权的情况。"
 
 #. Tag: title
 #: J2EE_Connectors_On_JBOSS.xml:219
 #, no-c-format
 msgid "CachedConnectionManager MBean"
-msgstr ""
+msgstr "CachedConnectionManager MBean"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:220
@@ -651,6 +656,10 @@
 "<literal>BaseConnectionManager2</literal> instances. The configurable "
 "attributes of the <literal>CachedConnectionManager</literal> MBean are:"
 msgstr ""
+"<literal>org.jboss.resource.connectionmanager.CachedConnectionManager</"
+"literal> MBean 管理 meta-aware 对象(通过拦截器链访问)和连接句柄之间的关联,以及用户使用和连接句柄之间的关联。通常,这样的 MBean 应该只有一个,它在核心的 <literal>jboss-service."
+"xml</literal> 描述符里配置。<literal>CachedConnectionInterceptor</literal>、JTA "
+"<literal>UserTransaction</literal> 实现和所有的 <literal>BaseConnectionManager2</literal> 实例都使用它。<literal>CachedConnectionManager</literal> MBean 的可配置属性为:"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:225
@@ -660,7 +669,7 @@
 "attribute for spec compliant non-shareable connections reconnect processing. "
 "This allows a connection to be opened in one call and used in another. Note "
 "that specifying this behavior disables connection close processing."
-msgstr ""
+msgstr "<emphasis role=\"bold\">SpecCompliant</emphasis>:设置这个布尔值属性可启用非共享的重连接处理。这允许连接在一个调用里打开而在另外一个调用里关闭。请注意,指定这个行为会禁用连接关闭的处理。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:230
@@ -672,7 +681,7 @@
 "the transaction ends without the connection being closed, an error is "
 "reported and JBoss closes the connection. This is a development feature that "
 "should be turned off in production for optimal performance."
-msgstr ""
+msgstr "<emphasis role=\"bold\">Debug</emphasis>:设置这个布尔值可启用连接关闭的处理。在 EJB 方法调用结束时,未关闭的连接将和事务同步。如果事务结束而未关闭连接,JBoss 将报告一个错误并关闭连接。这是一个开发阶段的功能,出于性能的考虑,在产品环境里将被关闭。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:235
@@ -683,13 +692,13 @@
 "transaction manager service. Connection close processing is now synchronized "
 "with the transaction manager and this attribute specifies the transaction "
 "manager to use."
-msgstr ""
+msgstr "<emphasis role=\"bold\">TransactionManagerServiceName</emphasis>:这个属性指定 JTA 管理者服务的 JMX <literal>ObjectName</literal>。连接关闭的处理和事务管理者同步,这个属性指定所使用的事务管理者。"
 
 #. Tag: title
 #: J2EE_Connectors_On_JBOSS.xml:243
 #, no-c-format
 msgid "A Sample Skeleton JCA Resource Adaptor"
-msgstr ""
+msgstr "JCA 资源适配器的示例"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:244
@@ -703,7 +712,7 @@
 "specification. The purpose of the adaptor is to demonstrate the steps "
 "required to create and deploy a RAR in JBoss, and to see how JBoss interacts "
 "with the adaptor."
-msgstr ""
+msgstr "作为对 JBoss JCA 框架的讨论的结束,我们将创建并部署一个非事务的资源适配器,它提供了一个完成所有接口并登记所有方法调用的简单的框架实现。我们不会讨论资源适配器提供者的需求细节,这些在 JCA 规格里有详细介绍。这个适配器的目的是演示在 JBoss 里创建和部署 RAR 的所需步骤,并查看 JBoss 和它和交互情况。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:247
@@ -718,12 +727,15 @@
 "\"A_Sample_Skeleton_JCA_Resource_Adaptor-The_file_system_RAR_class_diagram\"/"
 ">."
 msgstr ""
+"我们将创建的这个适配器可用作非事务性的文件系统适配器的起点。在本书的 <literal>src/main/org/jboss/book/jca/ex1</literal> 目录下你可以找到源代码。<xref linkend="
+"\"A_Sample_Skeleton_JCA_Resource_Adaptor-The_file_system_RAR_class_diagram\"/"
+"> 里给出了显示 <literal>javax.resource.spi</literal> 接口和资源适配器实现的映射尬关系的类图。"
 
 #. Tag: title
 #: J2EE_Connectors_On_JBOSS.xml:251
 #, no-c-format
 msgid "The file system RAR class diagram"
-msgstr ""
+msgstr "文件系统 RAR 的类图"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:258
@@ -735,7 +747,7 @@
 "JBoss server log to see how the JBoss JCA framework interacts with the "
 "resource adaptor to help you better understand the components in the JCA "
 "system level contract."
-msgstr ""
+msgstr "我们将构建这个适配器,把它部署到 JBoss 服务器并运行针对使用该适配器的 EJB 的客户端例程来演示完整情景下的基本步骤。我们将打开 JBoss 服务器的日志,查看 JBoss JCA 框架是如何和这个资源适配器交互的,从而帮助你更好地理解 JCA 系统级合约里的组件。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:261
@@ -745,12 +757,14 @@
 "lib</literal> directory, execute the following Ant command in the book "
 "examples directory."
 msgstr ""
+"要构建并部署这个 RAR 到 JBoss 服务器的 <literal>deploy/"
+"lib</literal> 目录下,请在 examples 目录下执行下列的 Ant 命令。"
 
 #. Tag: programlisting
 #: J2EE_Connectors_On_JBOSS.xml:264
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "[examples]$ ant -Dchap=jca build-chap"
-msgstr "[examples]$ ant -Dchap=chap2 -Dex=3 run-example"
+msgstr "[examples]$ ant -Dchap=jca build-chap"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:265
@@ -762,12 +776,16 @@
 "\"A_Sample_Skeleton_JCA_Resource_Adaptor-"
 "The_nontransactional_file_system_resource_adaptor_deployment_descriptor.\"/>."
 msgstr ""
+"部署的文件包括 <literal>jca-ex1.sar</literal> 和一个 "
+"<literal>notxfs-service.xml</literal> 服务描述符文件。<xref linkend="
+"\"A_Sample_Skeleton_JCA_Resource_Adaptor-"
+"The_nontransactional_file_system_resource_adaptor_deployment_descriptor.\"/> 里显示了这个示例资源适配器的部署描述符。"
 
 #. Tag: title
 #: J2EE_Connectors_On_JBOSS.xml:268
 #, no-c-format
 msgid "The nontransactional file system resource adaptor deployment descriptor."
-msgstr ""
+msgstr "非事务性的文件系统资源适配器的部署描述符。"
 
 #. Tag: programlisting
 #: J2EE_Connectors_On_JBOSS.xml:269
@@ -851,6 +869,83 @@
 "    &lt;/resourceadapter&gt;\n"
 "&lt;/connector&gt;"
 msgstr ""
+"&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n"
+"&lt;connector xmlns=\"http://java.sun.com/xml/ns/\"Whats_new_in_JBoss_4-"
+"J2EE_Certification_and_Standards_Compliance\"\n"
+"    xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
+"    xsi:schemaLocation=\"http://java.sun.com/xml/ns/j2ee \n"
+"                        http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd\" "
+"version=\"1.5\"&gt;\n"
+"    &lt;display-name&gt;File System Adapter&lt;/display-name&gt;\n"
+"    &lt;vendor-name&gt;JBoss&lt;/vendor-name&gt;\n"
+"    &lt;eis-type&gt;FileSystem&lt;/eis-type&gt;\n"
+"    &lt;resourceadapter-version&gt;1.0&lt;/resourceadapter-version&gt;\n"
+"    &lt;license&gt;\n"
+"        &lt;description&gt;LGPL&lt;/description&gt;\n"
+"        &lt;license-required&gt;false&lt;/license-required&gt;\n"
+"    &lt;/license&gt;\n"
+"    &lt;resourceadapter&gt;\n"
+"        &lt;resourceadapter-class&gt;\n"
+"            org.jboss.resource.deployment.DummyResourceAdapter\n"
+"        &lt;/resourceadapter-class&gt;\n"
+"        &lt;outbound-resourceadapter&gt;\n"
+"            &lt;connection-definition&gt;\n"
+"                <emphasis role=\"bold\">&lt;managedconnectionfactory-"
+"class&gt; org.jboss.book.jca.ex1.ra.FSManagedConnectionFactory &lt;/"
+"managedconnectionfactory-class&gt;</emphasis>\n"
+"                &lt;config-property&gt;\n"
+"                    &lt;config-property-name&gt;FileSystemRootDir&lt;/config-"
+"property-name&gt;\n"
+"                    &lt;config-property-type&gt;java.lang.String&lt;/config-"
+"property-type&gt;\n"
+"                    &lt;config-property-value&gt;/tmp/db/fs_store&lt;/config-"
+"property-value&gt;\n"
+"                &lt;/config-property&gt;\n"
+"                &lt;config-property&gt;\n"
+"                    &lt;config-property-name&gt;UserName&lt;/config-property-"
+"name&gt;\n"
+"                    &lt;config-property-type&gt;java.lang.String&lt;/config-"
+"property-type&gt;\n"
+"                    &lt;config-property-value/&gt;\n"
+"                &lt;/config-property&gt;\n"
+"                &lt;config-property&gt;\n"
+"                    &lt;config-property-name&gt;Password&lt;/config-property-"
+"name&gt;\n"
+"                    &lt;config-property-type&gt;java.lang.String&lt;/config-"
+"property-type&gt;\n"
+"                    &lt;config-property-value/&gt;\n"
+"                &lt;/config-property&gt;\n"
+"                <emphasis role=\"bold\">&lt;connectionfactory-interface&gt; "
+"org.jboss.book.jca.ex1.ra.DirContextFactory &lt;/connectionfactory-"
+"interface&gt; &lt;connectionfactory-impl-class&gt; org.jboss.book.jca.ex1.ra."
+"DirContextFactoryImpl &lt;/connectionfactory-impl-class&gt; &lt;connection-"
+"interface&gt; javax.naming.directory.DirContext &lt;/connection-"
+"interface&gt; &lt;connection-impl-class&gt; org.jboss.book.jca.ex1.ra."
+"FSDirContext &lt;/connection-impl-class&gt;</emphasis>\n"
+"            &lt;/connection-definition&gt;\n"
+"            &lt;transaction-support&gt;NoTransaction&lt;/transaction-"
+"support&gt;\n"
+"            &lt;authentication-mechanism&gt;\n"
+"                &lt;authentication-mechanism-type&gt;BasicPassword&lt;/"
+"authentication-mechanism-type&gt;\n"
+"                &lt;credential-interface&gt;\n"
+"                    javax.resource.spi.security.PasswordCredential\n"
+"                &lt;/credential-interface&gt;\n"
+"            &lt;/authentication-mechanism&gt;\n"
+"            <emphasis role=\"bold\">&lt;reauthentication-support&gt;true&lt;/"
+"reauthentication-support&gt;</emphasis>\n"
+"        &lt;/outbound-resourceadapter&gt;\n"
+"        &lt;security-permission&gt;\n"
+"            &lt;description&gt; Read/Write access is required to the "
+"contents of the\n"
+"                FileSystemRootDir &lt;/description&gt;\n"
+"            &lt;security-permission-spec&gt; permission java.io."
+"FilePermission\n"
+"                \"/tmp/db/fs_store/*\", \"read,write\"; \n"
+"            &lt;/security-permission-spec&gt;\n"
+"        &lt;/security-permission&gt;\n"
+"    &lt;/resourceadapter&gt;\n"
+"&lt;/connector&gt;"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:270
@@ -859,19 +954,16 @@
 "The key items in the resource adaptor deployment descriptor are highlighted "
 "in bold. These define the classes of the resource adaptor, and the elements "
 "are:"
-msgstr ""
+msgstr "这个描述符里的关键要素以黑体高亮显示。它们定义了资源适配器的类以及元素:"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:275
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">managedconnectionfactory-class</emphasis>: The "
 "implementation of the <literal>ManagedConnectionFactory</literal> interface, "
 "<literal>org.jboss.book.jca.ex1.ra.FSManagedConnectionFactory</literal>"
-msgstr ""
-"<emphasis role=\"bold\">java.naming.factory.initial</emphasis>:指定初始上下"
-"文工厂(initial context factory)的环境属性名,它必须是 <literal>org.jboss."
-"naming.HttpNamingContextFactory</literal>。"
+msgstr "<emphasis role=\"bold\">managedconnectionfactory-class</emphasis>:<literal>ManagedConnectionFactory</literal>、<literal>org.jboss.book.jca.ex1.ra.FSManagedConnectionFactory</literal> 接口的实现 "
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:280
@@ -883,6 +975,8 @@
 "jboss.book.jca.ex1.ra.DirContextFactory</literal>. This value will be needed "
 "when we create the JBoss <literal>ds.xml</literal> to use the resource."
 msgstr ""
+"<emphasis role=\"bold\">connectionfactory-interface</emphasis>:这是客户端在 JNDI 里查找连接工厂实例时将获得的接口,在这里是 <literal>org."
+"jboss.book.jca.ex1.ra.DirContextFactory</literal>。当我们创建 JBoss <literal>ds.xml</literal> 时将需要这个值。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:285
@@ -1196,7 +1290,7 @@
 "A sequence diagram illustrating the key interactions between the JBossCX "
 "framework and the example resource adaptor that result when the EchoBean "
 "accesses the resource adaptor connection factory."
-msgstr ""
+msgstr "解释当 EchoBean 访问资源适配器连接工厂时 JBossCX 框架和示例资源适配器之间的关键交互的序列图。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:365
@@ -1210,6 +1304,8 @@
 "adaptor; the lookup of the connection factory, the creation of a connection, "
 "and the close of the connection."
 msgstr ""
+"起点是客户端对 <literal>EchoBean."
+"echo</literal> 方法的调用。为了图表的简明,这里显示了客户端直接调用 EchoBean.echo 方法,而事实上是 JBoss EJB 容器处理这个调用。<literal>EchoBean</literal> 和资源适配器之间有三种不同的交互:查找连接工厂、创建连接和关闭连接。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:368
@@ -1217,7 +1313,7 @@
 msgid ""
 "The lookup of the resource adaptor connection factory is illustrated by the "
 "1.1 sequences of events. The events are:"
-msgstr ""
+msgstr "事件序列 1.1 演示了对资源适配器连接工厂的查找。这些事件有:"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:373
@@ -1227,7 +1323,7 @@
 "the resource adaptor connection factory obtained from the JNDI lookup on the "
 "<literal>java:comp/env/ra/DirContextFactory</literal> name which is a link "
 "to the <literal>java:/NoTransFS</literal> location."
-msgstr ""
+msgstr "1、echo 方法调用资源适配器连接工厂的 <literal>getConnection</literal> 方法,这个工厂是从 <literal>java:comp/env/ra/DirContextFactory</literal> 获得的,它是到 <literal>java:/NoTransFS</literal> 位置的链接。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:378
@@ -1239,6 +1335,9 @@
 "literal> that were associated with the <literal>DirContextFactoryImpl</"
 "literal> during its construction."
 msgstr ""
+"1.1、<literal>DirContextFactoryImpl</literal> 类请求其相关联的 <literal>ConnectionManager</literal> 来分配一个连接。它传入在构建过程中和<literal>DirContextFactoryImpl</"
+"literal> 相关联的 <literal>ManagedConnectionFactory</literal> 和 <literal>FSRequestInfo</"
+"literal>。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:383
@@ -1247,7 +1346,7 @@
 "1.1.1, the <literal>ConnectionManager</literal> invokes its "
 "<literal>getManagedConnection</literal> method with the current "
 "<literal>Subject</literal> and <literal>FSRequestInfo</literal>."
-msgstr ""
+msgstr "1.1.1、<literal>ConnectionManager</literal> 用当前的 <literal>Subject</literal> 和 <literal>FSRequestInfo</literal> 调用其 <literal>getManagedConnection</literal> 方法。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:388
@@ -1258,6 +1357,8 @@
 "literal> is get the key for the connection and then asks the matching "
 "<literal>InternalPool</literal> for a connection."
 msgstr ""
+"1.1.1.1、<literal>ConnectionManager</literal> 请求对象池来获得连接对象。<literal>JBossManagedConnectionPool$BasePool</"
+"literal> 获得连接的键值并向 <literal>InternalPool</literal> 请求连接。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:393
@@ -1270,6 +1371,8 @@
 "data are passed as arguments to the <literal>createManagedConnection</"
 "literal> method invocation."
 msgstr ""
+"1.1.1.1.1、既然没有创建任何连接,连接池必须创建一个新的连接。这是通过向 <literal>ManagedConnectionFactory</literal> 请求一个新的受管连接来完成的。和连接池关联的 <literal>Subject</literal> 以及 <literal>FSRequestInfo</literal> 数据作为参数被传递给 <literal>createManagedConnection</"
+"literal> 方法调用。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:398
@@ -1278,7 +1381,7 @@
 "1.1.1.1.1.1, the <literal>ConnectionFactory</literal> creates a new "
 "<literal>FSManagedConnection</literal> instance and passes in the "
 "<literal>Subject</literal> and <literal>FSRequestInfo</literal> data."
-msgstr ""
+msgstr "1.1.1.1.1.1、<literal>ConnectionFactory</literal> 创建一个新的 <literal>FSManagedConnection</literal> 实例并传入 <literal>Subject</literal> 和 <literal>FSRequestInfo</literal> 数据。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:403
@@ -1290,6 +1393,9 @@
 "jboss.resource.connectionmgr.BaseConnectionManager2$NoTransactionListener</"
 "literal> instance."
 msgstr ""
+"1.1.1.2、<literal>javax.resource.spi.ConnectionListener</literal> 实例被创建。被创建的 listener 的类型基于 <literal>ConnectionManager</literal> 的类型。这里是一个 <literal>org."
+"jboss.resource.connectionmgr.BaseConnectionManager2$NoTransactionListener</"
+"literal> 实例。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:408
@@ -1299,6 +1405,9 @@
 "ConnectionEventListener</literal> with the <literal>ManagedConnection</"
 "literal> instance created in 1.2.1.1."
 msgstr ""
+"1.1.1.2.1、这个 listener 注册为带有 1.2.1.1 步骤里创建的 <literal>ManagedConnection</"
+"literal> 实例的 <literal>javax.resource.spi."
+"ConnectionEventListener</literal>。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:413
@@ -1309,6 +1418,8 @@
 "<literal>FSRequestInfo</literal> data are passed as arguments to the "
 "<literal>getConnection</literal> method invocation."
 msgstr ""
+"1.1.2、向 <literal>ManagedConnection</literal> 请求底层的资源管理者连接。<literal>Subject</literal> 和 "
+"<literal>FSRequestInfo</literal> 数据作为参数传递给 <literal>getConnection</literal> 方法调用。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:418
@@ -1318,6 +1429,8 @@
 "DirContext</literal> instance since this is the public interface defined by "
 "the resource adaptor."
 msgstr ""
+"返回的连接对象是资源适配器定义的公用接口,它被转换为 <literal>javax.naming.directory."
+"DirContext</literal> 实例。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:423
@@ -1327,6 +1440,8 @@
 "literal> for the resource adaptor, it simply closes the connection to "
 "indicate its interaction with the resource manager is complete."
 msgstr ""
+"在 <literal>EchoBean</literal> 已经获取资源适配器的 <literal>DirContext</"
+"literal> 后,它简单地关闭连接来表示和资源管理者的交互已经完成。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:428
@@ -1338,7 +1453,7 @@
 "resource adaptor. The example adaptor can also serve as a starting point for "
 "the creation of your own custom resource adaptors if you need to integrate "
 "non-JDBC resources into the JBoss server environment."
-msgstr ""
+msgstr "这就是资源适配器示例了。我们对 JBossCX 层和临时的资源适配器之间的交互的研究应该使你对配置任何资源适配器所需的步骤有了足够的了解。如果你需要把非 JDBC 资源集成到 JBoss 服务器环境里,这个示例适配器也可以作为创建自定义的资源适配器的起点。"
 
 #. Tag: title
 #: J2EE_Connectors_On_JBOSS.xml:436
@@ -1360,7 +1475,7 @@
 "descriptor is deployed the same as other deployable components. The "
 "descriptor must be named using a <literal>*-ds.xml</literal> pattern in "
 "order to be recognized by the <literal>XSLSubDeployer</literal>."
-msgstr ""
+msgstr "除了通过 MBean 服务部署描述符来配置前面章节所讨论的和连接管理者工厂相关的 MBean,JBoss 也提供了一个简化的中央描述符。使用 <literal>jboss-jca.sar</literal> 里包括的 <literal>org.jboss.deployment.XSLSubDeployer</literal> 所应用的 XSL 转换器,它可以转换为标准的 <literal>jboss-service.xml</literal> MBean 服务部署描述符。简化的配置描述符将和其他可部署组件一样地进行部署。这个描述符必须以 <literal>*-ds.xml</literal> 的形式命名才能被 <literal>XSLSubDeployer</literal> 识别。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:440
@@ -1372,6 +1487,11 @@
 "The_simplified_JCA_DataSource_configuration_descriptor_top_level_schema_elements"
 "\"/>."
 msgstr ""
+"<xref linkend="
+"\"Configuring_JDBC_DataSources-"
+"The_simplified_JCA_DataSource_configuration_descriptor_top_level_schema_elements"
+"\"/> 显示了 <literal>*-ds.xml</"
+"literal> 配置部署文件的顶层 datasource 元素。"
 
 #. Tag: title
 #: J2EE_Connectors_On_JBOSS.xml:444
@@ -1403,7 +1523,6 @@
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:461
 #, no-c-format
-#, fuzzy
 msgid ""
 "<emphasis role=\"bold\">no-tx-datasource</emphasis>: This element is used to "
 "specify the (<literal>org.jboss.resource.connectionmanager</literal>) "
@@ -1412,7 +1531,10 @@
 "transaction support. The <literal>no-tx-datasource</literal> child element "
 "schema is given in <xref linkend=\"Configuring_JDBC_DataSources-"
 "The_non_transactional_DataSource_configuration_schema\"/>."
-msgstr "<emphasis role=\"bold\">no-tx-datasource</emphasis>:"
+msgstr ""
+"<emphasis role=\"bold\">no-tx-datasource</emphasis>:这个元素用于指定 (<literal>org.jboss.resource.connectionmanager</literal>) "
+"<literal>NoTxConnectionManager</literal> 服务配置。<literal>NoTxConnectionManager</literal> 是一个不支持事务的 JCA 连接管理者。<xref linkend=\"Configuring_JDBC_DataSources-"
+"The_non_transactional_DataSource_configuration_schema\"/> 给出了 <literal>no-tx-datasource</literal> 子元素的模式。"
 
 #. Tag: para
 #: J2EE_Connectors_On_JBOSS.xml:466




More information about the jboss-cvs-commits mailing list