[jboss-cvs] JBossAS SVN: r78175 - projects/docs/enterprise/4.3/Cache/Cache_Pojo_Cache_Guide/ja-JP.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Sep 8 05:15:31 EDT 2008
Author: noriko
Date: 2008-09-08 05:15:31 -0400 (Mon, 08 Sep 2008)
New Revision: 78175
Modified:
projects/docs/enterprise/4.3/Cache/Cache_Pojo_Cache_Guide/ja-JP/Architecture.po
projects/docs/enterprise/4.3/Cache/Cache_Pojo_Cache_Guide/ja-JP/Jbossaop.po
Log:
translating...
Modified: projects/docs/enterprise/4.3/Cache/Cache_Pojo_Cache_Guide/ja-JP/Architecture.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Pojo_Cache_Guide/ja-JP/Architecture.po 2008-09-08 08:00:47 UTC (rev 78174)
+++ projects/docs/enterprise/4.3/Cache/Cache_Pojo_Cache_Guide/ja-JP/Architecture.po 2008-09-08 09:15:31 UTC (rev 78175)
@@ -1,36 +1,39 @@
+# translation of Architecture.po to Japanese
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
# Automatically generated, 2007.
-#
+# Noriko Mizumoto <noriko at redhat.com>, 2008.
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Architecture\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-05-30 04: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-09-08 19:15+1000\n"
+"Last-Translator: Noriko Mizumoto <noriko at redhat.com>\n"
+"Language-Team: Japanese <fedora-trans-ja at redhat.com>\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
#: Architecture.xml:10
#, no-c-format
msgid "Architecture"
-msgstr ""
+msgstr "ã¢ã¼ããã¯ãã£"
#. Tag: para
#: Architecture.xml:11
#, no-c-format
msgid "Following explains the concepts and top-level design of PojoCache."
-msgstr ""
+msgstr "ãããã㯠PojoCache ã®ã³ã³ã»ããã¨ãããã¬ãã«ã®ãã¶ã¤ã³ã«ã¤ãã¦èª¬æãã¦ããã¾ãã"
#. Tag: title
#: Architecture.xml:14
#, no-c-format
msgid "Dynamic AOP interception"
-msgstr ""
+msgstr "åç㪠AOP ã¤ã³ã¿ã¼ã»ãã"
#. Tag: para
#: Architecture.xml:15
@@ -48,7 +51,7 @@
"<literal>InstanceAdvisor</literal> object. Afterward, any POJO field "
"modification will invoke the corresponding <literal>CacheInterceptor</"
"literal> instance. Below is a schematic illustration of this process."
-msgstr ""
+msgstr "JBossAop ã§ã¯ã©ã³ã¿ã¤ã ã«ã¤ã³ã¿ã¼ã»ãã¿ã追å ã§ãã API (<literal>appendInterceptor</literal>) ãæä¾ãã¦ãã¾ãã PojoCache ã¯ãã®æ©è½ãåºç¯å²ã«ä½¿ç¨ãã¦ã¦ã¼ã¶ã¼ééæ§ãå®ç¾ãã¾ãã ãã¢ã¹ãã¯ãåããããPOJO ã¯ã©ã¹ã«ã¯ãã¹ã¦é¢é£ã¥ãããã <literal>org.jboss.aop.InstanceAdvisor</literal> ã¤ã³ã¹ã¿ã³ã¹ãããã¾ãã <literal>putObject(FQN fqn, Object pojo)</literal> ã®åä½ä¸ (以ä¸ã«è¨è¼ããã API)ã PojoCache ã¯ãã§ã« <literal>org.jboss.cache.aop.CacheInterceptor</literal> ãæ·»ä»ããããã®ããããã©ããã確èªãã¾ãã (<literal>CacheInterceptor</literal> ã¯ãã£ãã·ã¥ã®å
容ãåçã«ç®¡çãã PojoCache ã®å
¥å£ã«ãªãã¾ãã) ãªãå ´åã <literal>InstanceAdvisor</literal> ãªãã¸ã§ã¯ãã«è¿½å ããã¾ãã 以å¾ã POJO ãã£ã¼ã«ãã®å¤æ´ã«ãã該å½ãã <literal>CacheInterceptor</literal> ã¤ã³ã!
¹ã¿ã³ã¹ãå¼ã³åºããã¾ãã 以ä¸ã«ãã®ããã»ã¹ã®å³å¼ã示ãã¾ãã"
#. Tag: para
#: Architecture.xml:18
@@ -58,7 +61,7 @@
"level read write. From the perspective of PojoCache, field level "
"interception is the appropriate mechanism to synchronize with the backend "
"cache store. Please note that,"
-msgstr ""
+msgstr "JBossAop ã«ã¯ã¡ã½ããã¬ãã«ã®å¼ã³åºãã¨ãã£ã¼ã«ãã¬ãã«ã®èªã¿åãæ¸ãè¾¼ã¿ã®ä¸¡æ¹ãã¤ã³ã¿ã¼ã»ããããæ©è½ãããã¾ãã PojoCache ã®è¦³ç¹ããã¯ã ãã£ã¼ã«ãã¬ãã«ã®ã¤ã³ã¿ã¼ã»ãããããã¯ã¨ã³ãã®ãã£ãã·ã¥ã¹ãã¢ã¨ã®åæã«é©ããã¡ã«ããºã ã¨ãªãã¾ãã 次ã®ç¹ã«æ³¨æãã¦ãã ããã"
#. Tag: para
#: Architecture.xml:21
@@ -67,7 +70,7 @@
"the filed level interception applies to all access qualifiers. That is, "
"regardless whether it is <literal>public</literal>, <literal>protected</"
"literal>, or <literal>private</literal>"
-msgstr ""
+msgstr "ãã£ã¼ã«ãã¬ãã«ã®ã¤ã³ã¿ã¼ã»ããã¯ãã¹ã¦ã®ã¢ã¯ã»ã¹ä¿®é£¾åã«é©ç¨ããã¾ãã ã¤ã¾ãã <literal>public</literal>ã <literal>protected</literal>ã <literal>private</literal> ã«é¢ä¿ãªãé©ç¨ãããã¨ãããã¨ã«ãªãã¾ãã"
#. Tag: para
#: Architecture.xml:24
@@ -77,7 +80,7 @@
"<literal>static</literal>, and <literal>transient</literal> qualifiers. As a "
"result, any field with these 3 qualifiers will not be replicated or "
"persisted."
-msgstr ""
+msgstr "<literal>final</literal>ã <literal>static</literal>ã ããã³ <literal>transient</literal> ã®ä¿®é£¾åãã¤ãããã£ã¼ã«ãã«å¯¾ãã¦ã¯ã¤ã³ã¿ã¼ã»ãããçç¥ãã¾ãã çµæã ãããã® 3 種é¡ã®ä¿®é£¾åãä»ããã£ã¼ã«ãã¯ãã¹ã¦è¤è£½ãããªãã¾ãã¯æ°¸ç¶åããã¾ããã"
#. Tag: para
#: Architecture.xml:28
@@ -93,24 +96,26 @@
"because the value in cache and memory should have been synchronized during "
"write operation. As a result, the field value from the cache is returned."
msgstr ""
+"以ä¸ã®å³ã§ã¯ãã£ã¼ã«ãã®èªã¿åãã¨æ¸ãè¾¼ã¿ã®å®è¡åä½ã«ã¤ãã¦ç¤ºãã¦ãã¾ãã POJO ããã£ãã·ã¥ã§ç®¡çããã㨠(ã¤ã¾ãã <literal>putObject</literal> ã¡ã½ãããå¼ã³åºãããå¾)ã Aop ã¯ãã£ã¼ã«ãã®èªã¿åãã¾ãã¯æ¸ãè¾¼ã¿ããã度ã«èªåçã« <literal>CacheInterceptor</"
+"literal> ãå¼ã³åºãã¾ãã ãã ãã 次ã®éãã«ã¤ãã¦ç解ãã¦ããå¿
è¦ãããã¾ãã ãã£ã¼ã«ãã®æ¸ãè¾¼ã¿åä½ã¯ã¾ããã£ãã·ã¥ã«è¡ã£ã¦ããã¡ã¢ãªå
ã®æ´æ°ãå¼ã³åºãã¾ããã ãã£ã¼ã«ãã®èªã¿åãå¼ã³åºãã¯ã¡ã¢ãªå
åç
§ã¨ã¯ã¾ã£ããé¢ä¿ããã¾ããã ãã£ãã·ã¥ã¨ã¡ã¢ãªå
ã®å¤ã¯æ¸ãè¾¼ã¿åä½ä¸ã«åæããã¦ããããã§ãã çµæã ãã£ãã·ã¥ããã®ãã£ã¼ã«ãå¤ãè¿ããã¾ãã"
#. Tag: title
#: Architecture.xml:32
#, no-c-format
msgid "Dynamic AOP interception for field write"
-msgstr ""
+msgstr "ãã£ã¼ã«ãæ¸ãè¾¼ã¿ã®åç AOP ã¤ã³ã¿ã¼ã»ãã¿"
#. Tag: title
#: Architecture.xml:40
#, no-c-format
msgid "Dynamic AOP Interception for field read"
-msgstr ""
+msgstr "ãã£ã¼ã«ãèªã¿åãã®åç AOP ã¤ã³ã¿ã¼ã»ãã¿"
#. Tag: title
#: Architecture.xml:47 Architecture.xml:90
#, no-c-format
msgid "Object mapping by reachability"
-msgstr ""
+msgstr "å°éå¯è½æ§ã«ãããªãã¸ã§ã¯ãã®ãããã³ã°"
#. Tag: para
#: Architecture.xml:48
@@ -124,19 +129,19 @@
"<literal>InstanceAdvisor</literal> associated with that object, as we have "
"discussed above. In addition, the cache will map recursively the primitive "
"object fields into the corresponding cache nodes."
-msgstr ""
+msgstr "å®ç¾©ã«ããè¤éãªãªãã¸ã§ã¯ãã¯è¤åãªãã¸ã§ã¯ãã®åç
§ããæ§æãããå¯è½æ§ããããªãã¸ã§ã¯ãã«ãªãã¾ãã è¤éãªãªãã¸ã§ã¯ãããprepareããããã¨å®£è¨ããã㨠(<literal>Person</literal> ãªãã¸ã§ã¯ããªã©)ã ä¸è¿°ã®ããã« <literal>putObject(Fqn fqn, Object pojo)</literal> ã®åä½ä¸ã« PojoCache 㯠<literal>CacheInterceptor</literal> ã¤ã³ã¹ã¿ã³ã¹ããã®ãªãã¸ã§ã¯ãã«é¢é£ã¥ãããã <literal>InstanceAdvisor</literal> ã«è¿½å ãã¾ãã ã¾ãã ãã£ãã·ã¥ã¯åºæ¬ã®ãªãã¸ã§ã¯ããã£ã¼ã«ãã該å½ãããã£ãã·ã¥ãã¼ãã«å帰çã«ãããã³ã°ãã¾ãã"
#. Tag: para
#: Architecture.xml:51
#, no-c-format
msgid "The mapping rule is as follows:"
-msgstr ""
+msgstr "ãããã³ã°ã®ã«ã¼ã«ã¯æ¬¡ã®éãã§ãã"
#. Tag: para
#: Architecture.xml:56
#, no-c-format
msgid "Create a tree node using <literal>fqn</literal>, if not yet existed."
-msgstr ""
+msgstr "ããªã¼ãã¼ããåå¨ããªãå ´å㯠<literal>fqn</literal> ã使ã£ã¦ããªã¼ãã¼ããä½æãã"
#. Tag: para
#: Architecture.xml:61
@@ -144,7 +149,7 @@
msgid ""
"Go through all the fields (say, with an association <literal>java.lang."
"reflect.Field</literal> type field) in POJO,"
-msgstr ""
+msgstr "POJO å
ã®å
¨ãã£ã¼ã«ãã確èªãã (ä¾ã <literal>java.lang.reflect.Field</literal> ã¿ã¤ããã£ã¼ã«ãã¨ã®é¢é£) "
#. Tag: para
#: Architecture.xml:66
@@ -156,6 +161,8 @@
"types supported now: <literal>String, Boolean, Double, Float, Integer, Long, "
"Short, Character.</literal>"
msgstr ""
+"åºæ¬ã¿ã¤ãã®å ´åã ãã£ã¼ã«ãå¤ã¯ <literal>"
+"(field.getName(), field.getValue()).</literal> ã® <literal>(key, value)</literal> çµã¿åãã㧠<literal>fqn</literal> ã«æ ¼ç´ãããã ç¾å¨ãµãã¼ãããã¦ããåºæ¬ã¿ã¤ãã¯ã <literal>Stringã Booleanã Doubleã Floatã Integerã Longã Shortã Character</literal>ã"
#. Tag: para
#: Architecture.xml:71
@@ -164,13 +171,13 @@
"If it is a non-primitive type, creates a child <literal>FQN</literal> and "
"then recursively executes another <literal>pubObject</literal> until it "
"reaches all primitive types."
-msgstr ""
+msgstr "åºæ¬ã¿ã¤ãã§ã¯ãªãå ´åã å <literal>FQN</literal> ãä½æããã¹ã¦ã®åºæ¬ã¿ã¤ãã«å°éããã¾ã§å¥ã® <literal>pubObject</literal> ãå帰çã«å®è¡ãã"
#. Tag: para
#: Architecture.xml:78
#, no-c-format
msgid "Following is a code snippet that illustrates this mapping process"
-msgstr ""
+msgstr "ãã®ãããã³ã°ã®ããã»ã¹ã示ãã³ã¼ãã®ä¸é¨ã以ä¸ã«ç¤ºãã¾ãã"
#. Tag: programlisting
#: Architecture.xml:81
@@ -186,6 +193,15 @@
" putObject(new Fqn(fqn, field.getName()), value);\n"
"}"
msgstr ""
+"for (Iterator i = type.getFields().iterator(); i.hasNext();) {\n"
+" Field field = (Field) i.next();\n"
+" Object value = field.get(obj);\n"
+" CachedType fieldType = getCachedType(field.getType());\n"
+" if (fieldType.isImmediate()) {\n"
+" immediates.put(field.getName(), value);\n"
+"} else {\n"
+" putObject(new Fqn(fqn, field.getName()), value);\n"
+"}"
#. Tag: para
#: Architecture.xml:82
@@ -197,6 +213,8 @@
"literal> call, the resulting tree node will schematically look like the "
"cache node in the following figures:"
msgstr ""
+"ã®åºæ¬ã¿ã¤ãã§ã¯ãªãã¿ã¤ã (List ããã³ Address) ã®è¤åãæ㤠<literal>Person</literal> ãªãã¸ã§ã¯ããããä»é²ã»ã¯ã·ã§ã³ã®ãµã³ãã«ã® POJO ã¯ã©ã¹å®ç¾©ãè¦ã¦ã¿ã¾ãã <literal>putObject</"
+"literal> ã³ã¼ã«ãå®è¡ããã¨ã çµæã¨ãªãããªã¼ãã¼ãã¯æ¬¡ã®ããã«å³å¼çãªãã£ãã·ã¥ãã¼ãã«ãªãã¾ãã"
#. Tag: programlisting
#: Architecture.xml:85
@@ -207,6 +225,10 @@
"\n"
"cache.putObject(\"/aop/joe\", joe);"
msgstr ""
+"Person joe = new Person();\n"
+"joe.setAddress(new Address());\n"
+"\n"
+"cache.putObject(\"/aop/joe\", joe);"
#. Tag: para
#: Architecture.xml:86
@@ -228,7 +250,7 @@
"stored inside the respective node's HashMap (e.g., <literal>addr</literal> "
"will have <literal>Zip</literal> , <literal>Street</literal> , etc. stored "
"there)."
-msgstr ""
+msgstr "PojoCache API ã®è©³ç´°ã«ã¤ãã¦ã¯å¾åã§èª¬æãããã¨ã«ãã¾ãã ãã ãã å°éå¯è½æ§ã«ãããªãã¸ã§ã¯ãã®ãããã³ã°ã«ã¤ãã¦ã¯æ¬¡ã®å³ãã覧ãã ããã fqn <literal>/aop/joe</literal> ã¯POJO <literal>joe</literal> ã«é¢é£ã¥ãããã¾ãã ãã® fqn ã«ã¯ã <literal>addrã</literal> <literal>skillsã</literal> <literal>language</literal> ã¨ãã 3 ã¤ã®åãã¼ããããã¾ãã <literal>Person</literal> ã¯ã©ã¹ã®å®£è¨ã確èªãã¦ã¿ãã¨ã <literal>addr</literal> 㯠<literal>Address</literal> ã¯ã©ã¹ã <literal>skills</literal> 㯠<literal>Set</literal>ã <literal>language</literal> 㯠<literal>List</literal> ã®ã¿ã¤ãã§ãããã¨ããããã¾ãã ãããã¯åºæ¬ã§ã¯ãªãããã ãã¹ã¦ã®åºæ¬ã¿ã¤ãã«å°éããã¾ã§è¦ªãªãã¸ã§ã¯ã (<literal>joe</literal>) ã®ä¸ã«å帰çã«æ¿å
¥ããã¾ãã ãã®ããã«ãã¦ã ãªãã¸ã§ã¯ãã°ã©ã!
ãå
é¨æ§é ã«ãã¾ãåããããªããªã¼è¡¨ç¤ºã«åå²ãã¦ãã¾ãã ã¾ãã åºæ¬ã¿ã¤ãã¯ãã¹ã¦ããããã®ãã¼ãã® HashMap å
ã«æ ¼ç´ãããã®ã§æ³¨æãã¦ãã ãã (<literal>addr</literal> ã¯ããã« <literal>Zip</literal> ã <literal>Street</literal> ãªã©ãæ ¼ç´ãã)ã"
#. Tag: para
#: Architecture.xml:97
@@ -238,7 +260,7 @@
"feature that we just explained. Notice how a <literal>Person</literal> "
"object (e.g., <literal>joe</literal>) that has complex object references "
"will be mapped into the underlying cache store as explained above."
-msgstr ""
+msgstr "ããã¾ã§èª¬æãã¦ããå°éå¯è½æ§ã«ãããªãã¸ã§ã¯ãã®ãããã³ã°æ©è½ãè¡ãã³ã¼ãã®ä¸é¨ã以ä¸ã«ç¤ºãã¾ãã è¤éãªãªãã¸ã§ã¯ãåç
§ãæ㤠<literal>Person</literal> ãªãã¸ã§ã¯ã (<literal>joe</literal>) ãã©ã®ããã«åºç¤ã¨ãªããã£ãã·ã¥ã¹ãã¢ã«ãããã³ã°ãããã®ããããã¾ãã"
#. Tag: programlisting
#: Architecture.xml:100
@@ -271,6 +293,32 @@
"// of cache contents automatically.\n"
"joe.setAge(41);"
msgstr ""
+"import org.jboss.cache.PropertyConfigurator;\n"
+"import org.jboss.cache.aop.PojoCache;\n"
+"import org.jboss.test.cache.test.standAloneAop.Person;\n"
+"import org.jboss.test.cache.test.standAloneAop.Address;\n"
+"\n"
+"PojoCache tree = new PojoCache();\n"
+"PropertyConfigurator config = new PropertyConfigurator(); // configure tree "
+"cache.\n"
+"config.configure(tree, \"META-INF/replSync-service.xml\");\n"
+"\n"
+"Person joe = new Person(); // instantiate a Person object named joe\n"
+"joe.setName(\"Joe Black\");\n"
+"joe.setAge(31);\n"
+"\n"
+"Address addr = new Address(); // instantiate a Address object named addr\n"
+"addr.setCity(\"Sunnyvale\");\n"
+"addr.setStreet(\"123 Albert Ave\");\n"
+"addr.setZip(94086);\n"
+"joe.setAddress(addr); // set the address reference\n"
+"\n"
+"tree.startService(); // kick start tree cache\n"
+"tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object (and sub-"
+"objects) into cache.\n"
+"// since it is aspectized, use of plain get/set methods will take care\n"
+"// of cache contents automatically.\n"
+"joe.setAge(41);"
#. Tag: para
#: Architecture.xml:101
@@ -280,7 +328,7 @@
"instantiating the <literal>PojoCache</literal> , configuring, and starting "
"the cache instance. Then, a user creates the aspectized POJO that will be "
"put into the cache using <literal>putObject()</literal> API."
-msgstr ""
+msgstr "å
¸åç㪠<literal>PojoCache</literal> ã®ä½¿ç¨ç¨é㯠<literal>PojoCache</literal> ã®ã¤ã³ã¹ã¿ã³ã¹åã è¨å®ã ãã£ãã·ã¥ã¤ã³ã¹ã¿ã³ã¹ã®èµ·åã«é¢é£ãã¦ããã®ã§æ³¨æãã¦ãã ããã 次ã«ã ã¦ã¼ã¶ã¼ã¯ <literal>putObject()</literal> API ã使ã£ã¦ãã£ãã·ã¥å
ã«ç½®ãããã¢ã¹ãã¯ãå POJO ãä½æãã¾ãã"
#. Tag: para
#: Architecture.xml:104
@@ -295,6 +343,8 @@
"replicated GUI point of view. Details of Collection class support will be "
"given later."
msgstr ""
+"ã¾ãã PojoCache ãããã¤ãã® <literal>Collection</literal> ã¯ã©ã¹ (<literal>List</literal> ã "
+"<literal>Map</literal>ã ããã³ <literal>Set</literal>) ã®ãã©ã¡ã¼ã¿ã¿ã¤ãã§èªåçã« get/set ããµãã¼ããã¾ãã ãã¨ãã°ã 次ã®ã³ã¼ã (ä¸é¨) ã¯ä¸è¨ã®ä¾ã«å ã㦠PojoCache ã <literal>Languages</literal> ä¸è¦§ã®ç¶æ
ã管çã§ããããã«ãã¾ãã å³ã®æ¹ã§ã¯è¤è£½ããã GUI å´ããè¦ããã¼ãæ§æã示ãã¾ãã Collection ã¯ã©ã¹ãµãã¼ãã®è©³ç´°ã¯å¾åã§èª¬æãã¾ãã"
#. Tag: programlisting
#: Architecture.xml:107
@@ -305,18 +355,22 @@
"lang.add(\"Mandarin\");\n"
"joe.setLanguages(lang);"
msgstr ""
+"ArrayList lang = new ArrayList();\n"
+"lang.add(\"Ensligh\");\n"
+"lang.add(\"Mandarin\");\n"
+"joe.setLanguages(lang);"
#. Tag: title
#: Architecture.xml:109
#, no-c-format
msgid "Schematic illustration of List class mapping"
-msgstr ""
+msgstr "ã¯ã©ã¹ãããã³ã°ä¸è¦§ã®å³å¼"
#. Tag: title
#: Architecture.xml:116
#, no-c-format
msgid "Object relationship management"
-msgstr ""
+msgstr "ãªãã¸ã§ã¯ãé¢ä¿ã®ç®¡ç"
#. Tag: para
#: Architecture.xml:117
@@ -331,7 +385,7 @@
"mapping will be needed outside of the cache system to express the object "
"relationship. PojoCache, in contrast, can manage object relationship "
"transparently for users."
-msgstr ""
+msgstr "説æãã¦ããããã«ã å¾æ¥ã®ãã£ãã·ã¥ã·ã¹ãã ã¯ã·ãªã¢ã©ã¤ãºä¸ (æ°¸ç¶ãã¼ã¿ã¹ãã¢ã¨ãªãã¾ãã¯ä»ã®ã¡ã¢ãªå
ãã¼ãã«è¤è£½ããã) ã®ãªãã¸ã§ã¯ãé¢ä¿ã®ç®¡çã«ã¤ãã¦ã¯ãµãã¼ããã¦ãã¾ããã ãªãã¸ã§ã¯ãã®é¢ä¿ã®ä¾ã¨ãã¦ã¯ã 家æã§å
±æãããã¢ãã¬ã¹ãªãã¸ã§ã¯ãã親åé¢ä¿ãªã©ã«ãªãã¾ãã ããããé¢ä¿ã¯ãã¹ã¦ãªãã¸ã§ã¯ããè¤è£½ãããã¯æ°¸ç¶åãããã¨ãªããªãã¾ãã çµæã ãªãã¸ã§ã¯ãã®é¢ä¿ã表ç¾ããããã«æ示çãªãããã³ã°ããã£ãã·ã¥ã·ã¹ãã ã®å¤å´ã«å¿
è¦ã¨ãªãã¾ãã 対ç
§çã«ã PojoCache ã¯ã¦ã¼ã¶ã¼ã«å¯¾ãã¦ééçã«ãªãã¸ã§ã¯ãã®é¢ä¿ã管çãããã¨ãå¯è½ã¨ãªãã¾ãã"
#. Tag: para
#: Architecture.xml:120
@@ -343,7 +397,7 @@
"literal>. If a new object created in the cache referenced to another POJO, a "
"referenced <literal>fqn</literal> will be stored there to redirect any query "
"and update to the original node."
-msgstr ""
+msgstr "ãããã³ã°ã®ããã»ã¹ä¸ã ãã®é¢é£ãªãã¸ã§ã¯ãã®ãããããè¤æ°åç
§ã§ããã循ç°åç
§ã§ãããã確èªãã¾ãã ã¡ã«ããºã ãã«ã¦ã³ãããåç
§ã <literal>CacheInterceptor</literal> ã«é¢é£ã¥ãããã¦å®è£
ããã¦ãã¾ãã å¥ã® POJO ã«å¯¾ãã¦åç
§ããããã£ãã·ã¥å
ã«æ°ãããªãã¸ã§ã¯ããä½æãããã¨ã åç
§ <literal>fqn</literal> ã¯ããã«æ ¼ç´ãããªãªã¸ãã«ã®ãã¼ãã«å¯¾ããã¯ã¨ãªãæ´æ°ããªãã¤ã¬ã¯ããã¾ãã"
#. Tag: para
#: Architecture.xml:123
@@ -357,13 +411,13 @@
"detect a multiple reference (in this case, the <literal>Address</literal>), "
"we will keep track of the reference counting for the sub-object "
"<literal>addr.</literal>"
-msgstr ""
+msgstr "ä¾ãã²ã¨ã¤ãããã¨ã è¤æ°ã® <literal>Person</literal> (\"joe\" and \"mary\") ãªãã¸ã§ã¯ããåã <literal>Address</literal> ãææã§ããã¨ãã¾ã (家æ)ã ããªã¼ãã¼ãå
ãå³ã§ç¤ºãã¨ä»¥ä¸ã®ããã«ãªãã¾ãã å°éå¯è½æ§ã«ãããããã³ã°ã«ã¤ãã¦åã®ã»ã¯ã·ã§ã³ã§èª¬æããããã«ã POJO ã¯ãã£ãã·ã¥ã«å帰çã«ãããã³ã°ãè¡ãã¾ãã ãã ãã è¤æ°ã®åç
§ãæ¤åºããå ´å (ãã®å ´å <literal>Address</literal>)ã ãµããªãã¸ã§ã¯ã <literal>addr</literal> ã«å¯¾ãã¦åç
§ã«ã¦ã³ãã®è¿½è·¡ãè¡ãã¾ãã"
#. Tag: title
#: Architecture.xml:127
#, no-c-format
msgid "Schematic illustration of object relationship mapping"
-msgstr ""
+msgstr "ãªãã¸ã§ã¯ãã®é¢ä¿ãããã³ã°ã®å³å¼"
#. Tag: para
#: Architecture.xml:134
@@ -371,7 +425,7 @@
msgid ""
"In the following code snippet, we show programmatically the object sharing "
"example."
-msgstr ""
+msgstr "次ã®ã³ã¼ãã®ä¸é¨ã§ã¯ã ããã°ã©ã çãªãªãã¸ã§ã¯ãå
±æã®ä¾ã示ãã¾ãã"
#. Tag: programlisting
#: Architecture.xml:137
@@ -416,6 +470,44 @@
"tree.removeObject(\"/aop/joe\");\n"
"maryAddr = mary.getAddress(); // Should still have the address."
msgstr ""
+"import org.jboss.cache.PropertyConfigurator;\n"
+"import org.jboss.cache.aop.PojoCache;\n"
+"import org.jboss.test.cache.test.standAloneAop.Person;\n"
+"import org.jboss.test.cache.test.standAloneAop.Address;\n"
+"\n"
+"PojoCache tree = new PojoCache();\n"
+"PropertyConfigurator config = new PropertyConfigurator(); // configure tree "
+"cache.\n"
+"config.configure(tree, \"META-INF/replSync-service.xml\");\n"
+"\n"
+"Person joe = new Person(); // instantiate a Person object named joe\n"
+"joe.setName(\"Joe Black\");\n"
+"joe.setAge(31);\n"
+"\n"
+"Person mary = new Person(); // instantiate a Person object named mary\n"
+"mary.setName(\"Mary White\");\n"
+"mary.setAge(30);\n"
+"\n"
+"Address addr = new Address(); // instantiate a Address object named addr\n"
+"addr.setCity(\"Sunnyvale\");\n"
+"addr.setStreet(\"123 Albert Ave\");\n"
+"addr.setZip(94086);\n"
+"\n"
+"joe.setAddress(addr); // set the address reference\n"
+"mary.setAddress(addr); // set the address reference\n"
+"\n"
+"tree.startService(); // kick start tree\n"
+"tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object (and sub-"
+"objects) into cache.\n"
+"tree.putObject(\"/aop/mary\", mary); // add aop sanctioned object (and sub-"
+"objects) into cache.\n"
+"\n"
+"Address joeAddr = joe.getAddress();\n"
+"Address maryAddr = mary.getAddress(); // joeAddr and maryAddr should be the "
+"same instance\n"
+"\n"
+"tree.removeObject(\"/aop/joe\");\n"
+"maryAddr = mary.getAddress(); // Should still have the address."
#. Tag: para
#: Architecture.xml:138
@@ -424,7 +516,7 @@
"Notice that after we remove <literal>joe</literal> instance from the cache, "
"<literal>mary</literal> should still have reference the same "
"<literal>Address</literal> object in the cache store."
-msgstr ""
+msgstr "<literal>joe</literal> ã¤ã³ã¹ã¿ã³ã¹ããã£ãã·ã¥ããåé¤ããå¾ãã <literal>mary</literal> ã¯ãã£ãã·ã¥ã¹ãã¢å
ã«åã <literal>Address</literal> ãªãã¸ã§ã¯ãã¨ãªãåç
§ãæã£ã¦ããã¯ãã§ãã"
#. Tag: para
#: Architecture.xml:141
@@ -436,7 +528,7 @@
"literal>). Let's say, on the first cache instance, we put both <literal>joe</"
"literal> and <literal>mary</literal> under cache management as above. Then, "
"we failover to <literal>cache2.</literal> Here is the code snippet:"
-msgstr ""
+msgstr "ããã«è©³ãããã®é¢ä¿ç®¡çã説æããããã è¤è£½ãããç°å¢ä¸ã® Java ã³ã¼ããè¦ã¦ã¿ããã¨ã«ãã¾ãã ã¯ã©ã¹ã¿ã« 2 ã¤ã®ç°ãªããã£ãã·ã¥ã¤ã³ã¹ã¿ã³ã¹ãããã¨ãã¾ã (<literal>cache1</literal> 㨠<literal>cache2</literal>)ã æåã®ãã£ãã·ã¥ã¤ã³ã¹ã¿ã³ã¹ã«ä¸è¿°ã®éããã£ãã·ã¥ç®¡çä¸ã« <literal>joe</literal> 㨠<literal>mary</literal> ã®ä¸¡æ¹ãç½®ãã¾ãã 次㫠<literal>cache2</literal> ã«ãã§ã¼ã«ãªã¼ãã¼ãã¾ãã 次ã«ã³ã¼ãã®ä¸é¨ã示ãã¾ãã"
#. Tag: programlisting
#: Architecture.xml:144
@@ -468,12 +560,37 @@
"int zip = joeAddr.getAddress().getZip(); // Should be 95123 as well instead "
"of 94086!"
msgstr ""
+"/**\n"
+" * Code snippet on cache2 during fail-over\n"
+" */\n"
+"import org.jboss.cache.PropertyConfigurator;\n"
+"import org.jboss.cache.aop.PojoCache;\n"
+"import org.jboss.test.cache.test.standAloneAop.Person;\n"
+"import org.jboss.test.cache.test.standAloneAop.Address;\n"
+"\n"
+"PojoCache tree = new PojoCache();\n"
+"PropertyConfigurator config = new PropertyConfigurator(); // configure tree "
+"cache.\n"
+"config.configure(tree, \"META-INF/replSync-service.xml\");\n"
+"\n"
+"tree.startService(); // kick start tree\n"
+"Person joe = tree.getObject(\"/aop/joe\"); // retrieve the POJO reference.\n"
+"Person mary = tree.getObject(\"/aop/mary\"); // retrieve the POJO "
+"reference.\n"
+"\n"
+"Address joeAddr = joe.getAddress();\n"
+"Address maryAddr = mary.getAddress(); // joeAddr and maryAddr should be the "
+"same instance!!!\n"
+"\n"
+"maryAddr = mary.getAddress().setZip(95123);\n"
+"int zip = joeAddr.getAddress().getZip(); // Should be 95123 as well instead "
+"of 94086!"
#. Tag: title
#: Architecture.xml:145
#, no-c-format
msgid "Object inheritance hierarchy"
-msgstr ""
+msgstr "ãªãã¸ã§ã¯ãã®ç¶æ¿é層"
#. Tag: para
#: Architecture.xml:146
@@ -485,7 +602,7 @@
"Appendix section), then once <literal>Student</literal> is put into the "
"cache, all the class attributes of <literal>Person</literal> can be managed "
"as well."
-msgstr ""
+msgstr "PojoCache 㯠POJO ãªãã¸ã§ã¯ãç¶æ¿é層ãèªåçã«ç¶æãã¾ãã ãã¨ãã°ã <literal>Student</literal> ã <literal>Person</literal> ã追å ãã£ã¼ã«ãã® <literal>year</literal> ãä»ãã¦æ¡å¼µããå ´å (ä»é²ã»ã¯ã·ã§ã³ã§ POJO å®ç¾©ãåç
§)ã <literal>Student</literal> ããã£ãã·ã¥ã«ç½®ããã㨠<literal>Person</literal> ã®ã¯ã©ã¹å±æ§ããã¹ã¦ç®¡çã§ããããã«ãªãã¾ãã"
#. Tag: para
#: Architecture.xml:149
@@ -493,7 +610,7 @@
msgid ""
"Following is a code snippet that illustrates how the inheritance behavior of "
"a POJO is maintained. Again, no special configuration is needed."
-msgstr ""
+msgstr "POJO ã®ç¶æ¿åä½ãã©ã®ããã«ç®¡çããããã示ãã³ã¼ãã®ä¸é¨ã示ãã¾ãã ããã§ãç¹æ®ãªè¨å®ã¯å¿
è¦ããã¾ããã"
#. Tag: programlisting
#: Architecture.xml:152
@@ -515,12 +632,27 @@
"joe.setYear(\"Junior\"); // will be intercepted by the cache\n"
"joe.setName(\"Joe Black II\"); // also intercepted by the cache"
msgstr ""
+"import org.jboss.test.cache.test.standAloneAop.Student;\n"
+"\n"
+"Student joe = new Student(); // Student extends Person class\n"
+"joe.setName(\"Joe Black\"); // This is base class attributes\n"
+"joe.setAge(22); // This is also base class attributes\n"
+"joe.setYear(\"Senior\"); // This is Student class attribute\n"
+"\n"
+"tree.putObject(\"/aop/student/joe\", joe);\n"
+"\n"
+"//...\n"
+"\n"
+"joe = (Student)tree.putObject(\"/aop/student/joe\");\n"
+"Person person = (Person)joe; // it will be correct here\n"
+"joe.setYear(\"Junior\"); // will be intercepted by the cache\n"
+"joe.setName(\"Joe Black II\"); // also intercepted by the cache"
#. Tag: title
#: Architecture.xml:153
#, no-c-format
msgid "Collection class proxy"
-msgstr ""
+msgstr "Collection ã¯ã©ã¹ã®ãããã·"
#. Tag: para
#: Architecture.xml:154
@@ -542,6 +674,8 @@
"retrieve this proxy reference and use this reference to perform POJO "
"operations."
msgstr ""
+"<literal>Set</literal>ã <literal>List</literal>ã ããã³ <literal>Map</literal> ããç¶æ¿ãã POJO ã¯ã©ã¹ã¯èªåçã«ãã¢ã¹ãã¯ãåãã¨ãã¦å¦çããã¾ãã ã¤ã¾ãã ã¦ã¼ã¶ã¼ã¯ xml ãã¡ã¤ã«å
ãã¢ããã¼ã·ã§ã³ã§ãprepareãããããã¨ã宣è¨ããå¿
è¦ããªãã¨ãããã¨ã§ãã Java ã·ã¹ãã ã©ã¤ãã©ãªã®ã¤ã³ã¹ãã¼ã«ã¡ã³ãã¯è¨±å¯ããã¦ããªãããã 代çæ段ã使ç¨ãã¾ãã ã¤ã¾ãã Collection ã¤ã³ã¹ã¿ã³ã¹ã«ééãããã <itemizedlist> <listitem><para> Collection ã®ä»£çã¤ã³ã¹ã¿ã³ã¹ãä½æãã¦ãã£ãã·ã¥ã«é
ç½®ãã¾ã (ãªãªã¸ãã«ã®åç
§ã§ã¯ãªã)ã Collection ã¨ã¬ã¡ã³ãã®ãããã³ã°ã¯äºæãããéãè¡ããã¾ãã .</para> </listitem> <listitem> "
+"<para> Collection ã¤ã³ã¹ã¿ã³ã¹ãå¥ã® POJO å
ãªã©ãµããªãã¸ã§ã¯ãã§ããå ´åã ãªãªã¸ãã«ã®åç
§ãæ°ãã代çåç
§ã¨ã¹ã¯ãããã¦ééç使ç¨ãä¿é²ãã¾ãã </para> </listitem> </itemizedlist> 代çåç
§ãåå¾ããã«ã¯ã ã¦ã¼ã¶ã¼ã¯å¥ã® <literal>getObject</literal> ã使ã£ã¦ãã®ä»£çåç
§ãæ¤ç´¢ã POJO åä½ã®å®è¡ã«ä½¿ç¨ãã¾ãã"
#. Tag: para
#: Architecture.xml:165
@@ -549,7 +683,7 @@
msgid ""
"Here is a code snippet that illustrates the usage of a Collection proxy "
"reference:"
-msgstr ""
+msgstr "Collection 代çåç
§ã®ä½¿ç¨ä¾ã示ãã³ã¼ãã®ä¸é¨ã以ä¸ã«è¨ãã¾ãã"
#. Tag: programlisting
#: Architecture.xml:168
@@ -566,6 +700,16 @@
"reference\n"
"proxyList.add(\"FOUR\"); // This will be intercepted by the cache"
msgstr ""
+"List list = new ArrayList();\n"
+"list.add(\"ONE\");\n"
+"list.add(\"TWO\");\n"
+"\n"
+"tree.putObject(\"/aop/list\", list);\n"
+"list.add(\"THREE\"); // This won't intercept by the cache!\n"
+"\n"
+"List proxyList = tree.getObject(\"/aop/list\"; // Note that list is a proxy "
+"reference\n"
+"proxyList.add(\"FOUR\"); // This will be intercepted by the cache"
#. Tag: para
#: Architecture.xml:169
@@ -573,7 +717,7 @@
msgid ""
"Here is another snippet to illustrate the dynamic swapping of the Collection "
"reference when it is embedded inside another object:"
-msgstr ""
+msgstr "å¥ã®ãªãã¸ã§ã¯ãã®å
å´ã«çµã¿è¾¼ã¾ãã¦ããå ´åã® Collection åç
§ã®åçãªã¹ã¯ããã示ãã³ã¼ãã®ä¾ã以ä¸ã«è¨ãã¦ããã¾ãã"
#. Tag: programlisting
#: Architecture.xml:172
@@ -591,6 +735,17 @@
"ArrayList lang = joe.getLanguages(); // Note that lang is a proxy reference\n"
"lang.add(\"French\"); // This will be intercepted by the cache"
msgstr ""
+"Person joe = new Person();\n"
+"joe.setName(\"Joe Black\"); // This is base class attributes\n"
+"ArrayList lang = new ArrayList();\n"
+"lang.add(\"English\");\n"
+"lang.add(\"Mandarin\");\n"
+"joe.setLanguages(lang);\n"
+"// This will map the languages List automatically and swap it out with the "
+"proxy reference.\n"
+"tree.putObject(\"/aop/student/joe\", joe);\n"
+"ArrayList lang = joe.getLanguages(); // Note that lang is a proxy reference\n"
+"lang.add(\"French\"); // This will be intercepted by the cache"
#. Tag: para
#: Architecture.xml:173
@@ -598,7 +753,7 @@
msgid ""
"As you can see, <literal>getLanguages</literal> simply returns the field "
"reference that has been swapped out for the proxy reference counterpart."
-msgstr ""
+msgstr "è¦ã¦ãããéãã <literal>getLanguages</literal> ã¯åç´ã«ä»£çåç
§ã«ã¹ã¯ããããã¦ãããã£ã¼ã«ãåç
§ãè¿ãã¾ãã"
#. Tag: para
#: Architecture.xml:176
@@ -608,7 +763,7 @@
"<literal>removeObject</literal>), you still can use the proxy reference "
"since we will update the in-memory copy of that reference during detachment. "
"Below is a code snippet illustrating this:"
-msgstr ""
+msgstr "æå¾ã«ã Collection åç
§ããã£ãã·ã¥ããåé¤ããå ´åã (<literal>removeObject</literal> ã使ã£ã¦)ã åé¢ä¸ã«ãã®åç
§ã®ã¡ã¢ãªå
ã³ãã¼ãæ´æ°ãããã代çåç
§ã使ç¨ãç¶ãããã¨ãã§ãã¾ãã 以ä¸ã®ã³ã¼ã (ä¸é¨) ã§ããã示ãã¾ãã"
#. Tag: programlisting
#: Architecture.xml:179
@@ -626,12 +781,23 @@
"tree.removeObject(\"/aop/list\"); // detach from the cache\n"
"proxyList.add(\"FOUR\"); // proxyList has 4 elements still."
msgstr ""
+"List list = new ArrayList();\n"
+"list.add(\"ONE\");\n"
+"list.add(\"TWO\");\n"
+"\n"
+"tree.putObject(\"/aop/list\", list);\n"
+"List proxyList = tree.getObject(\"/aop/list\"); // Note that list is a proxy "
+"reference\n"
+"proxyList.add(\"THREE\"); // This will be intercepted by the cache\n"
+"\n"
+"tree.removeObject(\"/aop/list\"); // detach from the cache\n"
+"proxyList.add(\"FOUR\"); // proxyList has 4 elements still."
#. Tag: title
#: Architecture.xml:180
#, no-c-format
msgid "Limitation"
-msgstr ""
+msgstr "å¶é"
#. Tag: para
#: Architecture.xml:181
@@ -640,7 +806,7 @@
"Use of Collection class in PojoCache helps you to track fine-grained changes "
"in your collection fields automatically. However, current implementation has "
"the follow limitation that we plan to address soon."
-msgstr ""
+msgstr "PojoCache 㧠Collection ã¯ã©ã¹ã使ç¨ãã㨠collection ãã£ã¼ã«ãã§ã®å¾®ç´°ãªå¤æ´ãèªåçã«è¿½è·¡ããã®ã«å½¹ç«ã¡ã¾ãã ãã ãã ç¾å¨ã®å®è£
ã¯æ¬¡ã®å¶éãããã¾ãã ãããã«ã¤ãã¦ã¯è³æ¥ã«å¯¾å¦ããäºå®ã§ãã"
#. Tag: para
#: Architecture.xml:184
@@ -654,7 +820,7 @@
"java.util.HashSet implementation. The List interface maps to java.util."
"ArrayList implementation. The Map interface maps to java.util.HashMap "
"implementation."
-msgstr ""
+msgstr "ç¾å¨ã å¶éã®ãã Collection ã¯ã©ã¹ã®å®è£
ã®ã¿ããµãã¼ããã¦ãã¾ãã ã¤ã¾ãã Listã Setã ããã³ Map 㧠API ããµãã¼ããã¾ãã ãã ãã API 㯠NULL ãã¼ãå¤ã®ãããªå¶éã«ã¤ãã¦è¦å®ãã¦ããªãããã ã¦ã¼ã¶ã¼ã¤ã³ã¹ã¿ã³ã¹ã代çã«ãããã³ã°ããä¸ã§æ³¨æãå¿
è¦ã«ãªãã¾ãã ãã¨ãã°ã ArrayList 㯠NULL å¤ã許å¯ãã¾ããã ä»ã®å®è£
ã®ããã¤ãã¯è¨±å¯ãã¦ãã¾ããã Set ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯ java.util.HashSetå®è£
ã«ãããã³ã°ãè¡ãã¾ãã List ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯ java.util.ArrayList å®è£
ã«ãããã³ã°ãè¡ãã¾ãã Map ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯ java.util.HashMap å®è£
ã«ãããã³ã°ãè¡ãã¾ãã"
#. Tag: para
#: Architecture.xml:187
@@ -665,4 +831,5 @@
"slow. Performance between Set, Map and List collections also vary. Adding "
"items to a Set is slower than a List or Map, since Set does not allow "
"duplicate entries."
-msgstr ""
+msgstr "ããã²ã¨ã¤ã®é¢é£åé¡ã¨ãã¦äºæãããããã©ã¼ãã³ã¹ãããã¾ãã ãã¨ãã°ã ç¾å¨ã®å®è£
ã¯é åºã¥ãããã¦ããããã Collection ã¸ã®æ¿å
¥ãåé¤ãé
ããªãã¾ãã Setã Mapã List ã³ã¬ã¯ã·ã§ã³éã®ããã©ã¼ãã³ã¹ãç°ãªãã¾ãã Set ã¯äºéã¨ã³ããªã許å¯ããªãããã Set ã¸ã®ã¢ã¤ãã ã®è¿½å 㯠List ã Map ã¨æ¯ã¹ãã¨é
ããªãã¾ãã"
+
Modified: projects/docs/enterprise/4.3/Cache/Cache_Pojo_Cache_Guide/ja-JP/Jbossaop.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Pojo_Cache_Guide/ja-JP/Jbossaop.po 2008-09-08 08:00:47 UTC (rev 78174)
+++ projects/docs/enterprise/4.3/Cache/Cache_Pojo_Cache_Guide/ja-JP/Jbossaop.po 2008-09-08 09:15:31 UTC (rev 78175)
@@ -9,7 +9,7 @@
"Project-Id-Version: Jbossaop\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-05-30 04:01+0000\n"
-"PO-Revision-Date: 2008-09-05 17:21+1000\n"
+"PO-Revision-Date: 2008-09-08 15:34+1000\n"
"Last-Translator: Noriko Mizumoto <noriko at redhat.com>\n"
"Language-Team: Japanese <fedora-trans-ja at redhat.com>\n"
"MIME-Version: 1.0\n"
@@ -244,7 +244,7 @@
"and encapsulates those parts into an Invocation object. The framework then "
"calls any aspects that sit between the calling code and the actual method "
"body."
-msgstr ""
+msgstr "JBoss AOP ã§ã¯ã¡ããªã¯ã¹ã¯ã©ã¹ã¯ withdraw() ãã©ãããã¾ãã å¼ã³åºãã³ã¼ãã withdraw() ãå¼ã³åºãã¨ã AOP ãã¬ã¼ã ã¯ã¼ã¯ã¯ãã®ã¡ã½ããã³ã¼ã«ããã¼ãã«åå²ãã¦å¼ã³åºããªãã¸ã§ã¯ãã«ã«ãã»ã«åãã¾ãã 次ã«ãã¬ã¼ã ã¯ã¼ã¯ã¯å¼ã³åºãã³ã¼ãã¨å®éã®ã¡ã½ããããã£éã«ããã¢ã¹ãã¯ããå¼ã³åºãã¾ãã"
#. Tag: para
#: Jbossaop.xml:51
@@ -255,7 +255,7 @@
"uses an enclosing try/finally block to perform the timings. Line 13 obtains "
"contextual information about the method call from the Invocation object, "
"while line 14 displays the method name and the calculated metrics."
-msgstr ""
+msgstr "AOP ãã¬ã¼ã ã¯ã¼ã¯ãã¡ã½ããã³ã¼ã«ã®è§£é¢ãçµäºããã¨ã 3 è¡ç®ã§ã¡ããªãã¯ã®å¼ã³åºãã¡ã½ãããå¼ã³åºãã¾ãã 8è¡ç®ã¯å®éã®ã¡ã½ãããã©ãããã¦å§ä»»ãã try/finally ã§å²ããããããã¯ã使ã£ã¦ã¿ã¤ãã³ã°ãå®è¡ãã¾ãã 13 è¡ç®ã¯å¼ã³åºããªãã¸ã§ã¯ãããã®ã¡ã½ããã³ã¼ã«ã«é¢ããæèæ
å ±ãåå¾ãã 14 è¡ç®ã¯ã¡ã½ããåã¨è¨ç®ãããã¡ããªã¯ã¹ã表示ãã¾ãã"
#. Tag: para
#: Jbossaop.xml:54
@@ -264,13 +264,13 @@
"Having the metrics code within its own object allows us to easily expand and "
"capture additional measurements later on. Now that metrics are encapsulated "
"into an aspect, let's see how to apply it."
-msgstr ""
+msgstr "ã¡ããªã¯ã¹ã³ã¼ããããèªä½ã®ãªãã¸ã§ã¯ãå
ã«æããããã¨ã§ãã¨ã§ä»ã®æ¸¬å®ã®æ¡å¼µåå¾ã容æã«ãªãã¾ãã ããã§ãã®ã¡ããªã¯ã¹ã¯ã¢ã¹ãã¯ãã«ã«ãã»ã«åããã¾ãã ä»åº¦ã¯é©ç¨æ¹æ³ã«ã¤ãã¦è¦ã¦ã¿ã¾ãã"
#. Tag: title
#: Jbossaop.xml:57
#, no-c-format
msgid "Applying Aspects in JBoss AOP"
-msgstr ""
+msgstr "JBoss AOP ã§ã¢ã¹ãã¯ããé©ç¨ãã"
#. Tag: para
#: Jbossaop.xml:58
@@ -282,7 +282,7 @@
"expression matches events/points within your application. For example, a "
"valid pointcut definition would be \"for all calls to the JDBC method "
"executeQuery(), call the aspect that verifies SQL syntax.\""
-msgstr ""
+msgstr "ã¢ã¹ãã¯ããé©ç¨ããã«ã¯ã ã¢ã¹ãã¯ãã³ã¼ãå®è¡ã®ã¿ã¤ãã³ã°ãå®ç¾©ãã¾ãã å®è¡ã«ããããããããã¤ã³ãã¯ãã¤ã³ãã«ããã¨å¼ã°ãã¾ãã ãã¤ã³ãã«ããã®ä¾ãã¨ãã¦æ£è¦è¡¨ç¾ãè¦ã¦ã¿ã¾ãã æ£è¦è¡¨ç¾ãæååã«ä¸è´ããã¨ããã¨ã ãã¤ã³ãã«ãã表ç¾ã¯ã¢ããªã±ã¼ã·ã§ã³å
ã®ã¤ãã³ãããã¤ã³ãã«ä¸è´ãã¾ãã ãã¨ãã°ã æå¹ãªãã¤ã³ãã«ããå®ç¾©ã¨ã¯ã ãJDBOC ã¡ã½ãã executeQuery() ã«å¯¾ãããã¹ã¦ã®å¼ã³åºãã«ã¯ãSQL æ§æãæ¤è¨¼ããã¢ã¹ãã¯ããå¼ã³åºãã ã®ããã«ãªãã¾ãã"
#. Tag: para
#: Jbossaop.xml:61
@@ -293,13 +293,13 @@
"languages akin to queries to specify pointcuts. Others use tags. JBoss AOP "
"uses both. Listing Three shows how to define a pointcut for the metrics "
"example."
-msgstr ""
+msgstr "ã¨ã³ããªãã¤ã³ãã¨ã¯ã ãã£ã¼ã«ãã¢ã¯ã»ã¹ã ã¾ãã¯ã¡ã½ãããã³ã³ã¹ãã©ã¯ã¿ã®å¼ã³åºãã«ãªãã¾ãã ã¤ãã³ãã¨ã¯ã éåºãããä¾å¤ã«ãªãã¾ãã AOP å®è£
ã®ãªãã«ã¯ã¯ã¨ãªã¼ã¨å種ã®è¨èªã使ç¨ãã¦ãã¤ã³ãã«ãããæå®ãããã®ãããã¾ãã ãã以å¤ã¯ã¿ã°ã使ç¨ãã¾ãã JBoss AOP ã¯ä¸¡æ¹ã¨ã使ç¨ãã¾ãã ãªã¹ã 3 ã§ã¯ã¡ããªã¯ã¹ã®ä¾ã«å¯¾ãã¦ãã¤ã³ãã«ãããå®ç¾©ããæ¹æ³ã示ãã¾ãã"
#. Tag: para
#: Jbossaop.xml:64
#, no-c-format
msgid "Listing Three: Defining a pointcut in JBoss AOP"
-msgstr ""
+msgstr "ãªã¹ã 3: JBoss AOP ã§ãã¤ã³ãã«ãããå®ç¾©ãã"
#. Tag: programlisting
#: Jbossaop.xml:67
@@ -314,6 +314,14 @@
"5. <interceptor class=\"com.mc.Metrics\"/>\n"
"6. </bind >"
msgstr ""
+"1. <bind pointcut=\"public void com.mc.BankAccountDAO->withdraw(double "
+"amount)\">\n"
+"2. <interceptor class=\"com.mc.Metrics\"/>\n"
+"3. </bind >\n"
+"\n"
+"4. <bind pointcut=\"* com.mc.billing.*->*(..)\">\n"
+"5. <interceptor class=\"com.mc.Metrics\"/>\n"
+"6. </bind >"
#. Tag: para
#: Jbossaop.xml:68
@@ -323,7 +331,7 @@
"method BankAccountDAO.withdraw(). Lines 4-6 define a general pointcut that "
"applies the metrics aspect to all methods in all classes in the com.mc."
"billing package."
-msgstr ""
+msgstr "1 ãã 3 è¡ç®ã§ã¯ã¡ããªã¯ã¹ã¢ã¹ãã¯ããç¹å®ã®ã¡ã½ãã BankAccountDAO.withdraw() ã«é©ç¨ãããã¤ã³ãã«ãããå®ç¾©ãã¦ãã¾ãã 4 ãã 6 è¡ç®ã§ã¯ã¡ããªã¯ã¹ã¢ã¹ãã¯ãã com.mc.billing ããã±ã¼ã¸å
ã«ããå
¨ã¯ã©ã¹ã®å
¨ã¡ã½ããã«é©ç¨ããæ±ç¨ãã¤ã³ãã«ãããå®ç¾©ãã¦ãã¾ãã"
#. Tag: para
#: Jbossaop.xml:71
@@ -331,7 +339,7 @@
msgid ""
"There is also an optional annotation mapping if you do not like XML. See "
"JBossAop Reference Guide for more information."
-msgstr ""
+msgstr "XML ã使ç¨ããããªãå ´åã¯ãªãã·ã§ã³ã§ã¢ããã¼ã·ã§ã³ãããã³ã°ãããã¾ãã 詳細ã«ã¤ãã¦ã¯ JBossAop ãªãã¡ã¬ã³ã¹ã¬ã¤ããåç
§ãã¦ãã ããã"
#. Tag: para
#: Jbossaop.xml:74
@@ -342,13 +350,13 @@
"aspects. You can attach your aspects to a specific Java class in your "
"application or you can use more complex compositional pointcuts to specify a "
"wide range of classes within one expression."
-msgstr ""
+msgstr "JBoss AOP ã«ã¯ Java ã¢ããªã±ã¼ã·ã§ã³ã§å種ã®ãã¤ã³ããã¤ãã³ãã®å®ç¾©ã«ä½¿ç¨ã§ããè±å¯ãªãã¤ã³ãã«ãã表ç¾ã»ãããããã®ã§ä½¿ç¨ããã¢ã¹ãã¯ããé©ç¨ãããã¨ãå¯è½ã§ãã ã¢ããªã±ã¼ã·ã§ã³å
ã®ç¹å®ã® Java ã¯ã©ã¹ã«ã¢ã¹ãã¯ããæ·»ä»ããã ã¾ãã¯ããè¤éãªè¤åãã¤ã³ãã«ããã使ã£ã¦ 1 ã¤ã®è¡¨ç¾å
ã§å¹
åºãã¯ã©ã¹ãæå®ãããã¨ãã§ãã¾ãã"
#. Tag: title
#: Jbossaop.xml:77
#, no-c-format
msgid "Dynamic Aop"
-msgstr ""
+msgstr "åç㪠AOP"
#. Tag: para
#: Jbossaop.xml:78
@@ -360,6 +368,8 @@
"advice bindings at runtime. Getting an instance of <literal>org.jboss.aop."
"AspectManager.instance()</literal>, you can add your binding."
msgstr ""
+"JBoss AOP ã§ã¯ã©ã³ã¿ã¤ã ã«ã¢ããã¤ã¹ãã¤ã³ã¿ã¼ã»ãã¿ã®ãã¤ã³ãã£ã³ã°ãå¤æ´ãããã¨ãå¯è½ã§ãã æ¢åã®ãã¤ã³ãã£ã³ã°ã®ç»é²ãåæ¶ãã ç¹å®ã®ãã¤ã³ããã¤ã³ã¹ãã¼ã«ã¡ã³ãå»ãã¦ããå ´åã¯æ°ãããã¤ã³ãã£ã³ã°ãããããããã¤ãããã¨ãã§ãã¾ãã ã¾ãã ã©ã³ã¿ã¤ã ã«ã¢ããã¤ã¹ã®ãã¤ã³ãã£ã³ã°ã追å ããã©ã³ã¿ã¤ã API ãããã¾ãã <literal>org.jboss.aop."
+"AspectManager.instance()</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ãåå¾ããå ´åã ãã¤ã³ãã£ã³ã°ã追å ãããã¨ãã§ãã¾ãã"
#. Tag: programlisting
#: Jbossaop.xml:81
@@ -370,6 +380,10 @@
"binding.addInterceptor(SimpleInterceptor.class);\n"
"AspectManager.instance().addBinding(binding);"
msgstr ""
+"AdviceBinding binding = new AdviceBinding(\"execution(POJO->new(..))\", "
+"null);\n"
+"binding.addInterceptor(SimpleInterceptor.class);\n"
+"AspectManager.instance().addBinding(binding);"
#. Tag: para
#: Jbossaop.xml:82
@@ -380,13 +394,14 @@
"the binding through the AspectManager. When the binding is added the "
"AspectManager will iterate through ever loaded class to see if the pointcut "
"expression matches any of the joinpoints within those classes."
-msgstr ""
+msgstr "ã¾ãã <literal>AdviceBinding</literal> ã®ééããã¤ã³ãã«ãã表ç¾ã«å²ãå½ã¦ã¾ããã ã¤ãã«ãã®ã¯ã©ã¹çµç±ã§ã¤ã³ã¿ã¼ã»ãã¿ã追å ãã¦ãã AspectManager ã§ãã¤ã³ãã£ã³ã°ã追å ãã¾ãã ãã¤ã³ãã£ã³ã°ã追å ããã㨠AspectManager ã¯ãã¤ã³ãã«ãã表ç¾ããã®ã¯ã©ã¹ç¾¤å
ã§ããããã®ã¸ã§ã¤ã³ãã¤ã³ãã«ä¸è´ãããã©ãããã¼ããããã¯ã©ã¹ãå復ãã¾ãã"
#. Tag: title
#: Jbossaop.xml:85
#, no-c-format
+#, fuzzy
msgid "Per Instance AOP"
-msgstr ""
+msgstr "ã¤ã³ã¹ã¿ã³ã¹ãã¨ã® AOP"
#. Tag: para
#: Jbossaop.xml:86
@@ -394,7 +409,7 @@
msgid ""
"Any class that is instrumented by JBoss AOP, is forced to implement the "
"<literal>org.jboss.aop.Advised</literal> interface."
-msgstr ""
+msgstr "JBoss AOP ã§ã¤ã³ã¹ãã¼ã«ã¡ã³ããããã¯ã©ã¹ã¯ãã¹ã¦ <literal>org.jboss.aop.Advised</literal> ã¤ã³ã¿ã¼ãã§ã¼ã¹ã®å®è£
ãå¼·å¶ããã¾ãã"
#. Tag: programlisting
#: Jbossaop.xml:89
@@ -411,6 +426,16 @@
" public Advisor _getAdvisor();\n"
"}"
msgstr ""
+"public interface InstanceAdvised\n"
+"{\n"
+" public InstanceAdvisor _getInstanceAdvisor();\n"
+" public void _setInstanceAdvisor(InstanceAdvisor newAdvisor);\n"
+"}\n"
+"\n"
+"public interface Advised extends InstanceAdvised\n"
+"{\n"
+" public Advisor _getAdvisor();\n"
+"}"
#. Tag: para
#: Jbossaop.xml:90
@@ -419,7 +444,7 @@
"The InstanceAdvisor is the interesting interface here. InstanceAdvisor "
"allows you to insert Interceptors at the beginning or the end of the class's "
"advice chain."
-msgstr ""
+msgstr "InstanceAdvisor ã¤ã³ã¿ã¼ãã§ã¼ã¹ã«æ³¨ç®ãã¦ãã ããã InstanceAdvisor ã«ããã¯ã©ã¹ã®ã¢ããã¤ã¹ãã§ã¼ã³ã®åé ã¾ãã¯æ«å°¾ã§ã¤ã³ã¿ã¼ã»ãã¿ãæ¿å
¥ã§ããããã«ãªãã¾ãã"
#. Tag: programlisting
#: Jbossaop.xml:93
@@ -439,6 +464,19 @@
"\n"
"}"
msgstr ""
+"public interface InstanceAdvisor\n"
+"{\n"
+" public void insertInterceptor(Interceptor interceptor);\n"
+" public void removeInterceptor(String name);\n"
+" public void appendInterceptor(Interceptor interceptor);\n"
+"\n"
+" public void insertInterceptorStack(String stackName);\n"
+" public void removeInterceptorStack(String name);\n"
+" public void appendInterceptorStack(String stackName);\n"
+"\n"
+" public SimpleMetaData getMetaData();\n"
+"\n"
+"}"
#. Tag: para
#: Jbossaop.xml:94
@@ -452,13 +490,13 @@
"the <literal>appendInterceptor()</literal> method to the object instance are "
"executed. You can also reference <literal>stack</literal>s and insert/append "
"full stacks into the pre/post chains."
-msgstr ""
+msgstr "ãã®ããã«ã åã Java ã³ã¼ã«ã¹ã¿ãã¯å
ã§é£ç¶ãã¦å®è¡ãããã¢ããã¤ã¹ãã§ã¼ã³ã 3 ã¤ããã¾ãã ç¹å®ã®ãªãã¸ã§ã¯ãã¤ã³ã¹ã¿ã³ã¹ã«å¯¾ã㦠<literal>insertInterceptor()</literal> ã¡ã½ããã§è¿½å ãããã¤ã³ã¿ã¼ã»ãã¿ãæåã«å®è¡ããã¾ãã 次ã«ã æ®éã® <literal>bind</literal> ã使ã£ã¦ãã¤ã³ããããã¢ããã¤ã¹ãã¤ã³ã¿ã¼ã»ãã¿ãå®è¡ããã æå¾ã«ãªãã¸ã§ã¯ãã¤ã³ã¹ã¿ã³ã¹ã« <literal>appendInterceptor()</literal> ã¡ã½ããã§è¿½å ãããã¤ã³ã¿ã¼ã»ãã¿ãå®è¡ããã¾ãã ã¾ãã <literal>stack</literal> ãåç
§ãã¦å®å
¨ãªã¹ã¿ãã¯ããã§ã¼ã³ã®åã¾ãã¯å¾ãã«æ¿å
¥ã 追å ãããã¨ãã§ãã¾ãã"
#. Tag: title
#: Jbossaop.xml:97
#, no-c-format
msgid "Preparation"
-msgstr ""
+msgstr "æºå"
#. Tag: para
#: Jbossaop.xml:98
@@ -467,13 +505,13 @@
"Dynamic AOP cannot be used unless the particular joinpoint has been "
"instrumented. You can force instrumentation with the <literal>prepare</"
"literal> functionality that declares in an xml file."
-msgstr ""
+msgstr "åç㪠AOP ã¯ç¹å®ã®ã¸ã§ã¤ã³ããã¤ã³ããã¤ã³ã¹ãã¼ã«ã¡ã³ãããã¦ããªãéã使ç¨ã§ãã¾ããã xml ãã¡ã¤ã«å
ã§å®£è¨ãã <literal>prepare</literal> æ©è½ã§ã¤ã³ã¹ãã¼ã«ã¡ã³ãã®å¼·å¶ãå¯è½ã§ãã"
#. Tag: title
#: Jbossaop.xml:101
#, no-c-format
msgid "Annotations"
-msgstr ""
+msgstr "ã¢ããã¼ã·ã§ã³"
#. Tag: para
#: Jbossaop.xml:102
@@ -481,7 +519,7 @@
msgid ""
"Annotations are only available in JDK 5.0, but using our annotation compiler "
"you can acheive similar functionality with JDK 1.4.2 as well."
-msgstr ""
+msgstr "ã¢ããã¼ã·ã§ã³ã¯ JDK 5.0 ã§ãã使ç¨ã§ãã¾ãããã ã¢ããã¼ã·ã§ã³ã³ã³ãã¤ã©ã使ç¨ãã㨠JDK 1.4.2 ã§ãåæ§ã®æ©è½ã使ç¨ãããã¨ãã§ãã¾ãã"
#. Tag: para
#: Jbossaop.xml:105
@@ -502,6 +540,18 @@
"that '@interface' is replaced by 'interface'. i.e. the similar annotation "
"type is a normal Java interface:"
msgstr ""
+"ã¢ããã¼ã·ã§ã³ã¯ã¢ããã¼ã·ã§ã³ã¿ã¤ãã«ãããã³ã°ãè¡ããªããã°ãªãã¾ããã JDK 5.0 ã§ã¯æ¬¡ã®ããã«å®ç¾©ããã¾ãã "
+"<programlisting>\n"
+" package com.mypackage;\n"
+"\n"
+" public @interface MyAnnotation\n"
+" {\n"
+" String myString();\n"
+" int myInteger();\n"
+" }\n"
+" \n"
+"</programlisting> "
+"ã¢ããã¼ã·ã§ã³ã³ã³ãã¤ã©ã§ä½¿ç¨ããã¢ããã¼ã·ã§ã³ã¿ã¤ã㯠JDK 1.4.2 ã¨ã¾ã£ããåãæ¹æ³ã§å®ç¾©ããã¾ããã éè¦ãªéã㯠'@interface' ã 'interface' ã§ç½®ãæãã¾ãã åæ§ã®ã¢ããã¼ã·ã§ã³ã¿ã¤ãã¯æ¨æºã® Java ã¤ã³ã¿ã¼ãã§ã¼ã¹ã«ãªãã¾ãã"
#. Tag: programlisting
#: Jbossaop.xml:107
@@ -515,6 +565,13 @@
" int myInteger();\n"
" }"
msgstr ""
+"package com.mypackage;\n"
+"\n"
+" public interface MyAnnotation\n"
+" {\n"
+" String myString();\n"
+" int myInteger();\n"
+" }"
#. Tag: para
#: Jbossaop.xml:109
@@ -522,28 +579,29 @@
msgid ""
"The syntax for using annotations in JDK 1.4.2 is almost exactly the same as "
"JDK 5.0 annotations except for these subtle differences:"
-msgstr ""
+msgstr "JDK 1.4.2 ã§ã¢ããã¼ã·ã§ã³ã使ç¨ããããã®æ§æã¯ä»¥ä¸ã®å¾®å¦ãªéããé¤ãã¦ã»ã¼ JDK 5.0 ã¨åæ§ã§ãã"
#. Tag: para
#: Jbossaop.xml:112
#, no-c-format
msgid "they are embedded as doclet tags"
-msgstr ""
+msgstr "doclet ã¿ã°ã¨ãã¦çµã¿è¾¼ã¾ãã"
#. Tag: para
#: Jbossaop.xml:115
#, no-c-format
msgid "You use a double at sign, i.e. '@@'"
-msgstr ""
+msgstr "äºéè¨å·ã使ç¨ããã ä¾: ã@@ã"
#. Tag: para
#: Jbossaop.xml:118
#, no-c-format
+#, fuzzy
msgid ""
"You MUST have a space after the tag name otherwise you will get a "
"compilation error. (This is the quirkiness of the QDox doclet compiler used "
"to compile the annotations.')"
-msgstr ""
+msgstr "ã¿ã°åã®å¾ã«ç©ºç½ãå
¥ããå¿
è¦ãããã ããããªãã¨ã³ã³ãã¤ã«ã¨ã©ã¼ã¨ãªãã (ãããã¢ããã¼ã·ã§ã³ã®ã³ã³ãã¤ã«ã«ä½¿ç¨ããã QDox doclet ã³ã³ãã¤ã©ã® quirkiness ã«ãªã)"
#. Tag: para
#: Jbossaop.xml:121
@@ -551,19 +609,19 @@
msgid ""
"You cannot import the annotation type, you must use the fully qualified name "
"of the interface."
-msgstr ""
+msgstr "ã¢ããã¼ã·ã§ã³ã¿ã¤ãã®ã¤ã³ãã¼ãã¯ã§ããªãã ã¤ã³ã¿ã¼ãã§ã¼ã¹ã®å®å
¨ä¿®é£¾åã使ç¨ããå¿
è¦ããã"
#. Tag: para
#: Jbossaop.xml:124
#, no-c-format
msgid "You cannot specify default values for an annotation's value"
-msgstr ""
+msgstr "ã¢ããã¼ã·ã§ã³ã®å¤ã«ããã©ã«ãã®å¤ãæå®ãããã¨ã¯ã§ããªã"
#. Tag: para
#: Jbossaop.xml:128
#, no-c-format
msgid "This example shows an annotated class in JDK 1.4.2:"
-msgstr ""
+msgstr "次ã®ä¾ã§ã¯ JDK 1.4.2 ã§ã¢ããã¼ã·ã§ã³ãä»ããããã¯ã©ã¹ã示ãã¾ãã"
#. Tag: programlisting
#: Jbossaop.xml:129
@@ -597,4 +655,31 @@
" }\n"
" }"
msgstr ""
+"package com.mypackage;\n"
+"\n"
+" /**\n"
+" * @@com.mypackage.MyAnnotation (myString=\"class\", myInteger=5)\n"
+" */\n"
+" public class MyClass\n"
+" {\n"
+" /**\n"
+" * @@com.mypackage.MyAnnotation (myString=\"field\", myInteger=4)\n"
+" */\n"
+" private String myField;\n"
+"\n"
+" /**\n"
+" * @@com.mypackage.MyAnnotation (myString=\"constructor\", "
+"myInteger=3)\n"
+" */\n"
+" public MyClass()\n"
+" {\n"
+" }\n"
+"\n"
+" /**\n"
+" * @@com.mypackage.MyAnnotation (myString=\"method\", myInteger=3)\n"
+" */\n"
+" public int myMethod()\n"
+" {\n"
+" }\n"
+" }"
More information about the jboss-cvs-commits
mailing list