[jboss-cvs] JBossAS SVN: r69960 - projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Feb 19 21:02:06 EST 2008


Author: khashida at redhat.com
Date: 2008-02-19 21:02:06 -0500 (Tue, 19 Feb 2008)
New Revision: 69960

Modified:
   projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/J2EE_Additional_Services.po
Log:
115 left

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/J2EE_Additional_Services.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/J2EE_Additional_Services.po	2008-02-20 00:48:06 UTC (rev 69959)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/J2EE_Additional_Services.po	2008-02-20 02:02:06 UTC (rev 69960)
@@ -1,24 +1,27 @@
+# translation of J2EE_Additional_Services.po to Japanese
 # Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
 # Automatically generated, 2007.
-#
+# Kiyoto Hashida <khashida at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: J2EE_Additional_Services\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-11-05 06:01+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-02-20 12:01+1000\n"
+"Last-Translator: Kiyoto Hashida <khashida at redhat.com>\n"
+"Language-Team: Japanese <jp at li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:6
 #, no-c-format
 msgid "Additional Services"
-msgstr ""
+msgstr "その他のサービス"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:7
@@ -28,12 +31,15 @@
 "elsewhere either because they are utility services not necessary for running "
 "JBoss, or they don&#39;t fit into a current section of the book."
 msgstr ""
+"この章では、他の場所で説明していない MBean サービスの種類について説明しています。 "
+"これらには、JBoss の稼働用に必要でないユーティリティサービスや、この文書の現在の "
+"セクションに該当しないものなどがあります。"
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:11
 #, no-c-format
 msgid "Memory and Thread Monitoring"
-msgstr ""
+msgstr "メモリ及びスレッドモニタリング"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:12
@@ -46,42 +52,47 @@
 "using the twiddle command, etc... The most interesting attributes are shown "
 "below."
 msgstr ""
+"<literal>jboss.system:type=ServerInfo</literal> MBean は、数種の属性を備えており "
+"JBoss インスタンスでのスレッドとメモリの使用を監視するのに利用できます。これらの属性は "
+"いろいろな方法で監視出来ます: JMX コンソールを経由する方法、サードパーティ JMX 管理ツール "
+"からの方法、twiddle コマンドを使用したシェルスクリプトからの方法などがあります。最も "
+"興味深い属性を以下に示します:"
 
 #. Tag: emphasis
 #: J2EE_Additional_Services.xml:17
 #, no-c-format
 msgid "FreeMemory"
-msgstr ""
+msgstr "FreeMemory"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:19
 #, no-c-format
 msgid "This is the current free memory available in the JVM."
-msgstr ""
+msgstr "これは、JVM 内で利用できる現在の空きメモリです。"
 
 #. Tag: emphasis
 #: J2EE_Additional_Services.xml:25
 #, no-c-format
 msgid "ActiveThreadCount"
-msgstr ""
+msgstr "ActiveThreadCount"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:27
 #, no-c-format
 msgid "This is the number of active threads in the JVM."
-msgstr ""
+msgstr "これは、JVM 内でのアクティブなスレッドの数量です。"
 
 #. Tag: emphasis
 #: J2EE_Additional_Services.xml:33
 #, no-c-format
 msgid "ActiveThreadGroupCount"
-msgstr ""
+msgstr "ActiveThreadGroupCount"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:35
 #, no-c-format
 msgid "This is the number of active thread groups in the JVM."
-msgstr ""
+msgstr "これは、JVM でのアクティブなスレッドグループの数量です。"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:41
@@ -93,12 +104,16 @@
 "of these details are exposed by JBoss through operations on the SystemInfo "
 "MBean."
 msgstr ""
+"これらは、監視と警告の為には役に立つメトリックスですが、開発者と管理者は "
+"これよりももう少し先見の明が必要です。Sun による Java 5 JVM は JVM の現在の "
+"状態に関してより詳細な情報を提供します。これらの詳細のいくつかは、SystemInfo "
+"MBean 上の操作を通じて JBoss で提示できます。"
 
 #. Tag: emphasis
 #: J2EE_Additional_Services.xml:46
 #, no-c-format
 msgid "listMemoryPools"
-msgstr ""
+msgstr "listMemoryPools"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:48
@@ -107,12 +122,14 @@
 "This operations shows the size and current usage of all JVM memory pools. "
 "This operation is only available when using Java 5."
 msgstr ""
+"この操作では、JVM メモリプールの全てのサイズと現在の使用を表示します。 "
+"この操作は、Java 5 を使用している場合にのみ実行可能です。"
 
 #. Tag: emphasis
 #: J2EE_Additional_Services.xml:54
 #, no-c-format
 msgid "listThreadDump"
-msgstr ""
+msgstr "listThreadDump"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:56
@@ -122,12 +139,15 @@
 "Java 5, JBoss will display a complete stack trace for each thread, showing "
 "you exactly what code each thread is executing."
 msgstr ""
+"この操作では、JVM で現在実行中の全てのスレッドを表示します。Java 5 を使用している "
+"場合、JBoss はそれぞれのスレッド用の完全なスタックトレースを表示して、各スレッドが "
+"実行しているコードそのものを提示します。"
 
 #. Tag: emphasis
 #: J2EE_Additional_Services.xml:62
 #, no-c-format
 msgid "listThreadCpuUtilization"
-msgstr ""
+msgstr "listThreadCpuUtilization"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:64
@@ -137,12 +157,14 @@
 "the total CPU time each thread has used. The operation is only available in "
 "Java 5."
 msgstr ""
+"この操作は、各スレッドが使用した CPU タイムの合計と共に JVM で現在実行している "
+"全てのスレッドを表示します。この操作は、Java 5 でのみ使用可能です。"
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:73
 #, no-c-format
 msgid "The Log4j Service"
-msgstr ""
+msgstr "Log4j サービス"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:74
@@ -210,7 +232,7 @@
 #: J2EE_Additional_Services.xml:107
 #, no-c-format
 msgid "System Properties Management"
-msgstr ""
+msgstr "システムプロパティの管理"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:108
@@ -226,7 +248,7 @@
 #: J2EE_Additional_Services.xml:111
 #, no-c-format
 msgid "Its configurable attributes include:"
-msgstr ""
+msgstr "その設定可能な属性には以下が含まれます:"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:116
@@ -277,6 +299,16 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.varia.property.SystemPropertiesService\"\n"
+"        name=\"jboss.util:type=Service,name=SystemProperties\"&gt;\n"
+"            \n"
+"    &lt;!-- Load properties from each of the given comma separated URLs --"
+"&gt;\n"
+"    &lt;attribute name=\"URLList\"&gt;\n"
+"        http://somehost/some-location.properties,\n"
+"        ./conf/somelocal.properties\n"
+"    &lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:130
@@ -300,12 +332,21 @@
 "            \n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.varia.property.SystemPropertiesService\"\n"
+"        name=\"jboss.util:type=Service,name=SystemProperties\"&gt;\n"
+"    &lt;!-- Set properties using the properties file style. --&gt;\n"
+"    &lt;attribute name=\"Properties\"&gt;\n"
+"       property1=This is the value of my property\n"
+"       property2=This is the value of my other property\n"
+"    &lt;/attribute&gt;\n"
+"            \n"
+"&lt;/mbean&gt;"
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:137
 #, no-c-format
 msgid "Property Editor Management"
-msgstr ""
+msgstr "プパティエディタの管理"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:138
@@ -361,7 +402,7 @@
 #: J2EE_Additional_Services.xml:161
 #, no-c-format
 msgid "Services Binding Management"
-msgstr ""
+msgstr "サービスビルディングの管理"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:162
@@ -433,6 +474,16 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.services.binding.ServiceBindingManager\" \n"
+"      name=\"jboss.system:service=ServiceBindingManager\"&gt;\n"
+"    &lt;attribute name=\"ServerName\"&gt;ports-01&lt;/attribute&gt;\n"
+"    &lt;attribute name=\"StoreURL\"&gt;\n"
+"        ../docs/examples/binding-manager/sample-bindings.xml\n"
+"    &lt;/attribute&gt;\n"
+"    &lt;attribute name=\"StoreFactoryClassName\"&gt;\n"
+"        org.jboss.services.binding.XMLServicesStoreFactory \n"
+"    &lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:186
@@ -452,7 +503,7 @@
 #: J2EE_Additional_Services.xml:197
 #, no-c-format
 msgid "The elements are:"
-msgstr ""
+msgstr "エレメントには以下があります:"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:202
@@ -532,7 +583,7 @@
 #: J2EE_Additional_Services.xml:231
 #, no-c-format
 msgid "AttributeMappingDelegate"
-msgstr ""
+msgstr "AttributeMappingDelegate"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:232
@@ -553,6 +604,11 @@
 "    &lt;!-- ... --&gt;\n"
 "&lt;/delegate-config&gt;"
 msgstr ""
+"&lt;delegate-config portName=\"portAttrName\" hostName=\"hostAttrName\"&gt;\n"
+"    &lt;attribute name=\"someAttrName\"&gt;someHostPortExpr&lt;/"
+"attribute&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"&lt;/delegate-config&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:236
@@ -594,6 +650,12 @@
 "     &lt;binding port=\"1099\" /&gt;\n"
 "&lt;/service-config&gt;"
 msgstr ""
+"&lt;service-config name=\"jboss:service=Naming\"\n"
+"                 delegateClass=\"org.jboss.services.binding."
+"AttributeMappingDelegate\"&gt;\n"
+"     &lt;delegate-config portName=\"Port\"/&gt;\n"
+"     &lt;binding port=\"1099\" /&gt;\n"
+"&lt;/service-config&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:243
@@ -609,7 +671,7 @@
 #: J2EE_Additional_Services.xml:249
 #, no-c-format
 msgid "XSLTConfigDelegate"
-msgstr ""
+msgstr "XSLTConfigDelegate"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:250
@@ -633,6 +695,14 @@
 "     &lt;!-- ... --&gt;\n"
 "&lt;/delegate-config&gt;"
 msgstr ""
+"&lt;delegate-config&gt;\n"
+"    &lt;xslt-config configName=\"ConfigurationElement\"&gt;&lt;![CDATA[\n"
+"        Any XSL document contents...\n"
+"        ]]&gt;\n"
+"     &lt;/xslt-config&gt;\n"
+"     &lt;xslt-param name=\"param-name\"&gt;param-value&lt;/xslt-param&gt;\n"
+"     &lt;!-- ... --&gt;\n"
+"&lt;/delegate-config&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:254
@@ -703,12 +773,51 @@
 "     &lt;binding host=\"localhost\" port=\"1901\"/&gt;\n"
 "&lt;/service-config&gt;"
 msgstr ""
+"&lt;service-config name=\"jboss.jca:service=ManagedConnectionFactory,"
+"name=DefaultDS\" \n"
+"                delegateClass=\"org.jboss.services.binding.XSLTConfigDelegate"
+"\"&gt;\n"
+"    &lt;delegate-config&gt;\n"
+"        &lt;xslt-config configName=\"ManagedConnectionFactoryProperties\"&gt;"
+"&lt;![CDATA[\n"
+"&lt;xsl:stylesheet\n"
+"      xmlns:xsl=&#39;http://www.w3.org/1999/XSL/Transform&#39; "
+"version=&#39;1.0&#39;&gt;\n"
+"\n"
+"  &lt;xsl:output method=\"xml\" /&gt;\n"
+"  &lt;xsl:param name=\"host\"/&gt;\n"
+"  &lt;xsl:param name=\"port\"/&gt;\n"
+"\n"
+"  &lt;xsl:template match=\"/\"&gt;\n"
+"    &lt;xsl:apply-templates/&gt;\n"
+"  &lt;/xsl:template&gt;\n"
+"\n"
+"  &lt;xsl:template match=\"config-property[@name=&#39;ConnectionURL&#39;]"
+"\"&gt;\n"
+"    &lt;config-property type=\"java.lang.String\" name=\"ConnectionURL"
+"\"&gt;\n"
+"       jdbc:hsqldb:hsql://&lt;xsl:value-of select=&#39;$host&#39;/&gt;:&lt;"
+"xsl:value-of select=&#39;$port&#39;/&gt;\n"
+"    &lt;/config-property&gt;\n"
+"  &lt;/xsl:template&gt;\n"
+"\n"
+"  &lt;xsl:template match=\"*|@*\"&gt;\n"
+"    &lt;xsl:copy&gt;\n"
+"      &lt;xsl:apply-templates select=\"@*|node()\"/&gt;\n"
+"    &lt;/xsl:copy&gt;\n"
+"  &lt;/xsl:template&gt;\n"
+"&lt;/xsl:stylesheet&gt;\n"
+"]]&gt;\n"
+"        &lt;/xslt-config&gt;\n"
+"     &lt;/delegate-config&gt;\n"
+"     &lt;binding host=\"localhost\" port=\"1901\"/&gt;\n"
+"&lt;/service-config&gt;"
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:264
 #, no-c-format
 msgid "XSLTFileDelegate"
-msgstr ""
+msgstr "XSLTFileDelegate"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:265
@@ -816,6 +925,73 @@
 "    &lt;binding port=\"8280\"/&gt;\n"
 "&lt;/service-config&gt;"
 msgstr ""
+"&lt;service-config name=\"jboss.web:service=WebServer\"\n"
+"                delegateClass=\"org.jboss.services.binding.XSLTFileDelegate"
+"\"&gt;\n"
+"    &lt;delegate-config&gt;\n"
+"        &lt;xslt-config configName=\"ConfigFile\"&gt;&lt;![CDATA[\n"
+"   &lt;xsl:stylesheet\n"
+"         xmlns:xsl=&#39;http://www.w3.org/1999/XSL/Transform&#39; "
+"version=&#39;1.0&#39;&gt;\n"
+"\n"
+"     &lt;xsl:output method=\"xml\" /&gt;\n"
+"     &lt;xsl:param name=\"port\"/&gt;\n"
+"\n"
+"     &lt;xsl:variable name=\"portAJP\" select=\"$port - 71\"/&gt;\n"
+"     &lt;xsl:variable name=\"portHttps\" select=\"$port + 363\"/&gt;\n"
+"\n"
+"     &lt;xsl:template match=\"/\"&gt;\n"
+"       &lt;xsl:apply-templates/&gt;\n"
+"     &lt;/xsl:template&gt;\n"
+"\n"
+"      &lt;xsl:template match = \"Connector\"&gt;\n"
+"         &lt;Connector&gt;\n"
+"            &lt;xsl:for-each select=\"@*\"&gt;\n"
+"            &lt;xsl:choose&gt;\n"
+"               &lt;xsl:when test=\"(name() = &#39;port&#39; and . = "
+"&#39;8080&#39;)\"&gt;\n"
+"                  &lt;xsl:attribute name=\"port\"&gt;\n"
+"                      &lt;xsl:value-of select=\"$port\" /&gt;\n"
+"                  &lt;/xsl:attribute&gt;\n"
+"               &lt;/xsl:when&gt;\n"
+"               &lt;xsl:when test=\"(name() = &#39;port&#39; and . = "
+"&#39;8009&#39;)\"&gt;\n"
+"                  &lt;xsl:attribute name=\"port\"&gt;\n"
+"                      &lt;xsl:value-of select=\"$portAJP\" /&gt;\n"
+"                  &lt;/xsl:attribute&gt;\n"
+"               &lt;/xsl:when&gt;\n"
+"               &lt;xsl:when test=\"(name() = &#39;redirectPort&#39;)\"&gt;\n"
+"                  &lt;xsl:attribute name=\"redirectPort\"&gt;\n"
+"                      &lt;xsl:value-of select=\"$portHttps\" /&gt;\n"
+"                  &lt;/xsl:attribute&gt;\n"
+"               &lt;/xsl:when&gt;\n"
+"               &lt;xsl:when test=\"(name() = &#39;port&#39; and . = "
+"&#39;8443&#39;)\"&gt;\n"
+"                  &lt;xsl:attribute name=\"port\"&gt;\n"
+"                      &lt;xsl:value-of select=\"$portHttps\" /&gt;\n"
+"                  &lt;/xsl:attribute&gt;\n"
+"               &lt;/xsl:when&gt;\n"
+"               &lt;xsl:otherwise&gt;\n"
+"                  &lt;xsl:attribute name=\"{name()}\"&gt;&lt;xsl:value-of "
+"select=\".\" /&gt;&lt;/xsl:attribute&gt;\n"
+"               &lt;/xsl:otherwise&gt;\n"
+"            &lt;/xsl:choose&gt;\n"
+"            &lt;/xsl:for-each&gt;\n"
+"            &lt;xsl:apply-templates/&gt;\n"
+"         &lt;/Connector&gt;\n"
+"      &lt;/xsl:template&gt;\n"
+"\n"
+"     &lt;xsl:template match=\"*|@*\"&gt;\n"
+"       &lt;xsl:copy&gt;\n"
+"         &lt;xsl:apply-templates select=\"@*|node()\"/&gt;\n"
+"       &lt;/xsl:copy&gt;\n"
+"     &lt;/xsl:template&gt;\n"
+"   &lt;/xsl:stylesheet&gt;\n"
+"   ]]&gt;\n"
+"        &lt;/xslt-config&gt;\n"
+"    &lt;/delegate-config&gt;\n"
+"    &lt;binding port=\"8280\"/&gt;\n"
+"&lt;/service-config&gt;"
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:279
@@ -839,7 +1015,7 @@
 #: J2EE_Additional_Services.xml:283
 #, no-c-format
 msgid "[examples]$ ant -Dchap=misc -Dex=1 run-example"
-msgstr ""
+msgstr "[examples]$ ant -Dchap=misc -Dex=1 run-example"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:284
@@ -867,6 +1043,16 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.services.binding.ServiceBindingManager\"\n"
+"       name=\"jboss.system:service=ServiceBindingManager\"&gt;\n"
+"    &lt;attribute name=\"ServerName\"&gt;${jboss.server.name}&lt;/"
+"attribute&gt;\n"
+"    &lt;attribute name=\"StoreURL\"&gt;${jboss.server.base.dir}/misc-ex1-"
+"bindings.xml&lt;/attribute&gt;\n"
+"    &lt;attribute name=\"StoreFactoryClassName\"&gt;\n"
+"        org.jboss.services.binding.XMLServicesStoreFactory\n"
+"    &lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:288
@@ -900,7 +1086,7 @@
 #: J2EE_Additional_Services.xml:299
 #, no-c-format
 msgid "RMI Dynamic Class Loading"
-msgstr ""
+msgstr "RMI ダイナミッククラスローディング"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:300
@@ -980,7 +1166,7 @@
 #: J2EE_Additional_Services.xml:343
 #, no-c-format
 msgid "Scheduling Tasks"
-msgstr ""
+msgstr "スケジューリングタスク"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:344
@@ -1008,7 +1194,7 @@
 #: J2EE_Additional_Services.xml:351
 #, no-c-format
 msgid "org.jboss.varia.scheduler.Scheduler"
-msgstr ""
+msgstr "org.jboss.varia.scheduler.Scheduler"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:352
@@ -1222,6 +1408,24 @@
 "                \n"
 "&lt;/server&gt;"
 msgstr ""
+"&lt;server&gt;\n"
+"                \n"
+"    &lt;mbean code=\"org.jboss.varia.scheduler.Scheduler\"\n"
+"           name=\"jboss.docs:service=Scheduler\"&gt;\n"
+"        &lt;attribute name=\"StartAtStartup\"&gt;true&lt;/attribute&gt;\n"
+"        &lt;attribute name=\"SchedulableClass\"&gt;org.jboss.book.misc.ex2."
+"ExSchedulable&lt;/attribute&gt;\n"
+"        &lt;attribute name=\"SchedulableArguments\"&gt;TheName,123456789&lt;/"
+"attribute&gt;\n"
+"        &lt;attribute name=\"SchedulableArgumentTypes\"&gt;java.lang.String,"
+"long&lt;/attribute&gt;\n"
+"                \n"
+"        &lt;attribute name=\"InitialStartDate\"&gt;NOW&lt;/attribute&gt;\n"
+"        &lt;attribute name=\"SchedulePeriod\"&gt;60000&lt;/attribute&gt;\n"
+"        &lt;attribute name=\"InitialRepetitions\"&gt;-1&lt;/attribute&gt;\n"
+"    &lt;/mbean&gt;\n"
+"                \n"
+"&lt;/server&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:453
@@ -1270,18 +1474,52 @@
 "    }\n"
 "}"
 msgstr ""
+"package org.jboss.book.misc.ex2;\n"
+"\n"
+"import java.util.Date;\n"
+"import org.jboss.varia.scheduler.Schedulable;\n"
+"\n"
+"import org.apache.log4j.Logger;\n"
+"\n"
+"/**\n"
+" * A simple Schedulable example.\n"
+" * @author Scott.Stark at jboss.org\n"
+" * @version $Revision: 1.4 $\n"
+" */\n"
+"public class ExSchedulable implements Schedulable\n"
+"{\n"
+"    private static final Logger log = Logger.getLogger(ExSchedulable."
+"class);\n"
+"\n"
+"    private String name;\n"
+"    private long value;\n"
+"\n"
+"    public ExSchedulable(String name, long value)\n"
+"    {\n"
+"        this.name = name;\n"
+"        this.value = value;\n"
+"        log.info(\"ctor, name: \" + name + \", value: \" + value);\n"
+"    }\n"
+"\n"
+"    public void perform(Date now, long remainingRepetitions)\n"
+"    {\n"
+"        log.info(\"perform, now: \" + now +\n"
+"                 \", remainingRepetitions: \" + remainingRepetitions +\n"
+"                 \", name: \" + name + \", value: \" + value);\n"
+"    }\n"
+"}"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:457
 #, no-c-format
 msgid "Deploy the timer SAR by running:"
-msgstr ""
+msgstr "以下を実行してタイマー SAR を配備します:"
 
 #. Tag: programlisting
 #: J2EE_Additional_Services.xml:460
 #, no-c-format
 msgid "[examples]$ ant -Dchap=misc -Dex=2 run-example"
-msgstr ""
+msgstr "[examples]$ ant -Dchap=misc -Dex=2 run-example"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:461
@@ -1306,12 +1544,22 @@
 "2004, \n"
 "  remainingRepetitions: -1, name: TheName, value: 123456789"
 msgstr ""
+"21:09:27,716 INFO  [ExSchedulable] ctor, name: TheName, value: 123456789\n"
+"21:09:28,925 INFO  [ExSchedulable] perform, now: Mon Dec 20 21:09:28 CST "
+"2004, \n"
+"  remainingRepetitions: -1, name: TheName, value: 123456789\n"
+"21:10:28,899 INFO  [ExSchedulable] perform, now: Mon Dec 20 21:10:28 CST "
+"2004, \n"
+"  remainingRepetitions: -1, name: TheName, value: 123456789\n"
+"21:11:28,897 INFO  [ExSchedulable] perform, now: Mon Dec 20 21:11:28 CST "
+"2004, \n"
+"  remainingRepetitions: -1, name: TheName, value: 123456789"
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:470
 #, no-c-format
 msgid "The Timer Service"
-msgstr ""
+msgstr "タイマーサービス"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:471
@@ -1329,6 +1577,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
@@ -1411,6 +1661,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
@@ -1449,6 +1710,15 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&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
 #: J2EE_Additional_Services.xml:516
@@ -1483,6 +1753,19 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&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;filter factory=\"NotificationFilterSupportFactory\"&gt;\n"
+"                    &lt;enable type=\"jboss.monitor.heartbeat\"/"
+"&gt;                        \n"
+"                &lt;/filter&gt;\n"
+"            &lt;/mbean&gt;\n"
+"        &lt;/subscription-list&gt;\n"
+"    &lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:520
@@ -1561,6 +1844,28 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.monitor.services.ScriptingListener\" \n"
+"       name=\"jboss.monitor:service=ScriptingListener\"&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;attribute name=\"ScriptLanguage\"&gt;beanshell&lt;/attribute&gt;\n"
+"    &lt;attribute name=\"Script\"&gt;\n"
+"                &lt;![CDATA[\n"
+"   import javax.management.ObjectName;\n"
+"\n"
+"   /* poll free memory and thread count */   \n"
+"   ObjectName target = new ObjectName(\"jboss.system:type=ServerInfo\");\n"
+"\n"
+"   long freeMemory = server.getAttribute(target, \"FreeMemory\");\n"
+"   long threadCount = server.getAttribute(target, \"ActiveThreadCount\");\n"
+"\n"
+"   log.info(\"freeMemory\" + freeMemory + \", threadCount\" + threadCount);\n"
+"]]&gt;\n"
+"    &lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:544
@@ -1577,7 +1882,7 @@
 #: J2EE_Additional_Services.xml:550
 #, no-c-format
 msgid "The BarrierController Service"
-msgstr ""
+msgstr "BarrierController サービス"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:551
@@ -1776,6 +2081,80 @@
 "  \n"
 "&lt;/server&gt;"
 msgstr ""
+"&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n"
+"&lt;!-- $Id: J2EE_Additional_Services.xml,v 1.4 2007/06/22 08:38:25 skittoli "
+"Exp $ --&gt;\n"
+"\n"
+"&lt;server&gt;\n"
+"  &lt;!--\n"
+"    In this example we have the BarrierController controlling a Barrier\n"
+"    that is started when we receive the \"jboss.tomcat.connectors.started\"\n"
+"    notification from the Tomcat mbean, and stopped when we receive the\n"
+"    \"org.jboss.system.server.stopped\" notification from the server mbean.\n"
+"    \n"
+"    The dependent services need only define a dependency on the Barrier "
+"mbean!\n"
+"  --&gt;\n"
+"  &lt;mbean code=\"org.jboss.system.BarrierController\"\n"
+"         name=\"jboss:service=BarrierController\"&gt;\n"
+"    \n"
+"    &lt;!-- Whether to have the Barrier initially started or not --&gt;\n"
+"    &lt;attribute name=\"BarrierEnabledOnStartup\"&gt;false&lt;/"
+"attribute&gt;\n"
+"    \n"
+"    &lt;!-- Whether to subscribe for notifications after startup --&gt;\n"
+"    &lt;attribute name=\"DynamicSubscriptions\"&gt;true&lt;/attribute&gt;\n"
+"    \n"
+"    &lt;!-- Dependent services will depend on this mbean --&gt;\n"
+"    &lt;attribute name=\"BarrierObjectName\"&gt;jboss:name=TomcatConnector,"
+"type=Barrier&lt;/attribute&gt;\n"
+"    \n"
+"    &lt;!-- The notification subscription handback that starts the barrier --"
+"&gt;\n"
+"    &lt;attribute name=\"StartBarrierHandback\"&gt;start&lt;/attribute&gt;\n"
+"    \n"
+"    &lt;!-- The notification subscription handback that stops the barrier --"
+"&gt;\n"
+"    &lt;attribute name=\"StopBarrierHandback\"&gt;stop&lt;/attribute&gt;\n"
+"    \n"
+"    &lt;!-- The notifications to subscribe for, along with their handbacks --"
+"&gt;\n"
+"    &lt;attribute name=\"SubscriptionList\"&gt;\n"
+"      &lt;subscription-list&gt;\n"
+"        &lt;mbean name=\"jboss.web:service=WebServer\" handback=\"start"
+"\"&gt;\n"
+"          &lt;filter factory=\"NotificationFilterSupportFactory\"&gt;\n"
+"            &lt;enable type=\"jboss.tomcat.connectors.started\"/&gt;\n"
+"          &lt;/filter&gt;\n"
+"        &lt;/mbean&gt;\n"
+"        &lt;mbean name=\"jboss.system:type=Server\" handback=\"stop\"&gt;\n"
+"          &lt;filter factory=\"NotificationFilterSupportFactory\"&gt;\n"
+"            &lt;enable type=\"org.jboss.system.server.stopped\"/&gt;\n"
+"          &lt;/filter&gt;\n"
+"        &lt;/mbean&gt;        \n"
+"      &lt;/subscription-list&gt;\n"
+"    &lt;/attribute&gt;\n"
+"  &lt;/mbean&gt;\n"
+"\n"
+"  &lt;!--\n"
+"    An example service that depends on the Barrier we declared above.\n"
+"    This services creates a background thread and monitors the memory\n"
+"    usage. When it exceeds the defined thresholds it emits notifications\n"
+"  --&gt;\n"
+"  &lt;mbean code=\"org.jboss.monitor.services.MemoryMonitor\"\n"
+"         name=\"jboss.monitor:service=MemoryMonitor\"&gt;\n"
+"\n"
+"    &lt;attribute name=\"FreeMemoryWarningThreshold\"&gt;20m&lt;/"
+"attribute&gt;\n"
+"    &lt;attribute name=\"FreeMemoryCriticalThreshold\"&gt;15m&lt;/"
+"attribute&gt;\n"
+"    \n"
+"    &lt;!-- The BarrierObjectName configured in the BarrierController --"
+"&gt;\n"
+"    &lt;depends&gt;jboss:name=TomcatConnector,type=Barrier&lt;/depends&gt;\n"
+"  &lt;/mbean&gt;\n"
+"  \n"
+"&lt;/server&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:579
@@ -1795,7 +2174,7 @@
 #: J2EE_Additional_Services.xml:585
 #, no-c-format
 msgid "Exposing MBean Events via SNMP"
-msgstr ""
+msgstr "SNMP を介して MBean イベントを提示"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:586
@@ -1913,13 +2292,13 @@
 #: J2EE_Additional_Services.xml:643
 #, no-c-format
 msgid "The schema for the SNMP managers file"
-msgstr ""
+msgstr "SNMP マネージャファイル用のスキーマ"
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:651
 #, no-c-format
 msgid "The schema for the notification to trap mapping file"
-msgstr ""
+msgstr "マッピングファイルをトラップする為の通知用スキーマ"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:658
@@ -1932,3 +2311,4 @@
 "<literal>SnmpAgentService</literal> and <literal>TrapdService</literal> are "
 "not dependent on each other."
 msgstr ""
+




More information about the jboss-cvs-commits mailing list