[jboss-cvs] JBossAS SVN: r88050 - 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
Thu Apr 30 02:25:02 EDT 2009


Author: xhuang at jboss.com
Date: 2009-04-30 02:25:01 -0400 (Thu, 30 Apr 2009)
New Revision: 88050

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

Modified: projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/J2EE_Additional_Services.po
===================================================================
--- projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/J2EE_Additional_Services.po	2009-04-30 06:24:23 UTC (rev 88049)
+++ projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/J2EE_Additional_Services.po	2009-04-30 06:25:01 UTC (rev 88050)
@@ -9,7 +9,7 @@
 "Project-Id-Version: J2EE_Additional_Services\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2009-01-20 02:37+0000\n"
-"PO-Revision-Date: 2009-04-28 16:10+1000\n"
+"PO-Revision-Date: 2009-04-30 16:24+1000\n"
 "Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
 "Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -1383,9 +1383,9 @@
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:470
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The Timer Service"
-msgstr "Tomcat 服务"
+msgstr "定时器服务"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:471
@@ -1395,6 +1395,8 @@
 "Timer</literal>) which can send notifications at predetermined times. The a "
 "timer MBean can be instantiated within JBoss as any other MBean."
 msgstr ""
+"JMX 标准定义了一个定时器 MBean(<literal>javax.management.timer."
+"Timer</literal>),它可以定期发送通知。和其他 MBean 一样,Timer MBean 也可以在 JBoss 里实例化。"
 
 #. Tag: programlisting
 #: J2EE_Additional_Services.xml:474
@@ -1403,6 +1405,8 @@
 "&lt;mbean code=\"javax.management.timer.Timer\" name=\"jboss.monitor:"
 "name=Heartbeat,type=Timer\"/&gt;"
 msgstr ""
+"&lt;mbean code=\"javax.management.timer.Timer\" name=\"jboss.monitor:"
+"name=Heartbeat,type=Timer\"/&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:475
@@ -1414,27 +1418,23 @@
 "timer MBean to configure timer events at regular intervals and to transform "
 "them into JMX notifications more suitable for other services. The "
 "<literal>TimerService</literal> MBean takes the following attributes:"
-msgstr ""
+msgstr "除非被请求时,标准的 JMX 定时器不产生任何定时器事件。为了帮助配置定时器 MBean,JBoss 提供了一个辅助的 <literal>TimerService</literal> MBean。它和 Timer MBean 交互并以固定时间间隔配置定时器事件,然后把它们转换成更适合于其他服务的 JMX 通知。<literal>TimerService</literal> MBean 采用下列的属性:"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:480
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">NotificationType</emphasis>: This is the type of the "
 "notification to be generated."
-msgstr ""
-"<emphasis role=\"bold\">notification-type</emphasis>:这个元素包含用逗号隔开"
-"的通知类型串。"
+msgstr "<emphasis role=\"bold\">NotificationType</emphasis>:生成的通知的类型。"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:485
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">NotificationMessage</emphasis>: This is the message "
 "that should be associated with the generated notification."
-msgstr ""
-"<emphasis role=\"bold\">notification-type</emphasis>:这个元素包含用逗号隔开"
-"的通知类型串。"
+msgstr "<emphasis role=\"bold\">NotificationMessage</emphasis>:应该和生成的通知相关联的消息。"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:490
@@ -1445,37 +1445,35 @@
 "specified with a unit like \"30min\" or \"4h\". Valid time suffixes are "
 "<literal>msec</literal>, <literal>sec</literal>, <literal>min</literal> and "
 "<literal>h</literal>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">TimerPeriod</emphasis>:通知之间的时间间隔。这个时间间隔以毫秒为单位,除非用 \"30min\" 或 \"4h\" 等单位指定。有效的后缀为 <literal>msec</literal>、<literal>sec</literal>、<literal>min</literal> 和 <literal>h</literal>。"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:495
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">Repeatitions</emphasis>: This is the number of times "
 "the alert should be generated. A value of 0 indicates the alert should "
 "repeat indefinitely."
-msgstr ""
-"<emphasis role=\"bold\">ServerBindPort</emphasis>:用于服务器套接字的端口。如"
-"果为 0 则表示使用匿名端口。"
+msgstr "<emphasis role=\"bold\">Repeatitions</emphasis>:应该生成警告的次数。0 表示这个警告应该无限次重复。"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:500
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">TimerMbean</emphasis>: This is the "
 "<literal>ObjectName</literal> of the time MBean that this "
 "<literal>TimerService</literal> instance should configure notifications for."
-msgstr ""
-"<emphasis role=\"bold\">PartitionObjectName</emphasis>:与代理关联的群集服务"
-"的 JMX <literal>ObjectName</literal>。"
+msgstr "<emphasis role=\"bold\">TimerMbean</emphasis>:这是 <literal>TimerService</literal> 实例应该为之配置通知的 MBean 的 <literal>ObjectName</literal>。"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:505
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "The following sample illustrates the the use of the <literal>TimerService</"
 "literal> MBean."
-msgstr "<literal>HANamingService</literal> MBean 的完整缺省配置如下所示。"
+msgstr ""
+"下列实例演示了 <literal>TimerService</"
+"literal> MBean 的使用。"
 
 #. Tag: programlisting
 #: J2EE_Additional_Services.xml:508
@@ -1493,6 +1491,17 @@
 "    &lt;/depends&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.monitor.services.TimerService\" \n"
+"       name=\"jboss.monitor:name=Heartbeat,type=TimerService\"&gt;\n"
+"    &lt;attribute name=\"NotificationType\"&gt;jboss.monitor.heartbeat&lt;/"
+"attribute&gt;\n"
+"    &lt;attribute name=\"NotificationMessage\"&gt;JBoss is alive!&lt;/"
+"attribute&gt;\n"
+"    &lt;attribute name=\"TimerPeriod\"&gt;60sec&lt;/attribute&gt;\n"
+"    &lt;depends optional-attribute-name=\"TimerMBean\"&gt;\n"
+"        jboss.monitor:name=Heartbeat,type=Timer\n"
+"    &lt;/depends&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:509
@@ -1504,6 +1513,9 @@
 "that wants to receive this periodic notifications can subscribe to the "
 "notification."
 msgstr ""
+"这个 MBean 配置示例配置了 <literal>jboss.monitor:"
+"name=Heartbeat,type=Timer</literal> 定时器每隔 60 秒产生一个 <literal>jboss."
+"monitor.heartbeat</literal> 通知。任何想接收这个定期通知的服务都可以进行订阅。"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:512
@@ -1516,10 +1528,12 @@
 "for any events generated by the heartbeat timer used in the previous "
 "examples."
 msgstr ""
+"JBoss 提供了一个简单的 <literal>NotificationListener</"
+"literal> MBean 作为例子,它可以侦听特定的通知并在产生事件时记录日志消息。这个 MBean 对于调试或手工观测通知非常有用。下面的 MBean 定义侦听前面例子里的 Heartbeat Timer 产生的任何事件。"
 
 #. Tag: programlisting
 #: J2EE_Additional_Services.xml:515
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;mbean code=\"org.jboss.monitor.services.NotificationListener\" \n"
 "       name=\"jboss.monitor:service=NotificationListener\"&gt;\n"
@@ -1531,12 +1545,14 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
-"&lt;mbean code=\"org.jboss.naming.NamingAlias\" \n"
-"       name=\"jboss.mq:service=NamingAlias,fromName=QueueConnectionFactory"
-"\"&gt;\n"
-"    &lt;attribute name=\"ToName\"&gt;ConnectionFactory&lt;/attribute&gt;\n"
-"    &lt;attribute name=\"FromName\"&gt;QueueConnectionFactory&lt;/"
-"attribute&gt;\n"
+"&lt;mbean code=\"org.jboss.monitor.services.NotificationListener\" \n"
+"       name=\"jboss.monitor:service=NotificationListener\"&gt;\n"
+"    &lt;attribute name=\"SubscriptionList\"&gt;\n"
+"        &lt;subscription-list&gt;\n"
+"            &lt;mbean name=\"jboss.monitor:name=Heartbeat,type=Timer\" /"
+"&gt;\n"
+"        &lt;/subscription-list&gt;\n"
+"    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 
 #. Tag: para
@@ -1553,6 +1569,8 @@
 "The following listing shows how we can limit notifications to only the "
 "<literal>jboss.monitor.heartbeat</literal> type the timer service configured."
 msgstr ""
+"<literal>subscription-list</literal> 元素列出了 listener 应该侦听的 MBean。请注意,我们侦听的 MBean 是实际的 Timer Bean 而不是 <literal>TimerService</literal> "
+"MBean 的名称。因为这个定时器可能产生由多个 <literal>TimerService</literal> 实例配置的多个事件,你可能需要根据通知类型来过滤。<literal>filter</literal> 元素可用来创建通知过滤器,只选择所需的通知。下面的列表显示了我们如何限制类型为<literal>jboss.monitor.heartbeat</literal>  的由 Timer 服务配置的通知。"
 
 #. Tag: programlisting
 #: J2EE_Additional_Services.xml:519
@@ -1891,14 +1909,13 @@
 #. Tag: para
 #: J2EE_Additional_Services.xml:586
 #, no-c-format
-#, fuzzy
 msgid ""
 "JBoss has an SNMP adaptor service that can be used to intercept JMX "
 "notifications emitted by MBeans, convert them to traps and send them to SNMP "
 "managers. In this respect the snmp-adaptor acts as a SNMP agent. Future "
 "versions may offer support for full agent get/set functionality that maps "
 "onto MBean attributes or operations."
-msgstr "JBoss 有一个 SNMP 适配器服务,它可以拦截 MBean 发出的 JMX 通知并转换为 trap,然后发送到 SNMP 管理者。"
+msgstr "JBoss 有一个 SNMP 适配器服务,它可以拦截 MBean 发出的 JMX 通知并转换为 trap,然后发送到 SNMP 管理者。snmp-adaptor 在此充当 SNMP 代理。以后的版本可能为映射到 MBean 属性或操作的完全代理 get/set 功能提供支持。"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:589
@@ -1910,7 +1927,7 @@
 "notifications for any significant event (e.g. server coldstart), and adaptor "
 "can then be configured to intercept the notification and map it onto an SNMP "
 "traps. The adaptor uses the JoeSNMP package from OpenNMS as the SNMP engine."
-msgstr ""
+msgstr "这个服务被用来集成 JBoss 和更高层的系统/网络管理平台(如 HP OpenView),使 MBean 为其他系统可见。MBean 开发人员可以通过为任何重大事件(如服务器冷启动)产生通知来 instrument MBean,然后可以配置适配器来拦截通知并映射到 SNMP trap。适配器把 OpenNMS 的 JoeSNMP 包用作 SNMP 引擎。"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:592
@@ -1921,7 +1938,7 @@
 "you&#39;ll need to copy it to your configuration if you want to use it. "
 "Inside the snmp-adaptor.sar directory, there are two configuration files "
 "that control the SNMP service."
-msgstr ""
+msgstr "SNMP 服务在 <literal>snmp-adaptor.sar</literal> 里进行配置。这个服务只适用于 <literal>all</literal> 配置,所以如果要使用它,你需要把它复制到自己的配置集里。在 snmp-adaptor.sar 目录里有两个控制 SNMP 服务的配置文件。"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:597
@@ -1931,6 +1948,8 @@
 "traps. The content model for this file is shown in <xref linkend="
 "\"_Exposing_MBean_Events_via_SNMP-The_schema_for_the_SNMP_managers_file\"/>."
 msgstr ""
+"<emphasis role=\"bold\">managers.xml</emphasis>:配置往哪发送 trap。<xref linkend="
+"\"_Exposing_MBean_Events_via_SNMP-The_schema_for_the_SNMP_managers_file\"/> 里显示了这个文件的内容模型。"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:602
@@ -1942,6 +1961,9 @@
 "\"_Exposing_MBean_Events_via_SNMP-"
 "The_schema_for_the_notification_to_trap_mapping_file\"/>."
 msgstr ""
+"<emphasis role=\"bold\">notifications.xml</emphasis>:配置每个通知类型和相应的 SNMP trap 的映射。<xref linkend="
+"\"_Exposing_MBean_Events_via_SNMP-"
+"The_schema_for_the_notification_to_trap_mapping_file\"/> 显示了这个文件的内容模型。"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:607




More information about the jboss-cvs-commits mailing list