[jboss-cvs] JBossAS SVN: r87030 - projects/docs/enterprise/4.3.4/Server_Configuration_Guide/ja-JP.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Apr 9 01:14:46 EDT 2009


Author: tnagamot
Date: 2009-04-09 01:14:45 -0400 (Thu, 09 Apr 2009)
New Revision: 87030

Modified:
   projects/docs/enterprise/4.3.4/Server_Configuration_Guide/ja-JP/Clustering_Guide_Entity_EJBs.po
Log:
translated

Modified: projects/docs/enterprise/4.3.4/Server_Configuration_Guide/ja-JP/Clustering_Guide_Entity_EJBs.po
===================================================================
--- projects/docs/enterprise/4.3.4/Server_Configuration_Guide/ja-JP/Clustering_Guide_Entity_EJBs.po	2009-04-09 04:58:35 UTC (rev 87029)
+++ projects/docs/enterprise/4.3.4/Server_Configuration_Guide/ja-JP/Clustering_Guide_Entity_EJBs.po	2009-04-09 05:14:45 UTC (rev 87030)
@@ -1,19 +1,20 @@
-# translation of Naming.po to Japanese
+# translation of Clustering_Guide_Entity_EJBs.po to ja-JP
 # translation of Clustering_Guide_JMS.po to
 # Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
 #
 # Automatically generated, 2007.
 # Xi HUANG <xhuang at redhat.com>, 2008.
 # Noriko Mizumoto <noriko at redhat.com>, 2008.
+# Takuro Nagamoto <tnagamot at redhat.com>, 2009.
 msgid ""
 msgstr ""
-"Project-Id-Version: Naming\n"
+"Project-Id-Version: Clustering_Guide_Entity_EJBs\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2009-03-16 01:28+0000\n"
-"PO-Revision-Date: 2008-07-04 14:35+1000\n"
-"Last-Translator: Noriko Mizumoto <noriko at redhat.com>\n"
-"Language-Team: Japanese <fedora-trans-ja at redhat.com>\n"
+"PO-Revision-Date: 2009-04-09 15:14+1000\n"
+"Last-Translator: Takuro Nagamoto <tnagamot at redhat.com>\n"
+"Language-Team: ja-JP\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -27,26 +28,26 @@
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:6
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "In a JBoss AS cluster, the entity bean instance caches need to be kept in "
 "sync across all nodes. If an entity bean provides remote services, the "
 "service methods need to be load balanced as well."
 msgstr ""
-"JBoss AS クラスタでは、 エンティティ bean のインスタンスは全ノードで複製され"
+"JBoss AS クラスタでは、 エンティティ bean のインスタンスは全ノードで同期され"
 "る必要があります。 エンティティ bean がリモートサービスを提供する場合、 その"
 "サービスメソッドも負荷分散される必要があります。"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:8
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "To use a clustered entity bean, the application does not need to do anything "
 "special, except for looking up EJB 2.x remote bean references from the "
 "clustered HA-JNDI."
 msgstr ""
 "クラスタ化したエンティティ bean を使用するには、 クラスタ化された HA-JNDI か"
-"ら bean 参照をルックアップすること以外、 アプリケーションが行わなければならな"
+"ら EJB 2.x リモート bean 参照をルックアップすること以外、 アプリケーションが行わなければならな"
 "いことは特にありません。"
 
 #. Tag: title
@@ -57,7 +58,7 @@
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:11
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "First of all, it is worth noting that clustering 2.x entity beans is a bad "
 "thing to do. Its exposes elements that generally are too fine grained for "
@@ -77,7 +78,7 @@
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:13
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "To cluster EJB 2.x entity beans, you need to add the <literal>&lt;"
 "clustered&gt;</literal> element to the application's <literal>jboss.xml</"
@@ -230,7 +231,7 @@
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:46
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "To avoid round trips to the database, you can use a cache for your entities. "
 "JBoss EJB 3.0 entity beans are implemented by Hibernate, which has support "
@@ -239,11 +240,9 @@
 "implementation. The second-level cache provides the following "
 "functionalities."
 msgstr ""
-"データベースへの遠回りを避ける為に、ご使用のエンティティ用のキャッシュを 使用"
-"することができます。JBoss EJB 3.0 エンティティ bean は、セコンドレベルの"
-"キャッシングの サポートを持つ Hibernate によって実装されています。JBoss EJB "
-"3.0 の実装に使用される Hibernate 設定は JBoss Cache をその背後のセコンドレベ"
-"ルキャッシュ実装として使います。 セコンドレベルキャッシュは以下のような機能を"
+"データベースへのラウンドトリップを避ける為に、ご使用のエンティティ用のキャッシュを使用"
+"することができます。JBoss EJB 3.0 エンティティ bean は、2 次キャッシュをサポートする Hibernate によって実装されています。JBoss EJB "
+"3.0 の実装に使用される Hibernate 設定は JBoss Cache を基礎となる 2 次キャッシュ実装として使います。 2 次キャッシュは以下のような機能を"
 "提供します。"
 
 #. Tag: para
@@ -291,7 +290,7 @@
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:65
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "The JBoss Cache service for EJB 3.0 entity beans is configured in a "
 "<literal>TreeCache</literal> MBean in the <literal>deploy/ejb3-entity-cache-"
@@ -301,17 +300,16 @@
 "standard JBoss distribution. Again, we omitted the JGroups configuration "
 "element <literal>ClusterConfig</literal>."
 msgstr ""
-"EJB 3.0 エンティティ bean 用の JBoss Cache service は <literal>deploy/ejb3-"
-"entity-cache-service.xml</literal> ファイル内の <literal>TreeCache</literal> "
-"MBean で 設定されています。cache MBean service の名前は、<literal>jboss."
-"cache:service=EJB3EntityTreeCache</literal> と なっています。以下に標準の "
+"EJB 3.0 エンティティ bean 用の JBoss キャッシュサービスは <literal>deploy/ejb3-entity-cache-"
+"service.xml</literal> ファイル内の <literal>TreeCache</literal> "
+"MBean で 設定されています。キャッシュ MBean サービスの名前は、<literal>jboss.cache:service=EJB3EntityTreeCache</literal> と なっています。以下に標準の "
 "JBoss ディストリビューションにある <literal>ejb3-entity-cache-service.xml</"
 "literal> ファイルのコンテンツを示します。JGroups 設定エレメント "
 "<literal>ClusterConfig</literal> は省略しています。"
 
 #. Tag: programlisting
 #: Clustering_Guide_Entity_EJBs.xml:71
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<![CDATA[ \n"
 " <server>\n"
@@ -368,71 +366,70 @@
 "</server>\n"
 "]]>"
 msgstr ""
-"&lt;server&gt;\n"
-"    &lt;mbean code=\"org.jboss.cache.TreeCache\" \n"
-"            name=\"jboss.cache:service=EJB3EntityTreeCache\"&gt;\n"
-"        \n"
-"        &lt;depends&gt;jboss:service=Naming&lt;/depends&gt;\n"
-"        &lt;depends&gt;jboss:service=TransactionManager&lt;/depends&gt;\n"
-"\n"
-"        &lt;!-- Configure the TransactionManager --&gt;\n"
-"        &lt;attribute name=\"TransactionManagerLookupClass\"&gt;\n"
-"            org.jboss.cache.JBossTransactionManagerLookup\n"
-"        &lt;/attribute&gt;\n"
-"\n"
-"        &lt;attribute name=\"IsolationLevel\"&gt;REPEATABLE_READ&lt;/"
-"attribute&gt;\n"
-"        &lt;attribute name=\"CacheMode\"&gt;REPL_SYNC&lt;/attribute&gt;\n"
-"\n"
-"        &lt;!--Name of cluster. Needs to be the same for all clusters, \n"
-"            in order to find each other --&gt;\n"
-"        &lt;attribute name=\"ClusterName\"&gt;EJB3-entity-cache&lt;/"
-"attribute&gt;\n"
-"\n"
-"        &lt;attribute name=\"ClusterConfig\"&gt;\n"
-"            ... ...\n"
-"        &lt;/attribute&gt;\n"
-"\n"
-"        &lt;attribute name=\"InitialStateRetrievalTimeout\"&gt;5000&lt;/"
-"attribute&gt;\n"
-"        &lt;attribute name=\"SyncReplTimeout\"&gt;10000&lt;/attribute&gt;\n"
-"        &lt;attribute name=\"LockAcquisitionTimeout\"&gt;15000&lt;/"
-"attribute&gt;\n"
-"\n"
-"        &lt;attribute name=\"EvictionPolicyClass\"&gt;\n"
-"            org.jboss.cache.eviction.LRUPolicy\n"
-"        &lt;/attribute&gt;\n"
-"\n"
-"        &lt;!--  Specific eviction policy configurations. This is LRU --"
-"&gt;\n"
-"        &lt;attribute name=\"EvictionPolicyConfig\"&gt;\n"
-"            &lt;config&gt;\n"
-"                &lt;attribute name=\"wakeUpIntervalSeconds\"&gt;5&lt;/"
-"attribute&gt;\n"
-"                &lt;!--  Cache wide default --&gt;\n"
-"                &lt;region name=\"/_default_\"&gt;\n"
-"                    &lt;attribute name=\"maxNodes\"&gt;5000&lt;/"
-"attribute&gt;\n"
-"                    &lt;attribute name=\"timeToLiveSeconds\"&gt;1000&lt;/"
-"attribute&gt;\n"
-"                &lt;/region&gt;\n"
-"            &lt;/config&gt;\n"
-"        &lt;/attribute&gt;\n"
-"    &lt;/mbean&gt;\n"
-"&lt;/server&gt;"
+"<![CDATA[ \n"
+" <server>\n"
+"  <mbean code=\"org.jboss.cache.TreeCache\" \n"
+" name=\"jboss.cache:service=EJB3EntityTreeCache\">\n"
+"          \n"
+"  <depends>jboss:service=Naming</depends>\n"
+"  <depends>jboss:service=TransactionManager</depends> \n"
+"    \n"
+"  <!-- Name of cluster. Needs to be the same on all nodes in the clusters, \n"
+"               in order to find each other --> \n"
+"          <attribute name=\"ClusterName\">\n"
+"                  ${jboss.partition.name:DefaultPartition}-EntityCache\n"
+"          </attribute>\n"
+"          \n"
+"          <!-- Configure the TransactionManager -->\n"
+"         <attribute name=\"TransactionManagerLookupClass\">\n"
+"           org.jboss.cache.JBossTransactionManagerLookup\n"
+"         </attribute>\n"
+"          \n"
+"         <attribute name=\"IsolationLevel\">REPEATABLE_READ</attribute>\n"
+"         <attribute name=\"CacheMode\">REPL_SYNC</attribute> \n"
+"          \n"
+"         <!-- Must be true if any entity deployment uses a scoped "
+"classloader --> \n"
+"         <attribute name=\"UseRegionBasedMarshalling\">true</attribute> \n"
+"         <!-- Must match the value of \"useRegionBasedMarshalling\" --> \n"
+"         <attribute name=\"InactiveOnStartup\">true</attribute>\n"
+"          \n"
+"         <attribute name=\"ClusterConfig\">\n"
+"          ... ...\n"
+"         </attribute>\n"
+"          \n"
+"         <attribute name=\"InitialStateRetrievalTimeout\">17500</attribute>\n"
+"         <attribute name=\"SyncReplTimeout\">17500</attribute>\n"
+"         <attribute name=\"LockAcquisitionTimeout\">15000</attribute>\n"
+"          \n"
+"         <attribute name=\"EvictionPolicyClass\">\n"
+"         org.jboss.cache.eviction.LRUPolicy\n"
+"         </attribute>\n"
+"          \n"
+"         <!--  Specific eviction policy configurations. This is LRU -->\n"
+"          <attribute name=\"EvictionPolicyConfig\">\n"
+"          <config>\n"
+"          <attribute name=\"wakeUpIntervalSeconds\">5</attribute>\n"
+"          <!--  Cache wide default -->\n"
+"                  <region name=\"/_default_\">\n"
+"                  <attribute name=\"maxNodes\">5000</attribute>\n"
+"                  <attribute name=\"timeToLiveSeconds\">1000</attribute>\n"
+"                  </region>\n"
+"          </config>\n"
+"         </attribute>\n"
+"         </mbean>\n"
+"</server>\n"
+"]]>"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:73
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "This is a replicated cache, so, if running within a cluster, and the cache "
 "is updated, changes to the entries in one node will be replicated to the "
 "corresponding entries in the other nodes in the cluster."
 msgstr ""
-"<xref linkend=\"JBossCache_and_JGroups_Services-JBossCache_Configuration\"/> "
-"で説明されているように、 JBoss Cache によりキャッシュされたエンティティにタイ"
-"ムアウトを指定することができるようになります。 一定の時間内にアクセスされな"
-"かった園丁xteぃはメモリ節約のためキャッシュからドロップされます。 クラスタ内"
+"これはレプリケートされたキャッシュです。したがって、クラスタ内"
 "で実行していてキャッシュが更新された場合、 任意のノード内のエンティティに対す"
 "る変更はクラスタ内の他のノードにある該当エンティティに複製されます。"
 
@@ -452,7 +449,7 @@
 "values of 5000 maxNodes and 1000 idle seconds are invalid for your "
 "application(s), you can change the cache-wide defaults. You can also add "
 "separate eviction regions for each of your entities; more on this below."
-msgstr ""
+msgstr "JBoss Cache では、キャッシュされたエンティティにタイムアウト時間を指定できます。メモリを節約するため、ある一定の時間アクセスされないエンティティはキャッシュから破棄されます。上記の設定により、最大でキャッシュが 5000 個のノードを保持し、その後にノードがメモリから除外されるよう (最近使用されたノードは最後) デフォルトの設定領域が指定されます。また、過去 1000 秒間アクセスされなかったノードはメモリから破棄されます。一般的に、キャッシュ内のノードはキャッシュされたアイテム (エンティティ、コレクション、またはクエリ結果セット) を表します  (ただし、内部目的で使用されるノードもいくつかあります)。5000 最大ノードと 1000 アイドル秒を超える値がアプリケーションで無効な場合は、!
 キャッシュ全体のデフォルト値を変更できます。また、各エンティティに異なる除外領域を追加することもできます (詳細については下記参照)。"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:80
@@ -509,12 +506,12 @@
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:91
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "The following property element defines the object name of the cache to be "
 "used, i.e., the name of the TreeCache MBean shown above."
 msgstr ""
-"以下のプロパティエレメントは使用すべきキャッシュのオブジェクト名および MBean "
+"以下のプロパティエレメントは使用すべきキャッシュのオブジェクト名 (上記の TreeCache MBean の名前など) "
 "名を定義します。"
 
 #. Tag: programlisting
@@ -541,6 +538,9 @@
 "properly grouped to allow the cache to properly manage classloading. &lt;"
 "property name=\"hibernate.cache.region_prefix\" value=\"myprefix\"/&gt;"
 msgstr ""
+"最後にこの設定に “region_prefix” を提供します。これにより、この persistence.xml に関連付けられたすべてのキャッシュ済みアイテムが JBoss Cache で適切にまとめられます。jboss.cache:"
+"service=EJB3EntityTreeCache キャッシュは潜在的に複数の永続ユニットによって使用される共有リソースです。この共有キャッシュにキャッシュされたアイテムは、キャッシュが適切にクラスローディングを管理できるよう正しくグループ分けする必要があります。&lt;"
+"property name=\"hibernate.cache.region_prefix\" value=\"myprefix\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:97
@@ -554,10 +554,12 @@
 "it to set up specialized eviction regions (see below), so specifying your "
 "own region prefix is recommended."
 msgstr ""
+"領域接頭辞を提供しないと、JBoss が persistence.xml を含む EAR (存在する場合) の名前と JAR の名前に基づいて自動的に接頭辞を提供します。たとえば、foo.ear、bar.jar にパッケージ化された persistence.xml "
+"にはその領域接頭辞として “foo_ear,bar_jar” が提供されます。これは特別な除外領域 (下記参照) を設定する場合はわかりやすい領域接頭辞ではないため、独自に領域接頭辞を指定することをお勧めします。"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:105
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "Next we need to configure what entities be cached. The default is to not "
 "cache anything, even with the settings shown above. We use the <literal>@org."
@@ -566,12 +568,12 @@
 msgstr ""
 "次に、 キャッシュされるエンティティを設定する必要があります。 上述の設定が"
 "あっても、 デフォルトでは何もキャッシュしないことになっています。 キャッシュ"
-"される必要がある エンティティ bean にタグ付けするため <literal>@Cache</"
-"literal> アノテーションを使用します。"
+"される必要がある エンティティ bean にタグ付けするため <literal>@org."
+"hibernate.annotations.Cache</literal> アノテーションを使用します。"
 
 #. Tag: programlisting
 #: Clustering_Guide_Entity_EJBs.xml:106
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "@Entity \n"
 "@Cache(usage=CacheConcurrencyStrategy.TRANSACTIONAL) \n"
@@ -581,13 +583,13 @@
 msgstr ""
 "@Entity \n"
 "@Cache(usage=CacheConcurrencyStrategy.TRANSACTIONAL) \n"
-"public class Product implements Serializable { \n"
+"public class Account implements Serializable { \n"
 "  // ... ... \n"
 "}"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:107
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "A very simplified rule of thumb is that you will typically want to do "
 "caching for objects that rarely change, and which are frequently read. You "
@@ -602,18 +604,18 @@
 "literal>."
 msgstr ""
 "大雑把なルールとして、 あまり変更がなく頻繁に読み込まれるオブジェクト用に "
-"キャッシングをするのが良いでしょう。 <literal>ejb3-entity-cache-service.xml</"
-"literal> 設定 ファイルで各エンティティ bean に対してキャッシュを細かく調節す"
+"キャッシングをするのが良いでしょう。<literal>ejb3-entity-"
+"cache-service.xml</literal> 設定 ファイルで各エンティティ bean に対してキャッシュを細かく調節す"
 "ることができます。 例えば、 キャッシュのサイズを指定することができます。 "
 "キャッシュ内にオブジェクトが多すぎる場合、 キャッシュはもっとも古いオブジェク"
 "ト (または設定によっては使用頻度がもっとも少ないオブジェクト) を排除して新し"
-"いオブジェクトに領域を空けることができます。 <literal>mycompany.Customer</"
-"literal> エンティティ bean のキャッシュは <literal>/mycompany/Customer</"
-"literal> のキャッシュ領域になります。"
+"いオブジェクトに領域を空けることができます。<literal>persistence.xml</literal> で指定された region_prefix が myprefix であることを前提とすると、<literal>com.mycompany.entities.Account</"
+"literal> エンティティ bean のキャッシュ領域のデフォルト名は <literal>/myprefix/com/mycompany/entities/Account</"
+"literal> になります。"
 
 #. Tag: programlisting
 #: Clustering_Guide_Entity_EJBs.xml:109
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<![CDATA[\n"
 "<server>  \n"
@@ -644,35 +646,38 @@
 " </mbean> \n"
 "</server>]]>"
 msgstr ""
-"&lt;server&gt;  \n"
-"  &lt;mbean code=\"org.jboss.cache.TreeCache\" \n"
-"         name=\"jboss.cache:service=EJB3EntityTreeCache\"&gt;  \n"
-"    &lt;depends&gt;jboss:service=Naming \n"
-"    &lt;depends&gt;jboss:service=TransactionManager \n"
-"    ... ... \n"
-"    &lt;attribute name=\"EvictionPolicyConfig\"&gt;  \n"
-"      &lt;config&gt;  \n"
-"        &lt;attribute name=\"wakeUpIntervalSeconds\"&gt;5&lt;/"
-"attribute&gt;  \n"
-"        &lt;region name=\"/_default_\"&gt;  \n"
-"          &lt;attribute name=\"maxNodes\"&gt;5000&lt;/attribute&gt;  \n"
-"          &lt;attribute name=\"timeToLiveSeconds\"&gt;1000&lt;/"
-"attribute&gt;  \n"
-"        &lt;/region&gt;  \n"
-"        &lt;region name=\"/mycompany/Customer\"&gt;  \n"
-"          &lt;attribute name=\"maxNodes\"&gt;10&lt;/attribute&gt;  \n"
-"          &lt;attribute name=\"timeToLiveSeconds\"&gt;5000&lt;/"
-"attribute&gt;  \n"
-"        &lt;/region&gt;  \n"
-"        ... ... \n"
-"      &lt;/config&gt;  \n"
-"    &lt;/attribute&gt;  \n"
-"  &lt;/mbean&gt; \n"
-"&lt;/server&gt;"
+"<![CDATA[\n"
+"<server>  \n"
+"  <mbean code=\"org.jboss.cache.TreeCache\" \n"
+"                 name=\"jboss.cache:service=EJB3EntityTreeCache\"> \n"
+"                  ... ... \n"
+"          <attribute name=\"EvictionPolicyConfig\">  \n"
+"                  <config>  \n"
+"                          <attribute name=\"wakeUpIntervalSeconds\">5</"
+"attribute>  \n"
+"                          <region name=\"/_default_\">  \n"
+"                                  <attribute name=\"maxNodes\">5000</"
+"attribute>  \n"
+"                                  <attribute name=\"timeToLiveSeconds"
+"\">1000</attribute>  \n"
+"                          </region>  \n"
+"                  <!-- Separate eviction rules for Account entities -->\n"
+"                          <region name=\"/myprefix/com/mycompany/entities/"
+"Account\">  \n"
+"                                  <attribute name=\"maxNodes\">10000</"
+"attribute>  \n"
+"                                  <attribute name=\"timeToLiveSeconds"
+"\">5000</attribute>  \n"
+"                          </region>  \n"
+"                  ... ... \n"
+"                 </config>  \n"
+"         </attribute>  \n"
+" </mbean> \n"
+"</server>]]>"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:112
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "If you do not specify a cache region for an entity bean class, all instances "
 "of this class will be cached in the <literal>/_default</literal> region as "
@@ -683,13 +688,11 @@
 msgstr ""
 "エンティティ bean クラスにキャッシュ領域を指定しないと、 このクラスのインスタ"
 "ンスはすべて上記で定義されるように <literal>/_default</literal> 領域にキャッ"
-"シュされます。 EJB3 <literal>Query</literal> API  は指定キャッシュ領域からの"
-"クエリ結果 (エンティティ bean の集合) をロードするためメモリ節約の手段を提供"
-"します。"
+"シュされます。@Cache アノテーションはオプションの属性 “region” を公開します。この属性を使用すると、エンティティが保存されるキャッシュ領域を指定できます (エンティティクラスの完全修飾クラス名から自動的にキャッシュ領域を作成しません)。"
 
 #. Tag: programlisting
 #: Clustering_Guide_Entity_EJBs.xml:115
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "@Entity \n"
 "@Cache(usage=CacheConcurrencyStrategy.TRANSACTIONAL,\n"
@@ -699,20 +702,21 @@
 "}"
 msgstr ""
 "@Entity \n"
-"@Cache(usage=CacheConcurrencyStrategy.TRANSACTIONAL) \n"
-"public class Product implements Serializable { \n"
-"  // ... ... \n"
+"@Cache(usage=CacheConcurrencyStrategy.TRANSACTIONAL,\n"
+"region=”Account”) \n"
+"public class Account implements Serializable { \n"
+"// ... ... \n"
 "}"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:116
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The eviction configuration would then become:"
-msgstr "EJB アプリケーション設定"
+msgstr "除外設定は以下のようになります。"
 
 #. Tag: programlisting
 #: Clustering_Guide_Entity_EJBs.xml:117
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<![CDATA[                        \n"
 "<server>  \n"
@@ -739,37 +743,36 @@
 "        </mbean> \n"
 "</server>]]>"
 msgstr ""
-"&lt;server&gt;  \n"
-"  &lt;mbean code=\"org.jboss.cache.TreeCache\" \n"
-"         name=\"jboss.cache:service=EJB3EntityTreeCache\"&gt;  \n"
-"    &lt;depends&gt;jboss:service=Naming \n"
-"    &lt;depends&gt;jboss:service=TransactionManager \n"
-"    ... ... \n"
-"    &lt;attribute name=\"EvictionPolicyConfig\"&gt;  \n"
-"      &lt;config&gt;  \n"
-"        &lt;attribute name=\"wakeUpIntervalSeconds\"&gt;5&lt;/"
-"attribute&gt;  \n"
-"        &lt;region name=\"/_default_\"&gt;  \n"
-"          &lt;attribute name=\"maxNodes\"&gt;5000&lt;/attribute&gt;  \n"
-"          &lt;attribute name=\"timeToLiveSeconds\"&gt;1000&lt;/"
-"attribute&gt;  \n"
-"        &lt;/region&gt;  \n"
-"        &lt;region name=\"/mycompany/Customer\"&gt;  \n"
-"          &lt;attribute name=\"maxNodes\"&gt;10&lt;/attribute&gt;  \n"
-"          &lt;attribute name=\"timeToLiveSeconds\"&gt;5000&lt;/"
-"attribute&gt;  \n"
-"        &lt;/region&gt;  \n"
-"        ... ... \n"
-"      &lt;/config&gt;  \n"
-"    &lt;/attribute&gt;  \n"
-"  &lt;/mbean&gt; \n"
-"&lt;/server&gt;"
+"<![CDATA[                        \n"
+"<server>  \n"
+"        <mbean code=\"org.jboss.cache.TreeCache\" \n"
+"              name=\"jboss.cache:service=EJB3EntityTreeCache\"> \n"
+"                ... ... \n"
+"        <attribute name=\"EvictionPolicyConfig\">  \n"
+"        <config>  \n"
+"                <attribute name=\"wakeUpIntervalSeconds\">5</attribute>  \n"
+"                <region name=\"/_default_\">  \n"
+"                <attribute name=\"maxNodes\">5000</attribute>  \n"
+"                <attribute name=\"timeToLiveSeconds\">1000</attribute>  \n"
+"                        </region>  \n"
+"                <!-- Separate eviction rules for Account entities -->\n"
+"                        <region name=\"/myprefix/Account\">  \n"
+"                                <attribute name=\"maxNodes\">10000</"
+"attribute>  \n"
+"                                <attribute name=\"timeToLiveSeconds\">5000</"
+"attribute>  \n"
+"                        </region>  \n"
+"                        ... ... \n"
+"        </config>  \n"
+"        </attribute>  \n"
+"        </mbean> \n"
+"</server>]]>"
 
 #. Tag: title
 #: Clustering_Guide_Entity_EJBs.xml:122
 #, no-c-format
 msgid "Query result caching"
-msgstr ""
+msgstr "クエリ結果のキャッシュ"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:123
@@ -781,20 +784,20 @@
 "example of annotating a bean with a named query, also providing the "
 "Hibernate-specific hints that tells Hibernate to cache the query."
 msgstr ""
+"EJB3 のクエリ API を使用すると、指定されたクエリの結果 (エンティティ bean の 1 次キーの集まりやスカラー値の集まりなど) を 2 次キャッシュに保存できます。ここでは、bean に名前付きクエリのアノテーションを付ける簡単な例を示し、Hibernate でクエリをキャッシュするための "
+"Hibernate 固有のヒントも提供します。"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:126
 #, no-c-format
-msgid ""
-"First, in persistence.xml you need to tell Hibernate to enable query caching:"
-msgstr ""
+msgid "First, in persistence.xml you need to tell Hibernate to enable query caching:"
+msgstr "最初に persistence.xml で Hibernate がクエリキャッシュを有効にするよう指定する必要があります。"
 
 #. Tag: screen
 #: Clustering_Guide_Entity_EJBs.xml:129
 #, no-c-format
-msgid ""
-"&lt;property name=\"hibernate.cache.use_query_cache\" value=\"true\"/&gt;"
-msgstr ""
+msgid "&lt;property name=\"hibernate.cache.use_query_cache\" value=\"true\"/&gt;"
+msgstr "&lt;property name=\"hibernate.cache.use_query_cache\" value=\"true\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:130
@@ -802,7 +805,7 @@
 msgid ""
 "Next, you create a named query associated with an entity, and tell Hibernate "
 "you want to cache the results of that query:"
-msgstr ""
+msgstr "次に、エンティティに関連付けられた名前付きクエリを作成し、そのクエリの結果をキャッシュすることを Hibernate に指示します。"
 
 #. Tag: programlisting
 #: Clustering_Guide_Entity_EJBs.xml:133
@@ -822,6 +825,19 @@
 "// ... ... \n"
 "}]]>"
 msgstr ""
+"<![CDATA[ \n"
+"@Entity\n"
+"@Cache (usage=CacheConcurrencyStrategy.TRANSACTIONAL,\n"
+"region=”Account”)\n"
+"@NamedQueries({\n"
+"@NamedQuery(name=\"account.bybranch\",\n"
+"query=\"select acct from Account as acct where acct.branch = ?1\",\n"
+"hints={@QueryHint(name=\"org.hibernate.cacheable\",value=\"true"
+"\")})           \n"
+"})\n"
+"public class Account implements Serializable { \n"
+"// ... ... \n"
+"}]]>"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:135
@@ -831,6 +847,8 @@
 "javax.persistence package.See the Hibernate and EJB3 documentation for more "
 "on how to use EJB3 queries and on how to instruct EJB3 to cache queries."
 msgstr ""
+"@NamedQueries、@NamedQuery、および @QueryHint アノテーションはすべて "
+"javax.persistence パッケージに含まれます。EJB3 クエリの使用方法とクエリをキャッシュするよう EJB3 に指示する方法の詳細については、Hibernate と EJB3 のドキュメントを参照してください。"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:138
@@ -842,6 +860,8 @@
 "region prefix were set to myprefix in persistence.xml, you could, for "
 "example, create this sort of eviction handling:"
 msgstr ""
+"デフォルトでは、Hibernate は JBoss Cache の "
+"{region_prefix}/org/hibernate/cache/StandardQueryCache という名前の領域にクエリ結果を保存します。これに基づき、クエリ結果に対して異なる除外処理を設定できます。persistence.xml で領域接頭辞が myprefix に設定されている場合は、たとえば、以下のような除外処理を作成できます。"
 
 #. Tag: programlisting
 #: Clustering_Guide_Entity_EJBs.xml:142
@@ -885,6 +905,43 @@
 "</server>\n"
 "          ]]>"
 msgstr ""
+"<![CDATA[ \n"
+"<server>  \n"
+"          <mbean code=\"org.jboss.cache.TreeCache\" \n"
+"                 name=\"jboss.cache:service=EJB3EntityTreeCache\">\n"
+"                  ... ... \n"
+"                  <attribute name=\"EvictionPolicyConfig\">  \n"
+"                          <config>  \n"
+"                          <attribute name=\"wakeUpIntervalSeconds\">5</"
+"attribute>  \n"
+"                                  <region name=\"/_default_\">  \n"
+"                                  <attribute name=\"maxNodes\">5000</"
+"attribute>  \n"
+"                                  <attribute name=\"timeToLiveSeconds"
+"\">1000</attribute>  \n"
+"                                  </region>  \n"
+"                                  <!-- Separate eviction rules for Account "
+"entities -->\n"
+"                                  <region name=\"/myprefix/Account\">  \n"
+"                                          <attribute name=\"maxNodes"
+"\">10000</attribute>  \n"
+"                                          <attribute name=\"timeToLiveSeconds"
+"\">5000</attribute>  \n"
+"                                  </region>\n"
+"                                  <!-- Cache queries for 10 minutes -->\n"
+"                                  <region name=\"/myprefix/org/hibernate/"
+"cache/StandardQueryCache\">  \n"
+"                                          <attribute name=\"maxNodes\">100</"
+"attribute>  \n"
+"                                          <attribute name=\"timeToLiveSeconds"
+"\">600</attribute>  \n"
+"                                  </region>  \n"
+"                                  ... ... \n"
+"                          </config>  \n"
+"                  </attribute>  \n"
+"          </mbean> \n"
+"</server>\n"
+"          ]]>"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:144
@@ -896,6 +953,8 @@
 "use instead ofthe default /org/hibernate/cache/StandardQueryCache. For "
 "example:"
 msgstr ""
+"上記の @NamedQuery.hints 属性はベンダー固有の @QueryHints の配列を値として取得します。Hibernate は “org.hibernate."
+"cacheRegion” クエリヒントを受け取ります。ここで、この値はデフォルトの /org/hibernate/cache/StandardQueryCache の代わりに使用するキャッシュ領域の名前です。たとえば、以下のようになります。"
 
 #. Tag: programlisting
 #: Clustering_Guide_Entity_EJBs.xml:147
@@ -916,12 +975,26 @@
 "        // ... ... \n"
 "        }]]>"
 msgstr ""
+"<![CDATA[\n"
+"        @Entity\n"
+"        @Cache (usage=CacheConcurrencyStrategy.TRANSACTIONAL,\n"
+"        region=”Account”)\n"
+"        @NamedQueries({\n"
+"        @NamedQuery(name=\"account.bybranch\",\n"
+"        query=\"select acct from Account as acct where acct.branch = ?1\",\n"
+"        hints={@QueryHint(name=\"org.hibernate.cacheable\",value=\"true\"),\n"
+"        @QueryHint(name=”org.hibernate.cacheRegion,value=”Queries”)\n"
+"        })           \n"
+"        })\n"
+"        public class Account implements Serializable { \n"
+"        // ... ... \n"
+"        }]]>"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:148
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The related eviction configuration:"
-msgstr "production 構成"
+msgstr "関連する除外設定:"
 
 #. Tag: programlisting
 #: Clustering_Guide_Entity_EJBs.xml:151
@@ -963,3 +1036,39 @@
 "        </mbean> \n"
 "</server>]]>"
 msgstr ""
+"<![CDATA[        \n"
+"<server>  \n"
+"        <mbean code=\"org.jboss.cache.TreeCache\" \n"
+"               name=\"jboss.cache:service=EJB3EntityTreeCache\">\n"
+"                ... ... \n"
+"                <attribute name=\"EvictionPolicyConfig\">  \n"
+"                        <config>  \n"
+"                                <attribute name=\"wakeUpIntervalSeconds\">5</"
+"attribute>  \n"
+"                                <region name=\"/_default_\">  \n"
+"                                        <attribute name=\"maxNodes\">5000</"
+"attribute>  \n"
+"                                        <attribute name=\"timeToLiveSeconds"
+"\">1000</attribute>  \n"
+"                                </region>  \n"
+"                                <!-- Separate eviction rules for Account "
+"entities -->\n"
+"                                <region name=\"/myprefix/Account\">  \n"
+"                                        <attribute name=\"maxNodes\">10000</"
+"attribute>  \n"
+"                                        <attribute name=\"timeToLiveSeconds"
+"\">5000</attribute>  \n"
+"                                </region>\n"
+"                                <!-- Cache queries for 10 minutes -->\n"
+"                                <region name=\"/myprefix/Queries\">  \n"
+"                                        <attribute name=\"maxNodes\">100</"
+"attribute>  \n"
+"                                        <attribute name=\"timeToLiveSeconds"
+"\">600</attribute>  \n"
+"                                </region>  \n"
+"                                ... ... \n"
+"                        </config>  \n"
+"                </attribute>  \n"
+"        </mbean> \n"
+"</server>]]>"
+




More information about the jboss-cvs-commits mailing list