[jbosscache-commits] JBoss Cache SVN: r7129 - enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Thu Nov 13 00:21:36 EST 2008
Author: mospina
Date: 2008-11-13 00:21:36 -0500 (Thu, 13 Nov 2008)
New Revision: 7129
Modified:
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Api.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Appendix.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Architecture.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Book_Info.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Colophon.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Configuration.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Example.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Instrumentation.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Introduction.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Jbossaop.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Term.po
Log:
translation for Pojo cache in progress
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Api.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Api.po 2008-11-12 23:02:32 UTC (rev 7128)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Api.po 2008-11-13 05:21:36 UTC (rev 7129)
@@ -1,24 +1,26 @@
+# translation of Api.po to
# 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.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Api\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:57+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-11-13 11:08+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en 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
#: Api.xml:5
#, no-c-format
msgid "<title>API</title>"
-msgstr ""
+msgstr "<title>API</title>"
#. Tag: para
#: Api.xml:6
@@ -31,7 +33,7 @@
"retrieve the POJO from the cache system. After that, a user should operate "
"on that POJO reference directly without worrying about replication and/or "
"persistency aspects."
-msgstr ""
+msgstr "En PojoCache, hay tres APIs centrales para la administración de pojo y una adicional para peticiones. Las abordaremos en profundidad en este documento. Observe que es muy importante notar el aspecto de administración de estas APIs. Esto se debe a que esperamos que la mayor parte del tiempo sólo utilice estas APIs para adjuntar, separar y recuperar el POJO del sistema caché. Después de esto un usuario debe operar en esa referencia POJO directamente sin preocuparse de los aspectos de la replicación y/o de la persistencia."
#. Tag: title
#: Api.xml:9
@@ -51,6 +53,13 @@
"*/\n"
"Object putObject(Fqn fqn, Object pojo) throws CacheException;"
msgstr ""
+"/*\n"
+" * @param fqn The fqn instance to associate with the object in the cache.\n"
+" * @param pojo aop-enabled object to be inserted into the cache. If null,\n"
+" * it will nullify the fqn node.\n"
+" * @throws CacheException\n"
+"*/\n"
+"Object putObject(Fqn fqn, Object pojo) throws CacheException;"
#. Tag: para
#: Api.xml:11
@@ -131,6 +140,16 @@
" */\n"
"Object removeObject(Fqn fqn) throws CacheException;"
msgstr ""
+"/**\n"
+" * Remove aop-enabled object from the cache. After successful call of this "
+"API, the returning\n"
+" * POJO is no longer managed by the cache.\n"
+" *\n"
+" * @param fqn Instance that associates with this node.\n"
+" * @return Original POJO stored under this node.\n"
+" * @throws CacheException\n"
+" */\n"
+"Object removeObject(Fqn fqn) throws CacheException;"
#. Tag: para
#: Api.xml:28
@@ -168,6 +187,15 @@
" */\n"
"Object getObject(Fqn fqn) throws CacheException;"
msgstr ""
+"/**\n"
+" * Retrieve the Pojo from the cache. Return null if object does not exist "
+"in the cache.\n"
+" *\n"
+" * @param fqn Instance that associates with this node.\n"
+" * @return Current POJO value. Null if does not exist.\n"
+" * @throws CacheException\n"
+" */\n"
+"Object getObject(Fqn fqn) throws CacheException;"
#. Tag: para
#: Api.xml:33
@@ -203,6 +231,22 @@
" */\n"
"public Map findObjects(Fqn fqn) throws CacheException;"
msgstr ""
+"/**\n"
+" * Query all managed pojo objects under the fqn recursively. Note that this "
+"will not return \n"
+" *the sub-object POJOs, e.g., if Person has a sub-object of Address, it "
+"won't return Address \n"
+" *pojo. Note also that this operation is not thread-safe now. In addition, "
+"it assumes \n"
+" *that once a pojo is found with a fqn, no more pojo is stored under the "
+"children of the fqn. \n"
+" *That is, we don't mixed the fqn with different POJOs.\n"
+" * @param fqn The starting place to find all POJOs.\n"
+" * @return Map of all POJOs found with (fqn, pojo) pair. Return size of 0, "
+"if not found.\n"
+" * @throws CacheException\n"
+" */\n"
+"public Map findObjects(Fqn fqn) throws CacheException;"
#. Tag: para
#: Api.xml:37
@@ -224,3 +268,4 @@
"the children of the fqn. That is, we don't mixed the fqn with different "
"POJOs."
msgstr ""
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Appendix.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Appendix.po 2008-11-12 23:02:32 UTC (rev 7128)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Appendix.po 2008-11-13 05:21:36 UTC (rev 7129)
@@ -1,18 +1,20 @@
+# translation of Appendix.po to
# 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.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Appendix\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:57+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-11-13 09:58+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en 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
#: Appendix.xml:5
@@ -67,6 +69,32 @@
" public void setLanguages(List languages) { this.languages = languages; }\n"
"}"
msgstr ""
+"public class Person {\n"
+" String name=null;\n"
+" int age=0;\n"
+" Map hobbies=null;\n"
+" Address address=null;\n"
+" Set skills;\n"
+" List languages;\n"
+"\n"
+" public String getName() { return name; }\n"
+" public void setName(String name) { this.name=name; }\n"
+"\n"
+" public int getAge() { return age; }\n"
+" public void setAge(int age) { this.age = age; }\n"
+"\n"
+" public Map getHobbies() { return hobbies; }\n"
+" public void setHobbies(Map hobbies) { this.hobbies = hobbies; }\n"
+"\n"
+" public Address getAddress() { return address; }\n"
+" public void setAddress(Address address) { this.address = address; }\n"
+"\n"
+" public Set getSkills() { return skills; }\n"
+" public void setSkills(Set skills) { this.skills = skills; }\n"
+"\n"
+" public List getLanguages() { return languages; }\n"
+" public void setLanguages(List languages) { this.languages = languages; }\n"
+"}"
#. Tag: programlisting
#: Appendix.xml:11
@@ -79,6 +107,12 @@
" public void setYear(String year) { this.year=year; }\n"
"}"
msgstr ""
+"public class Student extends Person {\n"
+" String year=null;\n"
+"\n"
+" public String getYear() { return year; }\n"
+" public void setYear(String year) { this.year=year; }\n"
+"}"
#. Tag: programlisting
#: Appendix.xml:12
@@ -94,6 +128,15 @@
" ...\n"
"}"
msgstr ""
+"public class Address {\n"
+" String street=null;\n"
+" String city=null;\n"
+" int zip=0;\n"
+"\n"
+" public String getStreet() { return street; }\n"
+" public void setStreet(String street) { this.street=street; }\n"
+" ...\n"
+"}"
#. Tag: title
#: Appendix.xml:13
@@ -220,3 +263,109 @@
"</mbean>\n"
"</server>"
msgstr ""
+"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"
+"\n"
+"<server>\n"
+"<mbean code=\"org.jboss.cache.aop.PojoCache\" name=\"jboss.cache:"
+"service=PojoCache\">\n"
+"<depends>jboss:service=TransactionManager</depends>\n"
+"\n"
+"<!-- Configure the TransactionManager -->\n"
+"<attribute name=\"TransactionManagerLookupClass\">\n"
+"org.jboss.cache.DummyTransactionManagerLookup</attribute>\n"
+"\n"
+"<!-- Isolation level : SERIALIZABLE\n"
+" REPEATABLE_READ (default)\n"
+" READ_COMMITTED\n"
+" READ_UNCOMMITTED\n"
+" NONE\n"
+"-->\n"
+"<attribute name=\"IsolationLevel\">REPEATABLE_READ</attribute>\n"
+"\n"
+"<!-- Valid modes are LOCAL, REPL_ASYNC and REPL_SYNC -->\n"
+"<attribute name=\"CacheMode\">REPL_SYNC</attribute>\n"
+"\n"
+"<!-- Just used for async repl: use a replication queue -->\n"
+"<attribute name=\"UseReplQueue\">false</attribute>\n"
+"\n"
+"<!-- Replication interval for replication queue (in ms) --"
+">\n"
+"<attribute name=\"ReplQueueInterval\">0</attribute>\n"
+"\n"
+"<!-- Max number of elements which trigger replication -->\n"
+"<attribute name=\"ReplQueueMaxElements\">0</attribute>\n"
+"\n"
+"<!-- Name of cluster. Needs to be the same for all clusters, in order\n"
+" to find each other\n"
+"-->\n"
+"<attribute name=\"ClusterName\">TreeCache-Cluster</attribute>\n"
+"\n"
+"<!-- JGroups protocol stack properties. Can also be a URL,\n"
+" e.g. file:/home/bela/default.xml\n"
+" <attribute name=\"ClusterProperties\"></attribute>\n"
+"-->\n"
+"<attribute name=\"ClusterConfig\">\n"
+"\n"
+"<config>\n"
+"<!-- UDP: if you have a multihomed machine,\n"
+" set the bind_addr attribute to the appropriate NIC IP "
+"address, \n"
+" e.g bind_addr=\"192.168.0.2\"\n"
+"-->\n"
+"<!-- UDP: On Windows machines, because of the media sense feature\n"
+" being broken with multicast (even after disabling media "
+"sense)\n"
+" set the loopback attribute to true\n"
+"-->\n"
+"<UDP mcast_addr=\"228.1.2.3\" mcast_port=\"48866\" ip_ttl=\"64\" ip_mcast="
+"\"true\" \n"
+"mcast_send_buf_size=\"150000\" mcast_recv_buf_size=\"80000\"\n"
+"ucast_send_buf_size=\"150000\" ucast_recv_buf_size=\"80000\" \n"
+"loopback=\"false\" />\n"
+"<PING timeout=\"2000\" num_initial_members=\"3\" up_thread=\"false\" "
+"down_thread=\"false\" />\n"
+"<MERGE2 min_interval=\"10000\" max_interval=\"20000\" />\n"
+"<FD_SOCK />\n"
+"<VERIFY_SUSPECT timeout=\"1500\" up_thread=\"false\" down_thread=\"false"
+"\" />\n"
+"<pbcast.NAKACK gc_lag=\"50\" retransmit_timeout=\"600,1200,2400,4800\" "
+"max_xmit_size=\"8192\" \n"
+"up_thread=\"false\" down_thread=\"false\" />\n"
+"<UNICAST timeout=\"600,1200,2400\" window_size=\"100\" min_threshold=\"10"
+"\" down_thread=\"false\" />\n"
+"<pbcast.STABLE desired_avg_gossip=\"20000\" up_thread=\"false\" "
+"down_thread=\"false\" />\n"
+"<FRAG frag_size=\"8192\" down_thread=\"false\" up_thread=\"false\" />\n"
+"<pbcast.GMS join_timeout=\"5000\" join_retry_timeout=\"2000\" shun=\"true"
+"\" print_local_addr=\"true\" />\n"
+"<pbcast.STATE_TRANSFER up_thread=\"true\" down_thread=\"true\" />\n"
+"</config>\n"
+"</attribute>\n"
+"\n"
+"<!-- Whether or not to fetch state on joining a cluster -->\n"
+"<attribute name=\"FetchStateOnStartup\">true</attribute>\n"
+"\n"
+"<!-- The max amount of time (in milliseconds) we wait until "
+"the\n"
+" initial state (ie. the contents of the cache) are retrieved "
+"from\n"
+" existing members in a clustered environment\n"
+"\n"
+"-->\n"
+"<attribute name=\"InitialStateRetrievalTimeout\">5000</"
+"attribute>\n"
+"\n"
+"<!-- Number of milliseconds to wait until all responses for "
+"a\n"
+" synchronous call have been received.\n"
+"-->\n"
+"<attribute name=\"SyncReplTimeout\">15000</attribute>\n"
+"\n"
+"<!-- Max number of milliseconds to wait for a lock acquisition -->\n"
+"<attribute name=\"LockAcquisitionTimeout\">10000</attribute>\n"
+"\n"
+"<!-- Name of the eviction policy class. -->\n"
+"<attribute name=\"EvictionPolicyClass\" />\n"
+"</mbean>\n"
+"</server>"
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Architecture.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Architecture.po 2008-11-12 23:02:32 UTC (rev 7128)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Architecture.po 2008-11-13 05:21:36 UTC (rev 7129)
@@ -8,7 +8,7 @@
"Project-Id-Version: Architecture\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:57+0000\n"
-"PO-Revision-Date: 2008-11-12 11:30+1000\n"
+"PO-Revision-Date: 2008-11-13 10:00+1000\n"
"Last-Translator: Angela Garcia\n"
"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
@@ -201,6 +201,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:77
@@ -222,6 +231,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:81
@@ -286,6 +299,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:96
@@ -320,6 +359,10 @@
"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:104
@@ -431,6 +474,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:133
@@ -483,6 +564,31 @@
"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:140
@@ -530,6 +636,21 @@
"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:148
@@ -581,6 +702,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:164
@@ -606,6 +737,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:168
@@ -641,12 +783,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:175
#, no-c-format
msgid "Limitation"
-msgstr ""
+msgstr "Limitación"
#. Tag: para
#: Architecture.xml:176
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Book_Info.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Book_Info.po 2008-11-12 23:02:32 UTC (rev 7128)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Book_Info.po 2008-11-13 05:21:36 UTC (rev 7129)
@@ -1,18 +1,20 @@
+# translation of Book_Info.po to
# 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.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Book_Info\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:57+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-11-13 10:00+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en 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
#: Book_Info.xml:5
@@ -36,4 +38,5 @@
#: Book_Info.xml:26
#, no-c-format
msgid "&HOLDER;"
-msgstr ""
+msgstr "&HOLDER;"
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Colophon.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Colophon.po 2008-11-12 23:02:32 UTC (rev 7128)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Colophon.po 2008-11-13 05:21:36 UTC (rev 7129)
@@ -1,26 +1,28 @@
+# translation of Colophon.po to
msgid ""
msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
+"Project-Id-Version: Colophon\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:57+0000\n"
-"PO-Revision-Date: 2007-04-17 00:25-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-11-13 10:02+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en 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
#: Colophon.xml:4
#, no-c-format
msgid "Bibliography"
-msgstr ""
+msgstr "Bibliografia"
#. Tag: title
#: Colophon.xml:5
#, no-c-format
msgid "Authors"
-msgstr ""
+msgstr "Autores"
#. Tag: author
#: Colophon.xml:6
@@ -43,16 +45,17 @@
#: Colophon.xml:11
#, no-c-format
msgid "Translator"
-msgstr ""
+msgstr "Angela Garcia - agarcia at redhat.com"
#. Tag: othercredit
#: Colophon.xml:12
#, no-c-format
msgid "<firstname>John</firstname> <surname>Doe</surname>"
-msgstr ""
+msgstr "<firstname>John</firstname> <surname>Doe</surname>"
#. Tag: contrib
#: Colophon.xml:14
#, no-c-format
msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
msgstr ""
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Configuration.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Configuration.po 2008-11-12 23:02:32 UTC (rev 7128)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Configuration.po 2008-11-13 05:21:36 UTC (rev 7129)
@@ -1,24 +1,26 @@
+# translation of Configuration.po to
# 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.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Configuration\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:57+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-11-13 10:03+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en 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
#: Configuration.xml:5
#, no-c-format
msgid "Configuration"
-msgstr ""
+msgstr "Configuración"
#. Tag: para
#: Configuration.xml:6
@@ -94,3 +96,4 @@
"persistent all time unless a specific user-based <literal>removeObject</"
"literal> is called."
msgstr ""
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Example.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Example.po 2008-11-12 23:02:32 UTC (rev 7128)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Example.po 2008-11-13 05:21:36 UTC (rev 7129)
@@ -1,21 +1,24 @@
+# translation of Example.po to
# 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.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Example\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:57+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-11-13 10:07+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en 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
#: Example.xml:5
#, no-c-format
msgid "Example"
-msgstr ""
+msgstr "Ejemplo"
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Instrumentation.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Instrumentation.po 2008-11-12 23:02:32 UTC (rev 7128)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Instrumentation.po 2008-11-13 05:21:36 UTC (rev 7129)
@@ -1,24 +1,26 @@
+# translation of Instrumentation.po to
# 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.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Instrumentation\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:57+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-11-13 10:09+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en 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
#: Instrumentation.xml:5
#, no-c-format
msgid "Instrumentation"
-msgstr ""
+msgstr "Instrumentación"
#. Tag: para
#: Instrumentation.xml:6
@@ -55,7 +57,7 @@
#: Instrumentation.xml:15
#, no-c-format
msgid "XML descriptor"
-msgstr ""
+msgstr "Descriptor XML"
#. Tag: para
#: Instrumentation.xml:16
@@ -109,6 +111,12 @@
"standAloneAop.Person}->*)\" />\n"
"</aop>"
msgstr ""
+"<aop>\n"
+" <prepare expr=\"field(* org.jboss.test.cache.test.standAloneAop.Address-"
+">*)\" />\n"
+" <prepare expr=\"field(* $instanceof{org.jboss.test.cache.test."
+"standAloneAop.Person}->*)\" />\n"
+"</aop>"
#. Tag: para
#: Instrumentation.xml:26
@@ -123,8 +131,7 @@
#. Tag: para
#: Instrumentation.xml:31
#, no-c-format
-msgid ""
-"The wildcard at the end of the expression signifies all fields in the POJO"
+msgid "The wildcard at the end of the expression signifies all fields in the POJO"
msgstr ""
#. Tag: para
@@ -170,7 +177,7 @@
#: Instrumentation.xml:46
#, no-c-format
msgid "Annotation"
-msgstr ""
+msgstr "Anotación"
#. Tag: para
#: Instrumentation.xml:47
@@ -195,7 +202,7 @@
#: Instrumentation.xml:53
#, no-c-format
msgid "JDK1.4"
-msgstr ""
+msgstr "JDK1.4"
#. Tag: para
#: Instrumentation.xml:54
@@ -245,6 +252,10 @@
" */\n"
" public class Address {...}"
msgstr ""
+"/**\n"
+" * @@org.jboss.cache.aop.AopMarker\n"
+" */\n"
+" public class Address {...}"
#. Tag: para
#: Instrumentation.xml:68
@@ -263,6 +274,10 @@
" */\n"
" public class Person {...}"
msgstr ""
+"/**\n"
+" * @@org.jboss.cache.aop.InstanceOfAopMarker\n"
+" */\n"
+" public class Person {...}"
#. Tag: para
#: Instrumentation.xml:72
@@ -287,7 +302,7 @@
#: Instrumentation.xml:77
#, no-c-format
msgid "JDK5.0"
-msgstr ""
+msgstr "JDK5.0"
#. Tag: para
#: Instrumentation.xml:78
@@ -377,6 +392,27 @@
" ge.setSpecialAddress(d2); \n"
" // Now this will."
msgstr ""
+"Gadget gadget = new Gadget();\n"
+" Resource resource = new Resouce();\n"
+" SepcialAddress specialAddress = new SpecialAddress();\n"
+"\n"
+" // setters\n"
+" gadget.setResource(resource);\n"
+" gadget.setSpecialAddress(specialAddress);\n"
+"\n"
+" cache1.putObject(\"/gadget\", gadget); // put into PojoCache management\n"
+"\n"
+" Gadget g2 = (Gadget)cache2.getObject(\"/gadget\"); \n"
+" // retrieve it from another cache instance\n"
+" g2.getResource(); \n"
+" // This is should be null becuase of @Transient tag so it is not "
+"replicated.\n"
+"\n"
+" SepcialAddress d2 = g2.getSpecialAddress();\n"
+" d2.setName(\"inet\"); \n"
+" // This won't get replicated automatically because of @Serializable tag\n"
+" ge.setSpecialAddress(d2); \n"
+" // Now this will."
#. Tag: title
#: Instrumentation.xml:92
@@ -417,6 +453,14 @@
" </fileset/>\n"
" </path/>"
msgstr ""
+"<path id=\"aop.classpath\"/>\n"
+" <fileset dir=\"${lib}\"/>\n"
+" <include name=\"**/*.jar\" //>\n"
+" <exclude name=\"**/jboss-cache.jar\" //>\n"
+" <exclude name=\"**/j*unit.jar\" //>\n"
+" <exclude name=\"**/bsh*.jar\" //>\n"
+" </fileset/>\n"
+" </path/>"
#. Tag: title
#: Instrumentation.xml:99
@@ -484,6 +528,46 @@
" </junit>\n"
" </target>"
msgstr ""
+"<target name=\"generateClassLoader\" description=\n"
+" \"Generate a new modified class loader so we can perform load "
+"time instrumentation\">\n"
+" <property name=\"build.bootclasspath\" value=\"${output}/gen-"
+"bootclasspath\"/>\n"
+" <java classname=\"org.jboss.aop.hook.GenerateInstrumentedClassLoader"
+"\">\n"
+" <classpath>\n"
+" <path refid=\"aop.classpath\"/>\n"
+" </classpath>\n"
+" <arg value=\"${build.bootclasspath}\"/>\n"
+" </java>\n"
+" <path id=\"bootclasspath\">\n"
+" <pathelement location=\"${build.bootclasspath}\"/>\n"
+" <path refid=\"aop.classpath\"/>\n"
+" </path>\n"
+" <property name=\"bootclasspath\" refid=\"bootclasspath\"/>\n"
+" </target>\n"
+"\n"
+" <!-- eg. ant run.examples -Dtest=org.jboss.test.cache.test.local."
+"NoTxUnitTestCase -->\n"
+" <target name=\"one.test.aop\" depends=\"compile, generateClassLoader"
+"\" \n"
+" description=\"run one junit test case.\">\n"
+" <junit printsummary=\"yes\" timeout=\"${junit.timeout}\" fork="
+"\"yes\">\n"
+" <jvmarg value=\"-Djboss.aop.path=${output}/etc/META-INF/"
+"jboss-aop.xml\"/>\n"
+" <jvmarg value=\"-Xbootclasspath/p:${bootclasspath}\"/>\n"
+" <!-- jvmarg value=\"-Dbind.address=${bind.address}\"/ --"
+">\n"
+" <classpath path=\"${output}/etc\" />\n"
+" <sysproperty key=\"log4j.configuration\" value=\"file:$"
+"{output}/etc/log4j.xml\" />\n"
+" <classpath refid=\"lib.classpath\"/>\n"
+" <classpath path=\"${build}\"/>\n"
+" <formatter type=\"xml\" usefile=\"true\"/>\n"
+" <test name=\"${test}\" todir=\"${reports}\"/>\n"
+" </junit>\n"
+" </target>"
#. Tag: para
#: Instrumentation.xml:104
@@ -516,6 +600,23 @@
" </junit>\n"
" </target>"
msgstr ""
+"<target name=\"one.test.aop50\" depends=\"compile, generateClassLoader\"\n"
+" description=\"run one junit test case.\">\n"
+" <junit printsummary=\"yes\" timeout=\"${junit.timeout}\" fork="
+"\"yes\">\n"
+" <jvmarg value=\"-Djboss.aop.path=${output}/resources/jboss-"
+"aop.xml\"/>\n"
+" <jvmarg value=\"-javaagent:${lib-50}/jboss-aop-jdk50.jar\"/"
+">\n"
+" <classpath path=\"${output}/etc\" />\n"
+" <sysproperty key=\"log4j.configuration\" value=\"file:$"
+"{output}/etc/log4j.xml\" />\n"
+" <classpath refid=\"lib.classpath.50\"/>\n"
+" <classpath refid=\"build.classpath.50\"/>\n"
+" <formatter type=\"xml\" usefile=\"true\"/>\n"
+" <test name=\"${test}\" todir=\"${reports}\"/>\n"
+" </junit>\n"
+" </target>"
#. Tag: title
#: Instrumentation.xml:107
@@ -549,6 +650,18 @@
" </aopc>\n"
" </target>"
msgstr ""
+"<taskdef name=\"aopc\" classname=\"org.jboss.aop.ant.AopC\" classpathref="
+"\"aop.classpath\"/>\n"
+" <target name=\"aopc\" depends=\"compile\" description=\"Precompile aop "
+"class\">\n"
+" <aopc compilerclasspathref=\"aop.classpath\" verbose=\"true\">\n"
+" <src path=\"${build}\"/>\n"
+" <include name=\"org/jboss/cache/aop/test/**/*.class\"/>\n"
+" <aoppath path=\"${output}/etc/META-INF/jboss-aop.xml\"/>\n"
+" <classpath path=\"${build}\"/>\n"
+" <classpath refid=\"lib.classpath\"/>\n"
+" </aopc>\n"
+" </target>"
#. Tag: para
#: Instrumentation.xml:112
@@ -607,3 +720,25 @@
" </annotationc>\n"
" </target>"
msgstr ""
+"<!-- pre-compile directory with annotationc using jdk1.4 -->\n"
+" <target name=\"annoc\" depends=\"compile\" description=\"Annotation "
+"precompiler for aop class\">\n"
+" <!-- Define a new ant target. This is the 1.4 annotation pre-"
+"compiler. \n"
+" After running this step, you still need to run the aopc step again,\n"
+" if you are not using system class loader.\n"
+" -->\n"
+" <taskdef name=\"annotationc\" classname=\"org.jboss.aop.ant."
+"AnnotationC\" \n"
+" classpathref=\"aop.classpath\"/>\n"
+" <annotationc compilerclasspathref=\"aop.classpath\" bytecode=\"true"
+"\">\n"
+" <classpath refid=\"lib.classpath\"/>\n"
+" <classpath path=\"${build}\"/>\n"
+" <!--System wide jboss-aop.xml is located here. -->\n"
+" <classpath path=\"${output.resources.dir}\"/>\n"
+" <src path=\"${source}\"/>\n"
+" <include name=\"org/jboss/cache/aop/test/**/*.java\"/>\n"
+" </annotationc>\n"
+" </target>"
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Introduction.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Introduction.po 2008-11-12 23:02:32 UTC (rev 7128)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Introduction.po 2008-11-13 05:21:36 UTC (rev 7129)
@@ -8,7 +8,7 @@
"Project-Id-Version: Introduction\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:57+0000\n"
-"PO-Revision-Date: 2008-11-12 15:01+1000\n"
+"PO-Revision-Date: 2008-11-13 10:11+1000\n"
"Last-Translator: Angela Garcia\n"
"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
@@ -405,6 +405,14 @@
" ...\n"
" cache_.stop();"
msgstr ""
+"cache_ = new PojoCache();\n"
+" PropertyConfigurator config = new PropertyConfigurator(); // configure "
+"tree cache.\n"
+" config.configure(cache_, \"META-INF/replSync-service.xml\"); // Search "
+"under the classpath\n"
+" cache_.start();\n"
+" ...\n"
+" cache_.stop();"
#. Tag: title
#: Introduction.xml:142
@@ -425,7 +433,7 @@
#: Introduction.xml:148
#, no-c-format
msgid "Library:"
-msgstr ""
+msgstr "Biblioteca:"
#. Tag: para
#: Introduction.xml:153
@@ -443,7 +451,7 @@
#: Introduction.xml:159
#, no-c-format
msgid "trove.jar. High performance collections for Java."
-msgstr ""
+msgstr "trove.jar. Colecciones de alto rendimiento para Java."
#. Tag: para
#: Introduction.xml:162
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Jbossaop.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Jbossaop.po 2008-11-12 23:02:32 UTC (rev 7128)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Jbossaop.po 2008-11-13 05:21:36 UTC (rev 7129)
@@ -1,24 +1,26 @@
+# translation of Jbossaop.po to
# 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.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Jbossaop\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:57+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-11-13 10:13+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en 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
#: Jbossaop.xml:5
#, no-c-format
msgid "Introduction to JBossAop"
-msgstr ""
+msgstr "Introducción a JBossAop"
#. Tag: para
#: Jbossaop.xml:6
@@ -101,6 +103,22 @@
" }\n"
" }"
msgstr ""
+"public class BankAccountDAO\n"
+" {\n"
+" public void withdraw(double amount)\n"
+" {\n"
+" long startTime = System.currentTimeMillis();\n"
+" try\n"
+" {\n"
+" // Actual method body...\n"
+" }\n"
+" finally\n"
+" {\n"
+" long endTime = System.currentTimeMillis() - startTime;\n"
+" System.out.println(\"withdraw took: \" + endTime);\n"
+" }\n"
+" }\n"
+" }"
#. Tag: para
#: Jbossaop.xml:23
@@ -189,6 +207,25 @@
"16. }\n"
"17. }"
msgstr ""
+"01. public class Metrics implements org.jboss.aop.advice.Interceptor\n"
+"02. {\n"
+"03. public Object invoke(Invocation invocation) throws Throwable\n"
+"04. {\n"
+"05. long startTime = System.currentTimeMillis();\n"
+"06. try\n"
+"07. {\n"
+"08. return invocation.invokeNext();\n"
+"09. }\n"
+"10. finally\n"
+"11. {\n"
+"12. long endTime = System.currentTimeMillis() - startTime;\n"
+"13. java.lang.reflect.Method m = ((MethodInvocation)invocation)."
+"method;\n"
+"14. System.out.println(\"method \" + m.toString() + \" time: \" + "
+"endTime + \"ms\");\n"
+"15. }\n"
+"16. }\n"
+"17. }"
#. Tag: para
#: Jbossaop.xml:43
@@ -269,6 +306,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:63
@@ -325,6 +370,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:77
@@ -366,6 +415,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:85
@@ -394,6 +453,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:89
@@ -413,7 +485,7 @@
#: Jbossaop.xml:92
#, no-c-format
msgid "Preparation"
-msgstr ""
+msgstr "Preparación"
#. Tag: para
#: Jbossaop.xml:93
@@ -428,7 +500,7 @@
#: Jbossaop.xml:96
#, no-c-format
msgid "Annotations"
-msgstr ""
+msgstr "Anotaciones"
#. Tag: para
#: Jbossaop.xml:97
@@ -470,6 +542,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:104
@@ -552,3 +631,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"
+" }"
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Term.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Term.po 2008-11-12 23:02:32 UTC (rev 7128)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Pojo_Cache_Guide/es-ES/Term.po 2008-11-13 05:21:36 UTC (rev 7129)
@@ -1,30 +1,32 @@
+# translation of Term.po to
# 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.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Term\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:57+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-11-13 10:16+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en 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
#: Term.xml:5
#, no-c-format
msgid "Terminology"
-msgstr ""
+msgstr "Terminologia"
#. Tag: title
#: Term.xml:6
#, no-c-format
msgid "Overview"
-msgstr ""
+msgstr "Sinopsis"
#. Tag: para
#: Term.xml:7
@@ -178,3 +180,4 @@
"classloader in the run script. This step is necessary for an Aop system to "
"intercept events that are interesting to users."
msgstr ""
+
More information about the jbosscache-commits
mailing list