[jbosscache-commits] JBoss Cache SVN: r8023 - enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Wed Apr 29 17:26:03 EDT 2009


Author: jdimanos at jboss.com
Date: 2009-04-29 17:26:03 -0400 (Wed, 29 Apr 2009)
New Revision: 8023

Modified:
   enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Cache_loaders.po
Log:
update

Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Cache_loaders.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Cache_loaders.po	2009-04-29 09:16:40 UTC (rev 8022)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Cache_loaders.po	2009-04-29 21:26:03 UTC (rev 8023)
@@ -1,24 +1,26 @@
+# translation of Cache_loaders.po to
 # Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2009 Free Software Foundation, Inc.
 # Automatically generated, 2007.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Cache_loaders\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2008-09-21 04:43+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2009-04-30 07:25+1000\n"
+"Last-Translator: \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
 #: Cache_loaders.xml:5
 #, no-c-format
 msgid "Cache Loaders"
-msgstr ""
+msgstr "Cache-Lader"
 
 #. Tag: para
 #: Cache_loaders.xml:6
@@ -28,6 +30,9 @@
 "memory cache to a backend datastore. If JBoss Cache is configured with a "
 "cache loader, then the following features are provided:"
 msgstr ""
+"JBoss Cache kann einen <emphasis>Cache Lader</emphasis> für das Back-up "
+"des speicherinternen Cache zu einem Backend-Datenspeicher verwenden. Wird JBoss "
+"Cache mit einem Cache-Lader konfiguriert, so stehen folgende Features zur Verfügung:"
 
 #. Tag: para
 #: Cache_loaders.xml:9
@@ -255,6 +260,176 @@
 "   void storeEntireState(byte[] state) throws Exception;\n"
 "}"
 msgstr ""
+"public interface CacheLoader extends Service {\n"
+"\n"
+"   /**\n"
+"    * Sets the configuration. Will be called before {@link #create()} and "
+"{@link #start()}\n"
+"    * @param props A set of properties specific to a given CacheLoader\n"
+"    */\n"
+"   void setConfig(Properties props);\n"
+"\n"
+"   void setCache(TreeCache c);\n"
+"\n"
+"\n"
+"   /**\n"
+"    * Returns a list of children names, all names are &lt;em&gt;relative&lt;/"
+"em&gt;. Returns null if \n"
+"    * the parent node is not found.\n"
+"    * The returned set must not be modified, e.g. use Collections."
+"unmodifiableSet(s) to \n"
+"    * return the result\n"
+"    * @param fqn The FQN of the parent\n"
+"    * @return Set&lt;String&gt;. A list of children. Returns null if no "
+"children nodes are present,\n"
+"    * or the parent is not present\n"
+"    */\n"
+"   Set getChildrenNames(Fqn fqn) throws Exception;\n"
+"\n"
+"\n"
+"   /**\n"
+"    * Returns the value for a given key. Returns null if the node doesn't "
+"exist, or the value \n"
+"    * is not bound\n"
+"    */\n"
+"   Object get(Fqn name, Object key) throws Exception;\n"
+"\n"
+"\n"
+"   /**\n"
+"    * Returns all keys and values from the persistent store, given a fully "
+"qualified name.\n"
+"    * \n"
+"    * NOTE that the expected return value of this method has changed from "
+"JBossCache 1.2.x \n"
+"    * and before!  This will affect cache loaders written prior to "
+"JBossCache 1.3.0 and such \n"
+"    * implementations should be checked for compliance with the behaviour "
+"expected.\n"
+"    *  \n"
+"    * @param name\n"
+"    * @return Map&lt;Object,Object&gt; of keys and values for the given "
+"node. Returns null if the \n"
+"    * node is not found.  If the node is found but has no attributes, this "
+"method returns \n"
+"    * an empty Map.\n"
+"    * @throws Exception\n"
+"    */\n"
+"   Map get(Fqn name) throws Exception;\n"
+"\n"
+"\n"
+"\n"
+"   /**\n"
+"    * Checks whether the CacheLoader has a node with Fqn\n"
+"    * @return True if node exists, false otherwise\n"
+"    */\n"
+"   boolean exists(Fqn name) throws Exception;\n"
+"\n"
+"\n"
+"   /**\n"
+"    * Inserts key and value into the attributes hashmap of the given node. "
+"If the node does \n"
+"    * not exist, all parent nodes from the root down are created "
+"automatically\n"
+"    */\n"
+"   void put(Fqn name, Object key, Object value) throws Exception;\n"
+"\n"
+"   /**\n"
+"    * Inserts all elements of attributes into the attributes hashmap of the "
+"given node, \n"
+"    * overwriting existing attributes, but not clearing the existing hashmap "
+"before\n"
+"    * insertion (making it a union of existing and new attributes)\n"
+"    * If the node does not exist, all parent nodes from the root down are "
+"created \n"
+"    * automatically\n"
+"    * @param name The fully qualified name of the node\n"
+"    * @param attributes A Map of attributes. Can be null\n"
+"    */\n"
+"   void put(Fqn name, Map attributes) throws Exception;\n"
+"\n"
+"   /**\n"
+"    * Inserts all modifications to the backend store. Overwrite whatever is "
+"already in\n"
+"    * the datastore.\n"
+"    * @param modifications A List&lt;Modification&gt; of modifications\n"
+"    * @throws Exception\n"
+"    */\n"
+"   void put(List modifications) throws Exception;\n"
+"\n"
+"   /** Removes the given key and value from the attributes of the given "
+"node. \n"
+"   * No-op if node doesn't exist */\n"
+"   void remove(Fqn name, Object key) throws Exception;\n"
+"\n"
+"   /**\n"
+"    * Removes the given node. If the node is the root of a subtree, this "
+"will recursively \n"
+"    * remove all subnodes, depth-first\n"
+"    */\n"
+"   void remove(Fqn name) throws Exception;\n"
+"\n"
+"   /** Removes all attributes from a given node, but doesn't delete the node "
+"itself */\n"
+"   void removeData(Fqn name) throws Exception;\n"
+"\n"
+"\n"
+"   /**\n"
+"    * Prepare the modifications. For example, for a DB-based CacheLoader:\n"
+"    * \n"
+"    * Create a local (JDBC) transaction\n"
+"    * Associate the local transaction with tx (tx is the key)\n"
+"    * Execute the coresponding SQL statements against the DB (statements "
+"derived from \n"
+"    *modifications)\n"
+"    * \n"
+"    * For non-transactional CacheLoader (e.g. file-based), this could be a "
+"null operation\n"
+"    * @param tx            The transaction, just used as a hashmap key\n"
+"    * @param modifications List&lt;Modification&gt;, a list of all "
+"modifications within the given \n"
+"    * transaction\n"
+"    * @param one_phase     Persist immediately and (for example) commit the "
+"local JDBC \n"
+"    * transaction as well. When true, we won't get a {@link #commit(Object)} "
+"or \n"
+"    * {@link #rollback(Object)} method call later\n"
+"    */\n"
+"   void prepare(Object tx, List modifications, boolean one_phase) throws "
+"Exception;\n"
+"\n"
+"   /**\n"
+"    * Commit the transaction. A DB-based CacheLoader would look up the local "
+"JDBC transaction \n"
+"    * associated with tx and commit that transaction\n"
+"    * Non-transactional CacheLoaders could simply write the data that was "
+"previously saved \n"
+"    * transiently under the given tx key, to (for example) a file system "
+"(note this only holds if \n"
+"    * the previous prepare() did not define one_phase=true\n"
+"    */\n"
+"   void commit(Object tx) throws Exception;\n"
+"\n"
+"   /**\n"
+"    * Roll the transaction back. A DB-based CacheLoader would look up the "
+"local JDBC \n"
+"    * transaction associated with tx and roll back that transaction\n"
+"    */\n"
+"   void rollback(Object tx);\n"
+"\n"
+"   /**\n"
+"    * Fetch the entire state for this cache from secondary storage (disk, "
+"DB) and return\n"
+"    * it as a byte buffer. This is for initialization of a new cache from a "
+"remote cache. \n"
+"    * The new cache would then call storeEntireState()\n"
+"    * todo: define binary format for exchanging state\n"
+"    */\n"
+"   byte[] loadEntireState() throws Exception;\n"
+"\n"
+"   /** Store the given state in secondary storage. Overwrite whatever is "
+"currently in storage */\n"
+"   void storeEntireState(byte[] state) throws Exception;\n"
+"}"
 
 #. Tag: para
 #: Cache_loaders.xml:26
@@ -343,6 +518,65 @@
 "\n"
 "}"
 msgstr ""
+"public interface ExtendedCacheLoader extends CacheLoader\n"
+"{\n"
+"   /**\n"
+"    * Fetch a portion of the state for this cache from secondary storage \n"
+"    * (disk, DB) and return it as a byte buffer.\n"
+"    * This is for activation of a portion of new cache from a remote "
+"cache. \n"
+"    * The new cache would then call {@link #storeState(byte[], Fqn)}.\n"
+"    * \n"
+"    * @param subtree Fqn naming the root (i.e. highest level parent) node "
+"of\n"
+"    *                the subtree for which state is requested.\n"
+"    *                \n"
+"    * @see org.jboss.cache.TreeCache#activateRegion(String)\n"
+"    */\n"
+"   byte[] loadState(Fqn subtree) throws Exception;\n"
+"   \n"
+"   /**\n"
+"    * Store the given portion of the cache tree's state in secondary "
+"storage. \n"
+"    * Overwrite whatever is currently in secondary storage.  If the "
+"transferred \n"
+"    * state has Fqns equal to or children of parameter <code>subtree</"
+"code>, \n"
+"    * then no special behavior is required.  Otherwise, ensure that\n"
+"    * the state is integrated under the given 'subtree'. Typically\n"
+"    * in the latter case 'subtree' would be the Fqn of the buddy \n"
+"    * backup region for a buddy group; e.g.\n"
+"    * \n"
+"    * If the the transferred state had Fqns starting with \"/a\" and\n"
+"    * 'subtree' was \"/_BUDDY_BACKUP_/192.168.1.2:5555\" then the\n"
+"    * state should be stored in the local persistent store under\n"
+"    * \"/_BUDDY_BACKUP_/192.168.1.2:5555/a\"\n"
+"    * \n"
+"    * @param state   the state to store\n"
+"    * @param subtree Fqn naming the root (i.e. highest level parent) node "
+"of\n"
+"    *                the subtree included in 'state'.  If the Fqns  \n"
+"    *                of the data included in 'state' are not \n"
+"    *                already children of 'subtree', then their\n"
+"    *                Fqns should be altered to make them children of \n"
+"    *                'subtree' before they are persisted.\n"
+"    */   \n"
+"   void storeState(byte[] state, Fqn subtree) throws Exception;\n"
+"   \n"
+"   /**\n"
+"    * Sets the {@link RegionManager} this object should use to manage \n"
+"    * marshalling/unmarshalling of different regions using different\n"
+"    * classloaders.\n"
+"    *\n"
+"    * NOTE: This method is only intended to be used by the TreeCache "
+"instance \n"
+"    * this cache loader is associated with.\n"
+"    * \n"
+"    * @param manager    the region manager to use, or <code>null</code>.\n"
+"    */\n"
+"   void setRegionManager(RegionManager manager);\n"
+"\n"
+"}"
 
 #. Tag: para
 #: Cache_loaders.xml:33
@@ -372,7 +606,7 @@
 #: Cache_loaders.xml:40
 #, no-c-format
 msgid "The CacheLoader Interface"
-msgstr ""
+msgstr "Das CacheLoader-Interface"
 
 #. Tag: para
 #: Cache_loaders.xml:41
@@ -399,6 +633,15 @@
 "   void destroy();\n"
 "}"
 msgstr ""
+"public interface Service {\n"
+"   void create() throws Exception;\n"
+"\n"
+"   void start() throws Exception;\n"
+"\n"
+"   void stop();\n"
+"\n"
+"   void destroy();\n"
+"}"
 
 #. Tag: para
 #: Cache_loaders.xml:45
@@ -501,13 +744,13 @@
 #: Cache_loaders.xml:72
 #, no-c-format
 msgid "Configuration via XML"
-msgstr ""
+msgstr "Konfiguration via XML"
 
 #. Tag: para
 #: Cache_loaders.xml:73
 #, no-c-format
 msgid "The CacheLoader is configured as follows in the JBossCache XML file:"
-msgstr ""
+msgstr "Der CacheLoader wird wie folgt in der JBossCache XML-Datei konfiguriert:"
 
 #. Tag: programlisting
 #: Cache_loaders.xml:76
@@ -577,6 +820,69 @@
 "\n"
 "    &lt;/mbean&gt;"
 msgstr ""
+"&lt;!-- ==================================================================== "
+"--&gt;\n"
+"    &lt;!-- Defines TreeCache "
+"configuration                                      --&gt;\n"
+"    &lt;!-- "
+"==================================================================== --&gt;\n"
+"\n"
+"    &lt;mbean code=\"org.jboss.cache.TreeCache\" name=\"jboss.cache:"
+"service=TreeCache\"&gt;\n"
+"\n"
+"        &lt;!-- New 1.3.x cache loader config block --&gt;\n"
+"        &lt;attribute name=\"CacheLoaderConfiguration\"&gt;\n"
+"            &lt;config&gt;\n"
+"                &lt;!-- if passivation is true, only the first cache loader "
+"is used; \n"
+"                the rest are ignored --&gt;\n"
+"                &lt;passivation&gt;false&lt;/passivation&gt;\n"
+"                &lt;!-- comma delimited FQNs to preload --&gt;\n"
+"                &lt;preload&gt;/&lt;/preload&gt;\n"
+"                &lt;!-- are the cache loaders shared in a cluster? --&gt;\n"
+"                &lt;shared&gt;false&lt;/shared&gt;\n"
+"\n"
+"                &lt;!-- we can now have multiple cache loaders, which get "
+"chained --&gt;\n"
+"                &lt;!-- the 'cacheloader' element may be repeated --&gt;\n"
+"                &lt;cacheloader&gt;\n"
+"                    &lt;class&gt;org.jboss.cache.loader.JDBCCacheLoader&lt;/"
+"class&gt;\n"
+"                    &lt;!-- same as the old CacheLoaderConfig attribute --"
+"&gt;\n"
+"                    &lt;properties&gt;\n"
+"                        cache.jdbc.driver=com.mysql.jdbc.Driver\n"
+"                        cache.jdbc.url=jdbc:mysql://localhost:3306/jbossdb\n"
+"                        cache.jdbc.user=root\n"
+"                        cache.jdbc.password=\n"
+"                    &lt;/properties&gt;\n"
+"                    &lt;!-- whether the cache loader writes are asynchronous "
+"--&gt;\n"
+"                    &lt;async&gt;false&lt;/async&gt;\n"
+"                    &lt;!-- only one cache loader in the chain may set "
+"fetchPersistentState \n"
+"                    to true.\n"
+"                        An exception is thrown if more than one cache loader "
+"sets this \n"
+"                        to true. --&gt;\n"
+"                    &lt;fetchPersistentState&gt;true&lt;/"
+"fetchPersistentState&gt;\n"
+"                    &lt;!-- determines whether this cache loader ignores "
+"writes - defaults \n"
+"                    to false. --&gt;\n"
+"                    &lt;ignoreModifications&gt;false&lt;/"
+"ignoreModifications&gt;\n"
+"                    &lt;!-- if set to true, purges the contents of this "
+"cache loader when \n"
+"                    the cache starts up.\n"
+"                    Defaults to false.  --&gt;\n"
+"                    &lt;purgeOnStartup&gt;false&lt;/purgeOnStartup&gt;\n"
+"                &lt;/cacheloader&gt;\n"
+"\n"
+"            &lt;/config&gt;\n"
+"        &lt;/attribute&gt;\n"
+"\n"
+"    &lt;/mbean&gt;"
 
 #. Tag: para
 #: Cache_loaders.xml:77
@@ -621,6 +927,33 @@
 "attribute&gt;\n"
 "    &lt;/mbean&gt;"
 msgstr ""
+"&lt;!-- ==================================================================== "
+"--&gt;\n"
+"    &lt;!-- Defines TreeCache "
+"configuration                                      --&gt;\n"
+"    &lt;!-- "
+"==================================================================== --&gt;\n"
+"\n"
+"    &lt;mbean code=\"org.jboss.cache.TreeCache\" name=\"jboss.cache:"
+"service=TreeCache\"&gt;\n"
+"       &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader."
+"bdbje.BdbjeCacheLoader\n"
+"       &lt;/attribute&gt;\n"
+"       &lt;!-- attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader."
+"FileCacheLoader\n"
+"       &lt;/attribute --&gt;\n"
+"       &lt;attribute name=\"CacheLoaderConfig\" replace=\"false\"&gt;\n"
+"         location=c:&#92;&#92;tmp&#92;&#92;bdbje\n"
+"       &lt;/attribute&gt;\n"
+"       &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/attribute&gt;\n"
+"       &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/attribute&gt;\n"
+"       &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;false&lt;/"
+"attribute&gt;\n"
+"       &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;true&lt;/"
+"attribute&gt;\n"
+"       &lt;attribute name=\"CacheLoaderAsynchronous\"&gt;true&lt;/"
+"attribute&gt;\n"
+"    &lt;/mbean&gt;"
 
 #. Tag: para
 #: Cache_loaders.xml:83
@@ -636,7 +969,7 @@
 #: Cache_loaders.xml:86
 #, no-c-format
 msgid "The currently available implementations shipped with JBossCache are:"
-msgstr ""
+msgstr "Die derzeit mit JBossCache distribuierten Implementierungen sind:"
 
 #. Tag: para
 #: Cache_loaders.xml:91
@@ -823,7 +1156,7 @@
 #: Cache_loaders.xml:151
 #, no-c-format
 msgid "Cache passivation"
-msgstr ""
+msgstr "Cache-Passivierung"
 
 #. Tag: para
 #: Cache_loaders.xml:152
@@ -875,13 +1208,13 @@
 #: Cache_loaders.xml:167
 #, no-c-format
 msgid "CacheLoader use cases"
-msgstr ""
+msgstr "CacheLoader Anwendungsfälle"
 
 #. Tag: title
 #: Cache_loaders.xml:169
 #, no-c-format
 msgid "Local cache with store"
-msgstr ""
+msgstr "Lokales Cache mit Speicher"
 
 #. Tag: para
 #: Cache_loaders.xml:170
@@ -914,8 +1247,7 @@
 #. Tag: para
 #: Cache_loaders.xml:180
 #, no-c-format
-msgid ""
-"The following figure shows 2 JBossCache nodes sharing the same backend store:"
+msgid "The following figure shows 2 JBossCache nodes sharing the same backend store:"
 msgstr ""
 
 #. Tag: title
@@ -1074,7 +1406,7 @@
 #: Cache_loaders.xml:271
 #, no-c-format
 msgid "Hierarchical caches"
-msgstr ""
+msgstr "Hierarchische Caches"
 
 #. Tag: para
 #: Cache_loaders.xml:272
@@ -1111,6 +1443,26 @@
 "// start firstLevel\n"
 "firstLevel.startService();"
 msgstr ""
+"TreeCache firstLevel, secondLevel;\n"
+"LocalDelegatingCacheLoader cache_loader;\n"
+"\n"
+"// create and configure firstLevel\n"
+"firstLevel=new TreeCache();\n"
+"\n"
+"// create and configure secondLevel\n"
+"secondLevel=new TreeCache();\n"
+"\n"
+"// create DelegatingCacheLoader\n"
+"cache_loader=new LocalDelegatingCacheLoader(secondLevel);\n"
+"\n"
+"// set CacheLoader in firstLevel\n"
+"firstLevel.setCacheLoader(cache_loader);\n"
+"\n"
+"// start secondLevel\n"
+"secondLevel.startService();\n"
+"\n"
+"// start firstLevel\n"
+"firstLevel.startService();"
 
 #. Tag: para
 #: Cache_loaders.xml:276
@@ -1170,6 +1522,45 @@
 "...\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;!-- ==================================================================== "
+"--&gt;\n"
+"&lt;!-- Defines TreeCache configuration                                      "
+"--&gt;\n"
+"&lt;!-- ==================================================================== "
+"--&gt;\n"
+"\n"
+"&lt;mbean code=\"org.jboss.cache.TreeCache\" name=\"jboss.cache:"
+"service=TreeCache\"&gt;\n"
+"...\n"
+"&lt;attribute name=\"CacheLoaderConfiguration\"&gt;\n"
+"    &lt;config&gt;\n"
+"        &lt;passivation&gt;false&lt;/passivation&gt;\n"
+"        &lt;preload&gt;/some/stuff&lt;/preload&gt;\n"
+"        &lt;cacheloader&gt;\n"
+"            &lt;class&gt;org.jboss.cache.loader.RpcDelegatingCacheLoader&lt;/"
+"class&gt;\n"
+"            &lt;!-- whether the cache loader writes are asynchronous --&gt;\n"
+"            &lt;async&gt;false&lt;/async&gt;\n"
+"            &lt;!-- only one cache loader in the chain may set "
+"fetchPersistentState to true.\n"
+"                 An exception is thrown if more than one cache loader sets "
+"this to true. \n"
+"            --&gt;\n"
+"            &lt;fetchPersistentState&gt;false&lt;/fetchPersistentState&gt;\n"
+"            &lt;!-- determines whether this cache loader ignores writes - "
+"defaults to false. \n"
+"            --&gt;\n"
+"            &lt;ignoreModifications&gt;false&lt;/ignoreModifications&gt;\n"
+"            &lt;!-- if set to true, purges the contents of this cache loader "
+"when \n"
+"            the cache starts up.\n"
+"            Defaults to false.  --&gt;\n"
+"            &lt;purgeOnStartup&gt;false&lt;/purgeOnStartup&gt;\n"
+"        &lt;/cacheloader&gt;\n"
+"    &lt;/config&gt;\n"
+"&lt;/attribute&gt;\n"
+"...\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: Cache_loaders.xml:280
@@ -1184,7 +1575,7 @@
 #: Cache_loaders.xml:286
 #, no-c-format
 msgid "TcpDelegatingCacheLoader"
-msgstr ""
+msgstr "TcpDelegatingCacheLoader"
 
 #. Tag: para
 #: Cache_loaders.xml:287
@@ -1218,8 +1609,7 @@
 #. Tag: para
 #: Cache_loaders.xml:296
 #, no-c-format
-msgid ""
-"An example set of a TcpCacheServer running inside of JBoss is shown below:"
+msgid "An example set of a TcpCacheServer running inside of JBoss is shown below:"
 msgstr ""
 
 #. Tag: programlisting
@@ -1245,6 +1635,24 @@
 "\n"
 "&lt;/server&gt;"
 msgstr ""
+"&lt;server&gt;\n"
+"\n"
+"   &lt;classpath codebase=\"./lib\" archives=\"jboss-cache.jar\"/&gt;\n"
+"\n"
+"   &lt;mbean code=\"org.jboss.cache.loader.tcp.TcpCacheServer\" \n"
+"       name=\"jboss.cache:service=TcpCacheServer\"&gt;\n"
+"      &lt;depends optional-attribute-name=\"Cache\"\n"
+"               proxy-type=\"attribute\"&gt;jboss.cache:service=TreeCache&lt;/"
+"depends&gt;\n"
+"      &lt;attribute name=\"BindAddress\"&gt;&#36;{jboss.bind.address:"
+"localhost}&lt;/attribute&gt;\n"
+"      &lt;attribute name=\"Port\"&gt;7500&lt;/attribute&gt;\n"
+"      &lt;attribute name=\"MBeanServerName\"&gt;&lt;/attribute&gt;\n"
+"      &lt;!--&lt;attribute name=\"CacheName\"&gt;jboss.cache:"
+"service=TreeCache&lt;/attribute&gt;--&gt;\n"
+"   &lt;/mbean&gt;\n"
+"\n"
+"&lt;/server&gt;"
 
 #. Tag: para
 #: Cache_loaders.xml:300
@@ -1270,7 +1678,7 @@
 #: Cache_loaders.xml:306 Cache_loaders.xml:342
 #, no-c-format
 msgid "The client side looks as follow:"
-msgstr ""
+msgstr "Die Client-Seite sieht wie folgt aus:"
 
 #. Tag: programlisting
 #: Cache_loaders.xml:309
@@ -1289,6 +1697,18 @@
 "   &lt;/config&gt;\n"
 "&lt;/attribute&gt;"
 msgstr ""
+"&lt;attribute name=\"CacheLoaderConfiguration\"&gt;\n"
+"   &lt;config&gt;\n"
+"       &lt;cacheloader&gt;\n"
+"           &lt;class&gt;org.jboss.cache.loader.tcp."
+"TcpDelegatingCacheLoader&lt;/class&gt;\n"
+"               &lt;properties&gt;\n"
+"                   host=localhost\n"
+"                   port=7500\n"
+"               &lt;/properties&gt;\n"
+"       &lt;/cacheloader&gt;\n"
+"   &lt;/config&gt;\n"
+"&lt;/attribute&gt;"
 
 #. Tag: para
 #: Cache_loaders.xml:310
@@ -1329,7 +1749,7 @@
 #: Cache_loaders.xml:322
 #, no-c-format
 msgid "RmiDelegatingCacheLoader"
-msgstr ""
+msgstr "RmiDelegatingCacheLoader"
 
 #. Tag: para
 #: Cache_loaders.xml:323
@@ -1361,8 +1781,7 @@
 #. Tag: para
 #: Cache_loaders.xml:332
 #, no-c-format
-msgid ""
-"An example set of an RmiCacheServer running inside of JBoss is shown below:"
+msgid "An example set of an RmiCacheServer running inside of JBoss is shown below:"
 msgstr ""
 
 #. Tag: programlisting
@@ -1391,6 +1810,27 @@
 "\n"
 "&lt;/server&gt;"
 msgstr ""
+"&lt;server&gt;\n"
+"\n"
+"   &lt;classpath codebase=\"./lib\" archives=\"jboss-cache.jar\"/&gt;\n"
+"\n"
+"   &lt;mbean code=\"org.jboss.cache.loader.rmi.RmiCacheServer\" \n"
+"      name=\"jboss.cache:service=RmiCacheServer\"&gt;\n"
+"       &lt;depends optional-attribute-name=\"Cache\"\n"
+"       proxy-type=\"attribute\"&gt;jboss.cache:service=TreeCache&lt;/"
+"depends&gt;\n"
+"       &lt;!-- the address and port of the RMI server. --&gt;\n"
+"       &lt;attribute name=\"BindAddress\"&gt;&#36;{jboss.bind.address:"
+"localhost}&lt;/attribute&gt;\n"
+"       &lt;attribute name=\"Port\"&gt;1098&lt;/attribute&gt;\n"
+"       &lt;attribute name=\"BindName\"&gt;MyRmiCacheServer&lt;/"
+"attribute&gt;\n"
+"       &lt;attribute name=\"MBeanServerName\"&gt;&lt;/attribute&gt;\n"
+"       &lt;!--&lt;attribute name=\"CacheName\"&gt;jboss.cache:"
+"service=TreeCache&lt;/attribute&gt;--&gt;\n"
+"   &lt;/mbean&gt;\n"
+"\n"
+"&lt;/server&gt;"
 
 #. Tag: para
 #: Cache_loaders.xml:336
@@ -1431,6 +1871,19 @@
 "   &lt;/config&gt;\n"
 "&lt;/attribute&gt;"
 msgstr ""
+"&lt;attribute name=\"CacheLoaderConfiguration\"&gt;\n"
+"   &lt;config&gt;\n"
+"       &lt;cacheloader&gt;\n"
+"           &lt;class&gt;org.jboss.cache.loader.RmiDelegatingCacheLoader&lt;/"
+"class&gt;\n"
+"               &lt;properties&gt;\n"
+"                   host=localhost\n"
+"                   port=1098\n"
+"                      name=MyRmiCacheServer\n"
+"               &lt;/properties&gt;\n"
+"       &lt;/cacheloader&gt;\n"
+"   &lt;/config&gt;\n"
+"&lt;/attribute&gt;"
 
 #. Tag: para
 #: Cache_loaders.xml:346
@@ -1453,7 +1906,7 @@
 #: Cache_loaders.xml:357
 #, no-c-format
 msgid "JDBC-based CacheLoader"
-msgstr ""
+msgstr "JDBC-basierter CacheLoader"
 
 #. Tag: para
 #: Cache_loaders.xml:358
@@ -1476,13 +1929,13 @@
 #: Cache_loaders.xml:364
 #, no-c-format
 msgid "column for FQN (which is also a primary key column)"
-msgstr ""
+msgstr "Spalte für FQN (welches auch die primäre Schlüsselspalte ist)"
 
 #. Tag: para
 #: Cache_loaders.xml:367
 #, no-c-format
 msgid "column for node contents (attribute/value pairs)"
-msgstr ""
+msgstr "Spalte für Node-Inhalte (Attribute/Wertepaare)"
 
 #. Tag: para
 #: Cache_loaders.xml:370
@@ -1518,13 +1971,13 @@
 #: Cache_loaders.xml:381
 #, no-c-format
 msgid "JDBCCacheLoader configuration"
-msgstr ""
+msgstr "JDBCCacheLoader-Konfiguration"
 
 #. Tag: title
 #: Cache_loaders.xml:383
 #, no-c-format
 msgid "Table configuration"
-msgstr ""
+msgstr "Tabellenkonfiguration"
 
 #. Tag: para
 #: Cache_loaders.xml:384
@@ -1604,7 +2057,7 @@
 #: Cache_loaders.xml:415
 #, no-c-format
 msgid "DataSource"
-msgstr ""
+msgstr "DataSource"
 
 #. Tag: para
 #: Cache_loaders.xml:416
@@ -1626,7 +2079,7 @@
 #: Cache_loaders.xml:426
 #, no-c-format
 msgid "JDBC driver"
-msgstr ""
+msgstr "JDBC-Treiber"
 
 #. Tag: para
 #: Cache_loaders.xml:427
@@ -1639,8 +2092,7 @@
 #. Tag: para
 #: Cache_loaders.xml:430
 #, no-c-format
-msgid ""
-"<emphasis>cache.jdbc.driver</emphasis> - fully qualified JDBC driver name."
+msgid "<emphasis>cache.jdbc.driver</emphasis> - fully qualified JDBC driver name."
 msgstr ""
 
 #. Tag: para
@@ -1652,8 +2104,7 @@
 #. Tag: para
 #: Cache_loaders.xml:436
 #, no-c-format
-msgid ""
-"<emphasis>cache.jdbc.user</emphasis> - user name to connect to the database."
+msgid "<emphasis>cache.jdbc.user</emphasis> - user name to connect to the database."
 msgstr ""
 
 #. Tag: para
@@ -1668,7 +2119,7 @@
 #: Cache_loaders.xml:446
 #, no-c-format
 msgid "Configuration example"
-msgstr ""
+msgstr "Konfigurationsbeispiel"
 
 #. Tag: para
 #: Cache_loaders.xml:447
@@ -1726,6 +2177,48 @@
 "    &lt;/config&gt;\n"
 "&lt;/attribute&gt;"
 msgstr ""
+"&lt;attribute name=\"CacheLoaderConfiguration\"&gt;\n"
+"    &lt;config&gt;\n"
+"        &lt;passivation&gt;false&lt;/passivation&gt;\n"
+"        &lt;preload&gt;/some/stuff&lt;/preload&gt;\n"
+"        &lt;cacheloader&gt;\n"
+"            &lt;class&gt;org.jboss.cache.loader.JDBCCacheLoader&lt;/"
+"class&gt;\n"
+"            &lt;!-- same as the old CacheLoaderConfig attribute --&gt;\n"
+"            &lt;properties&gt;\n"
+"                cache.jdbc.table.name=jbosscache\n"
+"                cache.jdbc.table.create=true\n"
+"                cache.jdbc.table.drop=true\n"
+"                cache.jdbc.table.primarykey=jbosscache_pk\n"
+"                cache.jdbc.fqn.column=fqn\n"
+"                cache.jdbc.fqn.type=varchar(255)\n"
+"                cache.jdbc.node.column=node\n"
+"                cache.jdbc.node.type=blob\n"
+"                cache.jdbc.parent.column=parent\n"
+"                cache.jdbc.driver=oracle.jdbc.OracleDriver\n"
+"                cache.jdbc.url=jdbc:oracle:thin:@localhost:1521:JBOSSDB\n"
+"                cache.jdbc.user=SCOTT\n"
+"                cache.jdbc.password=TIGER\n"
+"            &lt;/properties&gt;\n"
+"            &lt;!-- whether the cache loader writes are asynchronous --&gt;\n"
+"            &lt;async&gt;false&lt;/async&gt;\n"
+"            &lt;!-- only one cache loader in the chain may set "
+"fetchPersistentState to true.\n"
+"                 An exception is thrown if more than one cache loader sets "
+"this to true. \n"
+"                 --&gt;\n"
+"            &lt;fetchPersistentState&gt;true&lt;/fetchPersistentState&gt;\n"
+"            &lt;!-- determines whether this cache loader ignores writes - "
+"defaults to false. \n"
+"            --&gt;\n"
+"            &lt;ignoreModifications&gt;false&lt;/ignoreModifications&gt;\n"
+"            &lt;!-- if set to true, purges the contents of this cache loader "
+"when the cache \n"
+"            starts up. Defaults to false.  --&gt;\n"
+"            &lt;purgeOnStartup&gt;false&lt;/purgeOnStartup&gt;\n"
+"        &lt;/cacheloader&gt;\n"
+"    &lt;/config&gt;\n"
+"&lt;/attribute&gt;"
 
 #. Tag: para
 #: Cache_loaders.xml:453
@@ -1770,3 +2263,34 @@
 "    &lt;/config&gt;\n"
 "&lt;/attribute&gt;"
 msgstr ""
+"&lt;attribute name=\"CacheLoaderConfiguration\"&gt;\n"
+"    &lt;config&gt;\n"
+"        &lt;passivation&gt;false&lt;/passivation&gt;\n"
+"        &lt;preload&gt;/some/stuff&lt;/preload&gt;\n"
+"        &lt;cacheloader&gt;\n"
+"            &lt;class&gt;org.jboss.cache.loader.JDBCCacheLoader&lt;/"
+"class&gt;\n"
+"            &lt;!-- same as the old CacheLoaderConfig attribute --&gt;\n"
+"            &lt;properties&gt;\n"
+"                cache.jdbc.datasource=java:/DefaultDS\n"
+"            &lt;/properties&gt;\n"
+"            &lt;!-- whether the cache loader writes are asynchronous --&gt;\n"
+"            &lt;async&gt;false&lt;/async&gt;\n"
+"            &lt;!-- only one cache loader in the chain may set "
+"fetchPersistentState to true.\n"
+"                 An exception is thrown if more than one cache loader sets "
+"this to true. \n"
+"                 --&gt;\n"
+"            &lt;fetchPersistentState&gt;true&lt;/fetchPersistentState&gt;\n"
+"            &lt;!-- determines whether this cache loader ignores writes - "
+"defaults to false. \n"
+"            --&gt;\n"
+"            &lt;ignoreModifications&gt;false&lt;/ignoreModifications&gt;\n"
+"            &lt;!-- if set to true, purges the contents of this cache loader "
+"when the cache \n"
+"            starts up. Defaults to false.  --&gt;\n"
+"            &lt;purgeOnStartup&gt;false&lt;/purgeOnStartup&gt;\n"
+"        &lt;/cacheloader&gt;\n"
+"    &lt;/config&gt;\n"
+"&lt;/attribute&gt;"
+




More information about the jbosscache-commits mailing list