Author: jdimanos(a)jboss.com
Date: 2009-05-19 21:33:30 -0400 (Tue, 19 May 2009)
New Revision: 8060
Modified:
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Treecache_marshaller.po
Log:
update
Modified:
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Treecache_marshaller.po
===================================================================
---
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Treecache_marshaller.po 2009-05-13
08:39:58 UTC (rev 8059)
+++
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Treecache_marshaller.po 2009-05-20
01:33:30 UTC (rev 8060)
@@ -1,24 +1,26 @@
+# translation of Treecache_marshaller.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: Treecache_marshaller\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:44+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-05-20 11:29+1000\n"
+"Last-Translator: \n"
+"Language-Team: <en(a)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
#: Treecache_marshaller.xml:5
#, no-c-format
msgid "TreeCacheMarshaller"
-msgstr ""
+msgstr "TreeCacheMarshaller"
#. Tag: para
#: Treecache_marshaller.xml:6
@@ -52,7 +54,7 @@
#: Treecache_marshaller.xml:13
#, no-c-format
msgid "Basic Usage"
-msgstr ""
+msgstr "Grundgebrauch"
#. Tag: para
#: Treecache_marshaller.xml:14
@@ -118,6 +120,57 @@
" */\n"
"void unregisterClassLoader(String fqn) throws RegionNotFoundException;"
msgstr ""
+"/**\n"
+" * Sets whether marshalling uses scoped class loaders on a per region "
+"basis.\n"
+" *\n"
+" * This property must be set to true before any call to\n"
+" * {@link #registerClassLoader(String, ClassLoader)} or\n"
+" * {@link #activateRegion(String)}\n"
+" *\n"
+" * @param isTrue\n"
+" */\n"
+"void setUseRegionBasedMarshalling(boolean isTrue);\n"
+"\n"
+"/**\n"
+" * Gets whether marshalling uses scoped class loaders on a per region "
+"basis.\n"
+" */\n"
+"boolean getUseRegionBasedMarshalling();\n"
+"\n"
+"/**\n"
+" * Registers the given classloader with
<code>TreeCacheMarshaller</code> "
+"for\n"
+" * use in unmarshalling replicated objects for the specified region.\n"
+" *\n"
+" * @param fqn The fqn region. This fqn and its children will use this "
+"classloader for \n"
+" * (un)marshalling.\n"
+" * @param cl The class loader to use\n"
+" *\n"
+" * @throws RegionNameConflictException if <code>fqn</code> is a
descendant "
+"of\n"
+" * an FQN that already has a classloader registered.\n"
+" * @throws IllegalStateException if <code>useMarshalling</code> is
"
+"<code>false</code>\n"
+" */\n"
+"void registerClassLoader(String fqn, ClassLoader cl) throws "
+"RegionNameConflictException;\n"
+"\n"
+"/**\n"
+" * Instructs the <code>TreeCacheMarshaller</code> to no longer use a
"
+"special\n"
+" * classloader to unmarshal replicated objects for the specified region.\n"
+" *\n"
+" * @param fqn The fqn of the root node of region.\n"
+" *\n"
+" * @throws RegionNotFoundException if no classloader has been registered "
+"for\n"
+" * <code>fqn</code>.\n"
+" * @throws IllegalStateException if <code>useMarshalling</code> is
"
+"<code>false</code>\n"
+" */\n"
+"void unregisterClassLoader(String fqn) throws RegionNotFoundException;"
#. Tag: para
#: Treecache_marshaller.xml:18
@@ -132,9 +185,8 @@
#. Tag: programlisting
#: Treecache_marshaller.xml:21
#, no-c-format
-msgid ""
-"<attribute
name=\"UseRegionBasedMarshalling\">true</attribute>"
-msgstr ""
+msgid "<attribute
name=\"UseRegionBasedMarshalling\">true</attribute>"
+msgstr "<attribute
name=\"UseRegionBasedMarshalling\">true</attribute>"
#. Tag: para
#: Treecache_marshaller.xml:22
@@ -155,6 +207,8 @@
"At this time, <literal>registerClassLoader</literal> only supports
String-"
"based FQNs."
msgstr ""
+"Derzeit unterstützt <literal>registerClassLoader</literal> nur
String-basierte "
+"FQNs."
#. Tag: para
#: Treecache_marshaller.xml:28
@@ -183,7 +237,7 @@
#: Treecache_marshaller.xml:37
#, no-c-format
msgid "Region Activation/Inactivation"
-msgstr ""
+msgstr "Region Aktivierung/Inaktivierung"
#. Tag: para
#: Treecache_marshaller.xml:38
@@ -201,32 +255,33 @@
#: Treecache_marshaller.xml:43
#, no-c-format
msgid "TreeCache on machine A starts."
-msgstr ""
+msgstr "TreeCache auf Maschine A startet."
#. Tag: para
#: Treecache_marshaller.xml:46
#, no-c-format
msgid "On A a classloader is registered under FQN /x."
-msgstr ""
+msgstr "Auf A wird unter FQN /x ein Klassenlader registriert."
#. Tag: para
#: Treecache_marshaller.xml:49
#, no-c-format
msgid "Machine B starts, so TreeCache on B starts."
-msgstr ""
+msgstr "Maschine B startet, und somit startet das TreeCache auf B."
#. Tag: para
#: Treecache_marshaller.xml:52
#, no-c-format
msgid "An object is put in the machine A cache under FQN /x/1."
-msgstr ""
+msgstr "Ein Objekt wird dem Cache von Maschine A unter FQN /x/1 hinzugefügt."
#. Tag: para
#: Treecache_marshaller.xml:55
#, no-c-format
-msgid ""
-"Replication to B fails, as the required classloader is not yet registered."
+msgid "Replication to B fails, as the required classloader is not yet
registered."
msgstr ""
+"Replikation nach B fehlschlägt fehl, da der benötigte Klassenlader noch "
+"nicht registriert ist."
#. Tag: para
#: Treecache_marshaller.xml:58
@@ -235,6 +290,8 @@
"On B a classloader is registered under FQN /x, but too late to prevent the "
"replication error."
msgstr ""
+"Auf B wird ein Klassenlader unter FQN /x registriert, allerdings zu spät, "
+"um den Replikationsfehler zu verhindern."
#. Tag: para
#: Treecache_marshaller.xml:61
@@ -351,6 +408,71 @@
"RegionNameConflictException,\n"
"CacheException;"
msgstr ""
+"/**\n"
+" * Sets whether the entire tree is inactive upon startup, only responding\n"
+" * to replication messages after {@link #activateRegion(String)} is\n"
+" * called to activate one or more parts of the tree.\n"
+" * <p>\n"
+" * This property is only relevant if {@link #getUseRegionBasedMarshalling()}
"
+"is\n"
+" * <code>true</code>.\n"
+" *\n"
+" */\n"
+"public void setInactiveOnStartup(boolean inactiveOnStartup);\n"
+"\n"
+"/**\n"
+" * Gets whether the entire tree is inactive upon startup, only responding\n"
+" * to replication messages after {@link #activateRegion(String)} is\n"
+" * called to activate one or more parts of the tree.\n"
+" * <p>\n"
+" * This property is only relevant if {@link #getUseRegionBasedMarshalling()}
"
+"is\n"
+" * <code>true</code>.\n"
+" */\n"
+"public boolean isInactiveOnStartup();\n"
+"\n"
+"/**\n"
+" * Causes the cache to transfer state for the subtree rooted at\n"
+" * <code>subtreeFqn</code> and to begin accepting replication
messages\n"
+" * for that subtree.\n"
+" * \n"
+" * NOTE: This method will cause the creation of a node\n"
+" * in the local tree at <code>subtreeFqn</code> whether or not
that\n"
+" * node exists anywhere else in the cluster. If the node does not exist\n"
+" * elsewhere, the local node will be empty. The creation of this node
will\n"
+" * not be replicated.\n"
+" *\n"
+" * @param subtreeFqn Fqn string indicating the uppermost node in the\n"
+" * portion of the tree that should be activated.\n"
+" *\n"
+" * @throws RegionNotEmptyException if the node
<code>subtreeFqn</code>\n"
+" * exists and has either data or children\n"
+" *\n"
+" * @throws IllegalStateException if useRegionBasedMarshalling is "
+"<code>false</code>\n"
+" */\n"
+"public void activateRegion(String subtreeFqn)\n"
+" throws RegionNotEmptyException, RegionNameConflictException, "
+"CacheException;\n"
+"\n"
+"/**\n"
+" * Causes the cache to stop accepting replication events for the subtree\n"
+" * rooted at <code>subtreeFqn</code> and evict all nodes in that
subtree.\n"
+" *\n"
+" * @param subtreeFqn Fqn string indicating the uppermost node in the\n"
+" * portion of the tree that should be activated.\n"
+" * @throws RegionNameConflictException if <code>subtreeFqn</code>
indicates\n"
+" * a node that is part of another subtree that is being specially\n"
+" * managed (either by activate/inactiveRegion()\n"
+" * or by registerClassLoader())\n"
+" * @throws CacheException if there is a problem evicting nodes\n"
+" *\n"
+" * @throws IllegalStateException if useRegionBasedMarshalling is "
+"<code>false</code>\n"
+" */\n"
+"public void inactivateRegion(String subtreeFqn) throws "
+"RegionNameConflictException,\n"
+"CacheException;"
#. Tag: para
#: Treecache_marshaller.xml:79
@@ -367,7 +489,7 @@
#: Treecache_marshaller.xml:82
#, no-c-format
msgid "<attribute
name=\"InactiveOnStartup\">true</attribute>"
-msgstr ""
+msgstr "<attribute
name=\"InactiveOnStartup\">true</attribute>"
#. Tag: para
#: Treecache_marshaller.xml:83
@@ -425,7 +547,7 @@
#: Treecache_marshaller.xml:96
#, no-c-format
msgid "Example usage of Region Activation/Inactivation"
-msgstr ""
+msgstr "Beispiel für den Gebrauch der Region Aktivierung/Inaktivierung"
#. Tag: para
#: Treecache_marshaller.xml:97
@@ -445,7 +567,7 @@
msgid ""
"First, the XML configuration file for the shared cache service would be "
"configured as follows (only relevant portions are shown):"
-msgstr ""
+msgstr "Zuerst würde die XML-Konfigurationsdatei für den geteilten Cache-Dienst wie
folgt konfiguriert (nur die relevanten Teile sind dargestellt):"
#. Tag: programlisting
#: Treecache_marshaller.xml:103
@@ -479,6 +601,33 @@
" </mbean>\n"
"</server>"
msgstr ""
+"<?xml version=\"1.0\" encoding=\"UTF-8\"
?>\n"
+"<server>\n"
+" <classpath codebase=\"./lib\" archives=\"jboss-cache.jar,
jgroups.jar"
+"\" />\n"
+"\n"
+" <!-- "
+"==================================================================== --"
+">\n"
+" <!-- Defines TreeCache "
+"configuration -->\n"
+" <!-- "
+"==================================================================== --"
+">\n"
+" <mbean code=\"org.jboss.cache.TreeCache\"
name=\"com.xyz.cache:"
+"service=SharedCache\">\n"
+"\n"
+" .......\n"
+"\n"
+" <!-- Configure Marshalling -->\n"
+" <attribute
name=\"getUseRegionBasedMarshalling\">true</"
+"attribute>\n"
+" <attribute
name=\"InactiveOnStartup\">true</attribute>\n"
+"\n"
+" ........\n"
+"\n"
+" </mbean>\n"
+"</server>"
#. Tag: para
#: Treecache_marshaller.xml:104
@@ -538,6 +687,48 @@
" }\n"
"}"
msgstr ""
+"package example;\n"
+"\n"
+"import javax.management.MalformedObjectNameException;\n"
+"import javax.management.ObjectName;\n"
+"import javax.servlet.ServletContextEvent;\n"
+"import javax.servlet.ServletContextListener;\n"
+"\n"
+"import org.jboss.cache.TreeCacheMBean;\n"
+"import org.jboss.mx.util.MBeanProxyExt;\n"
+"\n"
+"public class ActiveInactiveRegionExample implements ServletContextListener\n"
+"{\n"
+" private TreeCacheMBean cache;\n"
+"\n"
+" public void contextInitialized(ServletContextEvent arg0) {\n"
+" try {\n"
+" findCache();\n"
+"\n"
+" cache.registerClassLoader(\"/example\",
Thread.currentThread()."
+"getContextClassLoader());\n"
+" cache.activeRegion(\"/example\");\n"
+" }\n"
+" catch (Exception e) {\n"
+" // ... handle exception\n"
+" }\n"
+"\n"
+" }\n"
+"\n"
+" public void contextDestroyed(ServletContextEvent arg0) {\n"
+" cache.inactivateRegion(\"/example\");\n"
+" cache.unregisterClassLoader(\"/example\");\n"
+" }\n"
+"\n"
+" private void findCache() throws MalformedObjectNameException {\n"
+" // Find the shared cache service in JMX and create a proxy to it\n"
+" ObjectName cacheServiceName_ = new ObjectName(\"com.xyz.cache:"
+"service=SharedCache\");\n"
+" // Create Proxy-Object for this service\n"
+" cache = (TreeCacheMBean) MBeanProxyExt.create(TreeCacheMBean.class, "
+"cacheServiceName_);\n"
+" }\n"
+"}"
#. Tag: para
#: Treecache_marshaller.xml:108
@@ -565,7 +756,7 @@
#: Treecache_marshaller.xml:119
#, no-c-format
msgid "Region Activation/Inactivation with a CacheLoader"
-msgstr ""
+msgstr "Region Aktivierung/Inaktivierung mit einem CacheLoader"
#. Tag: para
#: Treecache_marshaller.xml:120
@@ -623,6 +814,45 @@
" */\n"
" void setRegionManager(RegionManager manager);"
msgstr ""
+"/**\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.\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
<code>state</code>.\n"
+" */\n"
+" void storeState(byte[] state, Fqn subtree) throws Exception;\n"
+"\n"
+" /**\n"
+" * Sets the 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\n"
+" * by the <code>TreeCache</code> instance this cache loader
is\n"
+" * associated with.\n"
+" * \n"
+" *\n"
+" * @param manager the region manager to use, or
<code>null</code>.\n"
+" */\n"
+" void setRegionManager(RegionManager manager);"
#. Tag: para
#: Treecache_marshaller.xml:124
@@ -671,7 +901,7 @@
#: Treecache_marshaller.xml:140
#, no-c-format
msgid "Backward compatibility"
-msgstr ""
+msgstr "Rückwärtige Kompatibilität"
#. Tag: para
#: Treecache_marshaller.xml:141
@@ -706,3 +936,6 @@
"<!-- takes values such as 1.2.3, 1.2.4 and 1.3.0 -->\n"
"<attribute
name=\"ReplicationVersion\">1.2.4</attribute>"
msgstr ""
+"<!-- takes values such as 1.2.3, 1.2.4 and 1.3.0 -->\n"
+"<attribute
name=\"ReplicationVersion\">1.2.4</attribute>"
+