Author: nico.ben
Date: 2009-04-13 16:26:32 -0400 (Mon, 13 Apr 2009)
New Revision: 10390
Modified:
trunk/doc/Seam_Reference_Guide/it-IT/Guice.po
Log:
JBSEAM-3767: Italian translation of Seam guide
Modified: trunk/doc/Seam_Reference_Guide/it-IT/Guice.po
===================================================================
--- trunk/doc/Seam_Reference_Guide/it-IT/Guice.po 2009-04-13 09:42:47 UTC (rev 10389)
+++ trunk/doc/Seam_Reference_Guide/it-IT/Guice.po 2009-04-13 20:26:32 UTC (rev 10390)
@@ -2,95 +2,163 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2009-04-12 01:20-0400\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"PO-Revision-Date: 2009-04-13 22:25+0100\n"
+"Last-Translator: Nicola Benaglia <nico.benaz(a)gmail.com>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:6(title)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:6(title)
msgid "Guice integration"
-msgstr ""
+msgstr "Integrazione Guice"
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:8(para)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:8(para)
msgid "Google Guice is a library that provides lightweight dependency injection
through type-safe resolution. The Guice integration (part of the Seam IoC module) allows
use of Guice injection for all Seam components annotated with the
<literal>@Guice</literal> annotation. In addition to the regular bijection
that Seam performs (which becomes optional), Seam also delegates to known Guice injectors
to satisify the dependencies of the component. Guice may be useful to tie non-Seam parts
of large or legacy applications together with Seam."
-msgstr ""
+msgstr "Google Guice è una libreria che fornisce dependency injection leggera
attraverso una risoluzione type-safe. L'integrazioneGuice (parte del modulo Seam IoC)
consente l'uso dell'iniezione Guice per tutti i componenti Seam annotati con
l'annotazione <literal>@Guice</literal>. In aggiunta alla regolare
bijection che Seam fornisce (che diviene opzionale), Seam delega a injector Guice noti di
soddisfare le dipendenze del componente. Guice può essere utile per unire parte non-Seam
di applicazione grosse o legacy assieme a Seam."
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:17(note)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:17(note)
msgid "The Guice integration is bundled in the jboss-seam-ioc library. This
dependency is required for all integration techniques covered in this chapter. You will
also need the Guice JAR file on the classpath."
-msgstr ""
+msgstr "L'integrazione Guice è messa nella libreria jboss-seam-ioc. Questa
dipendenza è richiesta per tutte le tecniche di integrazione coperta in questo capitolo.
Occorre anche il file JAR Guice nel classpath."
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:24(title)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:24(title)
msgid "Creating a hybrid Seam-Guice component"
-msgstr ""
+msgstr "Creazione di un componente ibrido Seam-Guice"
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:26(para)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:26(para)
msgid "The goal is to create a hybrid Seam-Guice component. The rule for how to do
this is very simple. If you want to use Guice injection in your Seam component, annotate
it with the <literal>@Guice</literal> annotation (after importing the type
<literal>org.jboss.seam.ioc.guice.Guice</literal>)."
-msgstr ""
+msgstr "L'obiettivo è creare un componente ibrido Seam-Guice. La regola per come
realizzare ciò è molto semplice. Se si vuole usare l'injection Guice nel proprio
componente Seam, annotarlo con l'annotazione <literal>@Guice</literal>
(dopo l'importazione del tipo
<literal>org.jboss.seam.ioc.guice.Guice</literal>)."
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:33(programlisting)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:33(programlisting)
#, no-wrap
-msgid "@Name(\"myGuicyComponent\")\n@Guice public class
MyGuicyComponent\n{\n @Inject MyObject myObject;\n @Inject @Special MyObject
mySpecialObject;\n ...\n}"
+msgid ""
+"@Name(\"myGuicyComponent\")\n"
+"@Guice public class MyGuicyComponent\n"
+"{\n"
+" @Inject MyObject myObject;\n"
+" @Inject @Special MyObject mySpecialObject;\n"
+" ...\n"
+"}"
msgstr ""
+"@Name(\"myGuicyComponent\")\n"
+"@Guice public class MyGuicyComponent\n"
+"{\n"
+" @Inject MyObject myObject;\n"
+" @Inject @Special MyObject mySpecialObject;\n"
+" ...\n"
+"}"
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:41(para)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:41(para)
msgid "This Guice injection will happen on every method call, just like with
bijection. Guice injects based on type and binding. To satisify the dependencies in the
previous example, you might have bound the following implementations in a Guice module,
where <literal>@Special</literal> is an annotation you define in your
application."
-msgstr ""
+msgstr "Quest'iniezione Guice avverrà ad ogni chiamata di metodo, come con la
bijection. Guice inietta in base a tipo e binding. Per soddisfare le dipendenze nel
precedente esempio, si possono associare le seguenti implementazioni in un modulo Guice,
dove <literal>@Special</literal> è un'annotazione definita nella propria
applicazione."
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:48(programlisting)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:48(programlisting)
#, no-wrap
-msgid "public class MyGuicyModule implements Module\n{\n public void
configure(Binder binder)\n {\n binder.bind(MyObject.class)\n
.toInstance(new MyObject(\"regular\"));\n\n
binder.bind(MyObject.class).annotatedWith(Special.class)\n .toInstance(new
MyObject(\"special\"));\n }\n}"
+msgid ""
+"public class MyGuicyModule implements Module\n"
+"{\n"
+" public void configure(Binder binder)\n"
+" {\n"
+" binder.bind(MyObject.class)\n"
+" .toInstance(new MyObject(\"regular\"));\n"
+"\n"
+" binder.bind(MyObject.class).annotatedWith(Special.class)\n"
+" .toInstance(new MyObject(\"special\"));\n"
+" }\n"
+"}"
msgstr ""
+"public class MyGuicyModule implements Module\n"
+"{\n"
+" public void configure(Binder binder)\n"
+" {\n"
+" binder.bind(MyObject.class)\n"
+" .toInstance(new MyObject(\"regular\"));\n"
+"\n"
+" binder.bind(MyObject.class).annotatedWith(Special.class)\n"
+" .toInstance(new MyObject(\"special\"));\n"
+" }\n"
+"}"
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:60(para)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:60(para)
msgid "Great, but which Guice injector will be used to inject the dependencies?
Well, you need to perform some setup first."
-msgstr ""
+msgstr "Bene, ma quanle injector Guice verrà usato per iniettare le dipendenze?
Occorre fare prima qualche settaggio."
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:69(title)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:69(title)
msgid "Configuring an injector"
-msgstr ""
+msgstr "Configurare un injector"
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:71(para)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:71(para)
msgid "You tell Seam which Guice injector to use by hooking it into the injection
property of the Guice initization component in the Seam component descriptor
(components.xml):"
-msgstr ""
+msgstr "Dire a Seam quale injector Guice usare agganciandolo alla proprietà
injection del componente Guice di inizializzazione nel descrittore del componente Seam
(components.xml):"
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:89(para)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:89(para)
msgid "<literal>myGuiceInjector</literal> must resolve to a Seam
component that implements the Guice <literal>Injector</literal>
interface."
-msgstr ""
+msgstr "<literal>myGuiceInjector</literal> deve risolvere ad un
componente Seam che implementi l'interfaccia Guice
<literal>Injector</literal>."
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:94(para)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:94(para)
msgid "Having to create an injector is boiler-plate code, though. What you really
want to be able to do is simply hook up Seam to your Guice modules. Fortunately, there is
a built-in Seam component that implements the <literal>Injector</literal>
interface to do exactly that. You can configure it in the Seam component descriptor with
this additional stanza."
-msgstr ""
+msgstr "Tuttavia dover creare un injector è pura scrittura di codice. Ciò che si
vuole essere in grado di fare è semplicemente agganciare Seam ai propri moduli Guice.
Fortunamente c'è un componente Seam predefinito che implementa l'interfaccia
<literal>Injector</literal> per fare ciò. Si può configurarlo nel descrittore
del componente Seam con il seguente codice."
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:108(para)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:108(para)
msgid "Of course you can also use an injector that is already used in other,
possibly non-Seam part of you application. That's one of the main motivations for
creating this integration. Since the injector is defined with EL expression, you can
obtain it in whatever way you like. For instance, you may use the Seam factory component
pattern to provide injector."
-msgstr ""
+msgstr "Certamente si può anche usare un injector che viene già usato in
un'altra parte anche non-Seam della proria applicazione. Questa è una delle principali
motivazioni per creare quest'integrazione. Poiché l'injector è definito con
un'espressione EL, si può ottenerlo in un qualsiasi modo si voglia. Per esempio si può
usare il pattern del componente factory di Seam per fornire l'injector."
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:115(programlisting)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:115(programlisting)
#, no-wrap
-msgid "@Name(\"myGuiceInjectorFactory\")\npublic InjectorFactory\n{\n
@Factory(name = \"myGuiceInjector\", scope = APPLICATION, create = true)\n
public Injector getInjector()\n {\n // Your code that returns injector \n
}\n}"
+msgid ""
+"@Name(\"myGuiceInjectorFactory\")\n"
+"public InjectorFactory\n"
+"{\n"
+" @Factory(name = \"myGuiceInjector\", scope = APPLICATION, create =
true)\n"
+" public Injector getInjector()\n"
+" {\n"
+" // Your code that returns injector \n"
+" }\n"
+"}"
msgstr ""
+"@Name(\"myGuiceInjectorFactory\")\n"
+"public InjectorFactory\n"
+"{\n"
+" @Factory(name = \"myGuiceInjector\", scope = APPLICATION, create =
true)\n"
+" public Injector getInjector()\n"
+" {\n"
+" // Your code that returns injector \n"
+" }\n"
+"}"
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:128(title)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:128(title)
msgid "Using multiple injectors"
-msgstr ""
+msgstr "Uso di injector multipli"
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:130(para)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:130(para)
msgid "By default, an injector configured in the Seam component descriptor is used.
If you really need to use multiple injectors (AFAIK, you should use multiple modules
instead), you can specify different injector for every Seam component in the
<literal>@Guice</literal> annotation."
-msgstr ""
+msgstr "Di default viene usato un injector configurato nel descrittore di componente
Seam. Se occorre usare più injector (in alternativa, si possono anche usare più moduli),
si può specificare un injector per ogni componente Seam nell'annotazione
<literal>(a)Guice</literal>."
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:137(programlisting)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:137(programlisting)
#, no-wrap
-msgid
"@Name(\"myGuicyComponent\")\n@Guice(\"myGuiceInjector\")\npublic
class MyGuicyComponent\n{\n @Inject MyObject myObject;\n ...\n}"
+msgid ""
+"@Name(\"myGuicyComponent\")\n"
+"@Guice(\"myGuiceInjector\")\n"
+"public class MyGuicyComponent\n"
+"{\n"
+" @Inject MyObject myObject;\n"
+" ...\n"
+"}"
msgstr ""
+"@Name(\"myGuicyComponent\")\n"
+"@Guice(\"myGuiceInjector\")\n"
+"public class MyGuicyComponent\n"
+"{\n"
+" @Inject MyObject myObject;\n"
+" ...\n"
+"}"
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:147(para)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:147(para)
msgid "That's all there is to it! Check out the guice example in the Seam
distribution to see the Seam Guice integration in action!"
-msgstr ""
+msgstr "Ecco tutto! Si controlli l'esempio guice nella distribuzione Seam per
vedere in azione l'integrazione Guice!"
#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: doc/Seam_Reference_Guide/en-US/Guice.xml:0(None)
+#: doc/Seam_Reference_Guide/en-US/Guice.xml:0(None)
msgid "translator-credits"
-msgstr ""
+msgstr "translator-credits"
Show replies by date