[jboss-cvs] JBossAS SVN: r72000 - projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Apr 11 03:12:17 EDT 2008


Author: xhuang at jboss.com
Date: 2008-04-11 03:12:16 -0400 (Fri, 11 Apr 2008)
New Revision: 72000

Modified:
   projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_EJBs_On_JBOSS.po
Log:
update

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_EJBs_On_JBOSS.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_EJBs_On_JBOSS.po	2008-04-11 06:34:25 UTC (rev 71999)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_EJBs_On_JBOSS.po	2008-04-11 07:12:16 UTC (rev 72000)
@@ -9,7 +9,7 @@
 "Project-Id-Version: J2EE_EJBs_On_JBOSS\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-12-03 00:52+0000\n"
-"PO-Revision-Date: 2008-04-10 13:44+1000\n"
+"PO-Revision-Date: 2008-04-11 14:24+1000\n"
 "Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
 "Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -2884,7 +2884,6 @@
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:760
 #, no-c-format
-#, fuzzy
 msgid ""
 "<emphasis role=\"bold\">resizer-period</emphasis>: specifies the period in "
 "seconds between runs of the resizer task. The purpose of the resizer task is "
@@ -2896,7 +2895,7 @@
 "<literal>cache-load-factor</literal>. If instead the period between cache "
 "misses is greater than the <literal>max-cache-miss-period</literal> value "
 "the cache is contracted using the <literal>cache-load-factor</literal>."
-msgstr "<emphasis role=\"bold\">resizer-period</emphasis>:指定"
+msgstr "<emphasis role=\"bold\">resizer-period</emphasis>:指定运行 resizer 任务的时间间隔。resizer 任务的目的是基于剩下的 3 个元素的值来缩小或扩充缓存能力。当 resizer 任务运行时,它会检查当前缓存丢失的时间间隔,如果这个间隔小于 <literal>min-cache-miss-period</literal> 值,缓存将用 <literal>cache-load-factor</literal> 扩充为 <literal>max-capacity</literal>。而如果缓存丢失的间隔大于 <literal>max-cache-miss-period</literal> 的值,缓存将用 <literal>cache-load-factor</literal> 缩小。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:765
@@ -2906,7 +2905,7 @@
 "period in seconds in which a cache miss should signal that the cache "
 "capacity be contracted. It is equivalent to the minimum miss rate that will "
 "be tolerated before the cache is contracted."
-msgstr ""
+msgstr "<emphasis role=\"bold\">max-cache-miss-period</emphasis>:指定缓存丢失应该指示缩小缓存能力的时间间隔(秒)。它和缓存缩小前能忍受的最小丢失率是相等的。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:770
@@ -2916,7 +2915,7 @@
 "period in seconds in which a cache miss should signal that the cache "
 "capacity be expanded. It is equivalent to the maximum miss rate that will be "
 "tolerated before the cache is expanded."
-msgstr ""
+msgstr "<emphasis role=\"bold\">min-cache-miss-period</emphasis>:指定缓存丢失应该指示扩充缓存能力的时间间隔(秒)。它和缓存扩充前能忍受的最大丢失率是相等的。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:775
@@ -2932,14 +2931,16 @@
 "the number of cache misses. The higher the cache miss rate the closer the "
 "true expansion factor will be to 2."
 msgstr ""
+"<emphasis role=\"bold\">cache-load-factor</emphasis>:指定缓存能力缩小或扩充使用的因子。这个因子应该小于 1。当缓存被缩小时,其缓存能力相应降低,所以当前 bean 和缓存能力的比例等于 cache-load-"
+"factor 的值。当缓存被扩充时,其新的容量由 <literal>current-capacity * 1/cache-load-factor</literal> 决定。根据基于缓存丢失的数量的内部算法,实际的扩充因子可能高达 2。缓存丢失率越高,实际的扩充因子越接近 2。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:780
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "The <literal>LRUStatefulContextCachePolicy</literal> also supports the "
 "remaining child elements:"
-msgstr "<literal>run</literal> 脚本支持下列选项:"
+msgstr "<literal>LRUStatefulContextCachePolicy</literal> 也支持余下的子元素:"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:785
@@ -2951,17 +2952,17 @@
 "life</literal> seconds. This task prevents stateful session beans that were "
 "not removed by users from filling up the passivation store."
 msgstr ""
+"<emphasis role=\"bold\">remover-period</emphasis>:指定运行 remover 任务的时间间隔。remover 任务删除已经超过 <literal>max-bean-"
+"life</literal> 秒没有被访问的钝化的 bean。这个任务阻止用户未删除的 stateful session bean 来填充钝化库(passivation store)。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:790
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">max-bean-life</emphasis>: specifies the maximum "
 "period of inactivity in seconds that a bean can exist before being removed "
 "from the passivation store."
-msgstr ""
-"<emphasis role=\"bold\">timeout</emphasis> 指定对 are-you-alive 信息的应答的"
-"最长等待时间(毫秒数)。"
+msgstr "<emphasis role=\"bold\">max-bean-life</emphasis>:指定 bean 从钝化库里删除前可以保持不活动状态的最长时间(秒)。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:795
@@ -2974,12 +2975,15 @@
 "removed. This class does not support any of the <literal>cache-policy-conf</"
 "literal> configuration elements."
 msgstr ""
+"另外一个缓存策略的实现是 <literal>org.jboss.ejb."
+"plugins.NoPassivationCachePolicy</literal> 类,它从不钝化实例。它使用内存里的一个 <literal>HashMap</literal> 实现,除非被显性地删除,这个实现从不丢弃实例。这个类不支持任何 <literal>cache-policy-conf</"
+"literal> 配置元素。"
 
 #. Tag: title
 #: J2EE_EJBs_On_JBOSS.xml:801
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The persistence-manager element"
-msgstr "Connector 元素"
+msgstr "persistence-manager 元素"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:802
@@ -2995,12 +2999,16 @@
 "must be an implementation of the <literal>org.jboss.ejb."
 "EntityPersistenceStore</literal> interface."
 msgstr ""
+"<literal>persistence-manager</literal> 元素的值指定持久化管理者实现的全限定类名。这个实现的类型依赖于 EJB 的类型。对于 stateful session bean 来说,它必须实现 <literal>org.jboss.ejb."
+"StatefulSessionPersistenceManager</literal> 接口;对于 BMP entity bean 而言,它必须实现 <literal>org.jboss.ejb."
+"EntityPersistenceManager</literal> 接口;而对于 CMP entity bean,它则必须实现 <literal>org.jboss.ejb."
+"EntityPersistenceStore</literal> 接口。"
 
 #. Tag: title
 #: J2EE_EJBs_On_JBOSS.xml:808
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The web-class-loader Element"
-msgstr "Valve 元素"
+msgstr "web-class-loader 元素"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:809
@@ -3016,6 +3024,9 @@
 "to return a different set of URLs for remote loading than what is used for "
 "local loading."
 msgstr ""
+"<literal>web-class-loader</literal> 元素指定 <literal>org.jboss.web.WebClassLoader</literal> 的子类,它和 <literal>WebService</literal> MBean 一起来允许对所部署的 EAR、WAR 里的资源和类进行动态加载。<literal>WebClassLoader</literal> 和 <literal>Container</"
+"literal> 相关联且必须以 <literal>org.jboss.mx.loading.UnifiedClassLoader</"
+"literal> 为父类。对于远程加载,它覆盖用于本地加载的 <literal>getURLs()</literal> 方法来返回不同的 URL 的集合。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:812
@@ -3026,7 +3037,7 @@
 "The latter is a no-op in this implementation and should be overridden by "
 "subclasses with bytecode generation ability, such as the classloader used by "
 "the iiop module."
-msgstr ""
+msgstr "<literal>WebClaossLoader</literal> 有两个应该被覆盖的子类方法:<literal>getKey()</literal> 和 <literal>getBytes()</literal>。后者在本实现是空的且应该被带有字节码生成能力的子类所覆盖,如 iiop 模块使用的类加载器。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:815
@@ -3036,12 +3047,14 @@
 "the same signature as the <literal>WebClassLoader(ObjectName containerName, "
 "UnifiedClassLoader parent)</literal> constructor."
 msgstr ""
+"<literal>WebClassLoader</literal> 子类必须有一个构造函数,且原型和 <literal>WebClassLoader(ObjectName containerName, "
+"UnifiedClassLoader parent)</literal> 构造函数相同。"
 
 #. Tag: title
 #: J2EE_EJBs_On_JBOSS.xml:821
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The locking-policy element"
-msgstr "Engine 元素"
+msgstr "locking-policy 元素"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:822
@@ -3051,11 +3064,12 @@
 "class name of the EJB lock implementation to use. This class must implement "
 "the <literal>org.jboss.ejb.BeanLock</literal> interface. The current JBoss "
 "versions include:"
-msgstr ""
+msgstr "<literal>locking-policy</literal> 元素指定使用的 EJB lock 实现的权限定类名。这个类必须实现 <literal>org.jboss.ejb.BeanLock</literal> 接口。目前的 JBoss 版本包括:"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:827
 #, no-c-format
+#, fuzzy
 msgid ""
 "<emphasis role=\"bold\">org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</"
 "emphasis>: an implementation that holds threads awaiting the transactional "
@@ -3065,6 +3079,8 @@
 "associated with that transaction. The <literal>QueuedPessimisticEJBLock</"
 "literal> is the current default used by the standard configurations."
 msgstr ""
+"<emphasis role=\"bold\">org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</"
+"emphasis>:"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:832
@@ -6139,9 +6155,9 @@
 
 #. Tag: title
 #: J2EE_EJBs_On_JBOSS.xml:1504
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "EJB Timer Configuration"
-msgstr "JGroups Configuration"
+msgstr "EJB 定时器配置"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:1505
@@ -6156,7 +6172,7 @@
 "the programming model. We will, instead, look at the configuration of the "
 "timer service in JBoss so that you can understand how to make timers work "
 "best in your environment"
-msgstr ""
+msgstr "J2EE 定时器访问允许任何 EJB 对象注册一个在指定时间调用的定时回调函数。定时器事件可用于需要在将来某个时间发生的审计、报告或其他清理任务。定时器事件是持久的且在服务器发生故障时都应该被执行。EJB 定时器的编程是标准的 J2EE 规格的一部分,所以我们不会深究其编程模型。相反,我们将讨论 JBoss 里对定时器服务器的配置,这样你就可以理解定时器是如何工作的。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:1508
@@ -6165,7 +6181,7 @@
 "The EJB timer service is configure by several related MBeans in the "
 "<literal>ejb-deployer.xml</literal> file. The primary MBean is the "
 "<literal>EJBTimerService</literal> MBean."
-msgstr ""
+msgstr "EJB 定时器服务通过 <literal>ejb-deployer.xml</literal> 文件里几个相关的 MBean 进行配置。主要的 MBean 是 <literal>EJBTimerService</literal>。"
 
 #. Tag: programlisting
 #: J2EE_EJBs_On_JBOSS.xml:1511
@@ -6197,11 +6213,11 @@
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:1512
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "The <literal>EJBTimerService</literal> has the following configurable "
 "attributes:"
-msgstr "<literal>run</literal> 脚本支持下列选项:"
+msgstr "<literal>EJBTimerService</literal> 具有下面的可配置属性:"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:1517
@@ -6213,6 +6229,8 @@
 "implementation, <literal>FixedDelayRetryPolicy</literal>, which will be "
 "described later."
 msgstr ""
+"<emphasis role=\"bold\">RetryPolicy</emphasis>:这是实现重试策略(retry policy)的 MBean 的名称。这个 MBean 必须支持 <literal>org."
+"jboss.ejb.txtimer.RetryPolicy interface</literal>。JBoss 提供一个实现:<literal>FixedDelayRetryPolicy</literal>,之后我们会进行讨论。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:1522
@@ -6225,10 +6243,12 @@
 "NoopPersistencePolicy and DatabasePersistencePolicy, which will be described "
 "later."
 msgstr ""
+"<emphasis role=\"bold\">PersistencePolicy</emphasis>:这是实现用于定时器事件的持久化策略(persistence strategy)的 MBean 的名称。这个 MBean 必须支持 <literal>org.jboss.ejb.txtimer."
+"PersistencePolicy</literal> 接口。JBoss 提供两个实现:NoopPersistencePolicy 和 DatabasePersistencePolicy,我们将在后面进行讨论。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:1527
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">TimerIdGeneratorClassName</emphasis>: This is the "
 "name of a class that provides the timer ID generator strategy. This class "
@@ -6236,14 +6256,13 @@
 "interface. JBoss provides the <literal>org.jboss.ejb.txtimer."
 "BigIntegerTimerIdGenerator</literal> implementation."
 msgstr ""
-"<emphasis role=\"bold\">className</emphasis>:connector 实现的类全名。这个类"
-"必须实现 <literal>org.apache.catalina.Connector</literal> 接口。缺省的内置服"
-"务是 <literal>org.apache.catalina.connector.http.HttpConnector</literal>,它"
-"是一个 HTTP 连接器的实现。"
+"<emphasis role=\"bold\">TimerIdGeneratorClassName</emphasis>:这是提供定时器 ID 生成器策略的类的名称。这个类必须实现 <literal>org.jboss.ejb.txtimer.TimerIdGenerator</literal> "
+"接口。JBoss 提供的实现是 <literal>org.jboss.ejb.txtimer."
+"BigIntegerTimerIdGenerator</literal>。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:1532
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">TimedObjectInvokerClassname</emphasis>: This is the "
 "name of a class that provides the timer method invocation strategy. This "
@@ -6251,16 +6270,15 @@
 "literal> interface. JBoss provides the <literal>org.jboss.ejb.txtimer."
 "TimedObjectInvokerImpl</literal> implementation."
 msgstr ""
-"<emphasis role=\"bold\">className</emphasis>:connector 实现的类全名。这个类"
-"必须实现 <literal>org.apache.catalina.Connector</literal> 接口。缺省的内置服"
-"务是 <literal>org.apache.catalina.connector.http.HttpConnector</literal>,它"
-"是一个 HTTP 连接器的实现。"
+"<emphasis role=\"bold\">TimedObjectInvokerClassname</emphasis>:这是提供定时器方法调用策略的类的名称。这个类必须实现 <literal>org.jboss.ejb.txtimer.TimedObjectInvoker</"
+"literal> 接口。JBoss 提供的实现是 <literal>org.jboss.ejb.txtimer."
+"TimedObjectInvokerImpl</literal>。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:1537
 #, no-c-format
 msgid "The retry policy MBean definition used is shown here:"
-msgstr ""
+msgstr "下面是所用的重试策略 MBean 的定义:"
 
 #. Tag: programlisting
 #: J2EE_EJBs_On_JBOSS.xml:1540
@@ -6282,19 +6300,17 @@
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:1541
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The retry policy takes one configuration value:"
-msgstr "EJB 应用程序配置"
+msgstr "重试策略采用一个配置值:"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:1546
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">Delay</emphasis>: This is the delay (ms) before "
 "retrying a failed timer execution. The default delay is 100ms."
-msgstr ""
-"<emphasis role=\"bold\">NumAcceptThreads</emphasis>:用来接受客户联接的线程的"
-"数量。它的缺省值是 1。"
+msgstr "<emphasis role=\"bold\">Delay</emphasis>:在重试一个失败的定时器任务前的延迟(毫秒)。缺省孩值为 100 毫秒。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:1551
@@ -6304,6 +6320,8 @@
 "literal> policy can be used. This MBean is commented out by default, but "
 "when enabled will look like this:"
 msgstr ""
+"如果 EJB 定时器不需要持久化,就可以使用 <literal>NoopPersistence</"
+"literal> 策略。这个 MBean 缺省是被注释的,如启用后就会类似:"
 
 #. Tag: programlisting
 #: J2EE_EJBs_On_JBOSS.xml:1554
@@ -6323,7 +6341,7 @@
 msgid ""
 "Most applications that use timers will want timers to be persisted. For that "
 "the <literal>DatabasePersitencePolicy</literal> MBean should be used."
-msgstr ""
+msgstr "大多数使用定时器的应用程序将需要持久化定时器。因此应该使用 <literal>DatabasePersitencePolicy</literal> MBean。"
 
 #. Tag: programlisting
 #: J2EE_EJBs_On_JBOSS.xml:1558
@@ -6357,13 +6375,11 @@
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:1561
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">DataSource</emphasis>: This is the MBean for the "
 "DataSource that timer data will be written to."
-msgstr ""
-"<emphasis role=\"bold\">directory</emphasis>:这是建立访问日志文件的目录路"
-"径。"
+msgstr "<emphasis role=\"bold\">DataSource</emphasis>:这是用于定时器数据写入的数据源的 MBean。"
 
 #. Tag: para
 #: J2EE_EJBs_On_JBOSS.xml:1566
@@ -6374,4 +6390,6 @@
 "<literal>org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin</"
 "literal>."
 msgstr ""
+"<emphasis role=\"bold\">DatabasePersistencePlugin</emphasis>:这是实现持久化策略的类的名称。它应该是 <literal>org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin</"
+"literal>。"
 




More information about the jboss-cvs-commits mailing list