Author: nico.ben
Date: 2009-03-30 16:02:12 -0400 (Mon, 30 Mar 2009)
New Revision: 2276
Modified:
doc/trunk/reference/it-IT/environments.po
doc/trunk/reference/it-IT/extensions.po
doc/trunk/reference/it-IT/producermethods.po
Log:
Italian translation
Modified: doc/trunk/reference/it-IT/environments.po
===================================================================
--- doc/trunk/reference/it-IT/environments.po 2009-03-30 19:49:39 UTC (rev 2275)
+++ doc/trunk/reference/it-IT/environments.po 2009-03-30 20:02:12 UTC (rev 2276)
@@ -6,8 +6,8 @@
"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection
VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
"POT-Creation-Date: 2009-03-28 17:09+0000\n"
-"PO-Revision-Date: 2009-03-28 17:09+0000\n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2009-03-30 21:57+0100\n"
+"Last-Translator: Nicola Benaglia <nico.benaz(a)gmail.com>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -28,27 +28,20 @@
#. Tag: para
#: environments.xml:9
#, no-c-format
-msgid ""
-"No special configuration of your application, beyond adding either "
-"<literal>META-INF/beans.xml</literal> or
<literal>WEB-INF/beans.xml</"
-"literal> is needed."
+msgid "No special configuration of your application, beyond adding either
<literal>META-INF/beans.xml</literal> or
<literal>WEB-INF/beans.xml</literal> is needed."
msgstr ""
#. Tag: para
#: environments.xml:15
#, no-c-format
-msgid ""
-"If you are using JBoss AS 5.0.1.GA then you'll need to install Web Beans as
"
-"an extra. First we need to tell Web Beans where JBoss is located. Edit "
-"<literal>jboss-as/build.properties</literal> and set the
<literal>jboss."
-"home</literal> property. For example:"
+msgid "If you are using JBoss AS 5.0.1.GA then you'll need to install Web Beans
as an extra. First we need to tell Web Beans where JBoss is located. Edit
<literal>jboss-as/build.properties</literal> and set the
<literal>jboss.home</literal> property. For example:"
msgstr ""
#. Tag: programlisting
#: environments.xml:22
#, no-c-format
msgid "jboss.home=/Applications/jboss-5.0.1.GA"
-msgstr ""
+msgstr "jboss.home=/Applications/jboss-5.0.1.GA"
#. Tag: para
#: environments.xml:24
@@ -63,15 +56,13 @@
"$ cd webbeans-$VERSION/jboss-as\n"
"$ ant update"
msgstr ""
+"$ cd webbeans-$VERSION/jboss-as\n"
+"$ ant update"
#. Tag: para
#: environments.xml:31
#, no-c-format
-msgid ""
-"A new deployer, <literal>webbeans.deployer</literal> is added to JBoss
AS. "
-"This adds supports for JSR-299 deployments to JBoss AS, and allows Web Beans
"
-"to query the EJB3 container and discover which EJBs are installed in your "
-"application."
+msgid "A new deployer, <literal>webbeans.deployer</literal> is added to
JBoss AS. This adds supports for JSR-299 deployments to JBoss AS, and allows Web Beans to
query the EJB3 container and discover which EJBs are installed in your application."
msgstr ""
#. Tag: para
@@ -84,19 +75,20 @@
#: environments.xml:47
#, no-c-format
msgid "Glassfish"
-msgstr ""
+msgstr "Glassfish"
#. Tag: para
-#: environments.xml:49 environments.xml:151
+#: environments.xml:49
+#: environments.xml:151
#, no-c-format
msgid "TODO"
-msgstr ""
+msgstr "DA FARE"
#. Tag: title
#: environments.xml:53
#, no-c-format
msgid "Tomcat"
-msgstr ""
+msgstr "Tomcat"
#. Tag: para
#: environments.xml:55
@@ -107,78 +99,67 @@
#. Tag: para
#: environments.xml:58
#, no-c-format
-msgid ""
-"Web Beans doesn't support deploying session beans, injection using "
-"<literal>@EJB</literal>, <literal>@Resource</literal>, or
"
-"<literal>@PersistenceContext</literal> or using transactional events on
"
-"Tomcat."
+msgid "Web Beans doesn't support deploying session beans, injection using
<literal>@EJB</literal>, <literal>@Resource</literal>, or
<literal>@PersistenceContext</literal> or using transactional events on
Tomcat."
msgstr ""
#. Tag: para
#: environments.xml:66
#, no-c-format
-msgid ""
-"Web Beans should be used as a web application library in Tomcat. You should "
-"place <literal>webbeans-tomcat.jar</literal> in
<literal>WEB-INF/lib</"
-"literal>. <literal>webbeans-tomcat.jar</literal> is an
\"uber-jar\" provided "
-"for your convenience. Instead, you could use it's component jars:"
+msgid "Web Beans should be used as a web application library in Tomcat. You should
place <literal>webbeans-tomcat.jar</literal> in
<literal>WEB-INF/lib</literal>.
<literal>webbeans-tomcat.jar</literal> is an \"uber-jar\" provided
for your convenience. Instead, you could use it's component jars:"
msgstr ""
#. Tag: literal
#: environments.xml:77
#, no-c-format
msgid "jsr299-api.jar"
-msgstr ""
+msgstr "jsr299-api.jar"
#. Tag: literal
#: environments.xml:82
#, no-c-format
msgid "webbeans-api.jar"
-msgstr ""
+msgstr "webbeans-api.jar"
#. Tag: literal
#: environments.xml:87
#, no-c-format
msgid "webbeans-spi.jar"
-msgstr ""
+msgstr "webbeans-spi.jar"
#. Tag: literal
#: environments.xml:92
#, no-c-format
msgid "webbeans-core.jar"
-msgstr ""
+msgstr "webbeans-core.jar"
#. Tag: literal
#: environments.xml:97
#, no-c-format
msgid "webbeans-logging.jar"
-msgstr ""
+msgstr "webbeans-logging.jar"
#. Tag: literal
#: environments.xml:102
#, no-c-format
msgid "webbeans-tomcat-int.jar"
-msgstr ""
+msgstr "webbeans-tomcat-int.jar"
#. Tag: literal
#: environments.xml:107
#, no-c-format
msgid "javassist.jar"
-msgstr ""
+msgstr "javassist.jar"
#. Tag: literal
#: environments.xml:112
#, no-c-format
msgid "dom4j.jar"
-msgstr ""
+msgstr "dom4j.jar"
#. Tag: para
#: environments.xml:117
#, no-c-format
-msgid ""
-"You also need to explicitly specify the Tomcat servlet listener (used to "
-"boot Web Beans, and control it's interaction with requests) in
<literal>web."
-"xml</literal>:"
+msgid "You also need to explicitly specify the Tomcat servlet listener (used to boot
Web Beans, and control it's interaction with requests) in
<literal>web.xml</literal>:"
msgstr ""
#. Tag: programlisting
@@ -186,18 +167,17 @@
#, no-c-format
msgid ""
"<![CDATA[<listener>\n"
-"
<listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-"
-"class>\n"
+"
<listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-class>\n"
"</listener>]]>"
msgstr ""
+"<![CDATA[<listener>\n"
+"
<listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-class>\n"
+"</listener>]]>"
#. Tag: para
#: environments.xml:125
#, no-c-format
-msgid ""
-"Tomcat has a read-only JNDI, so Web Beans can't automatically bind the "
-"Manager. To bind the Manager into JNDI, you should add the following to your
"
-"<literal>META-INF/context.xml</literal>:"
+msgid "Tomcat has a read-only JNDI, so Web Beans can't automatically bind the
Manager. To bind the Manager into JNDI, you should add the following to your
<literal>META-INF/context.xml</literal>:"
msgstr ""
#. Tag: programlisting
@@ -210,13 +190,16 @@
"
factory=\"org.jboss.webbeans.resources.ManagerObjectFactory\"/>\n"
"]]>"
msgstr ""
+"<![CDATA[<Resource name=\"app/Manager\" \n"
+" auth=\"Container\"\n"
+" type=\"javax.inject.manager.Manager\"\n"
+"
factory=\"org.jboss.webbeans.resources.ManagerObjectFactory\"/>\n"
+"]]>"
#. Tag: para
#: environments.xml:133
#, no-c-format
-msgid ""
-"and make it available to your deployment by adding this to
<literal>web.xml</"
-"literal>:"
+msgid "and make it available to your deployment by adding this to
<literal>web.xml</literal>:"
msgstr ""
#. Tag: programlisting
@@ -232,18 +215,24 @@
" </resource-env-ref-type>\n"
"</resource-env-ref>]]>"
msgstr ""
+"<![CDATA[<resource-env-ref>\n"
+" <resource-env-ref-name>\n"
+" app/Manager\n"
+" </resource-env-ref-name>\n"
+" <resource-env-ref-type>\n"
+" javax.inject.manager.Manager\n"
+" </resource-env-ref-type>\n"
+"</resource-env-ref>]]>"
#. Tag: para
#: environments.xml:140
#, no-c-format
-msgid ""
-"Tomcat doesn't only allows you to bind entries to
<literal>java:comp/env</"
-"literal>, so the Manager will be available at
<literal>java:comp/env/app/"
-"Manager</literal>"
+msgid "Tomcat doesn't only allows you to bind entries to
<literal>java:comp/env</literal>, so the Manager will be available at
<literal>java:comp/env/app/Manager</literal>"
msgstr ""
#. Tag: title
#: environments.xml:149
#, no-c-format
msgid "Java SE"
-msgstr ""
+msgstr "Java SE"
+
Modified: doc/trunk/reference/it-IT/extensions.po
===================================================================
--- doc/trunk/reference/it-IT/extensions.po 2009-03-30 19:49:39 UTC (rev 2275)
+++ doc/trunk/reference/it-IT/extensions.po 2009-03-30 20:02:12 UTC (rev 2276)
@@ -6,8 +6,8 @@
"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection
VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
"POT-Creation-Date: 2009-03-28 17:09+0000\n"
-"PO-Revision-Date: 2009-03-28 17:09+0000\n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2009-03-30 21:59+0100\n"
+"Last-Translator: Nicola Benaglia <nico.benaz(a)gmail.com>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -17,29 +17,30 @@
#: extensions.xml:4
#, no-c-format
msgid "JSR-299 extensions available as part of Web Beans"
-msgstr ""
+msgstr "Estensioni JSR-299 disponibili come parte di Web Beans"
#. Tag: para
#: extensions.xml:7
#, no-c-format
-msgid ""
-"These modules are usable on any JSR-299 implementation, not just Web Beans!"
-msgstr ""
+msgid "These modules are usable on any JSR-299 implementation, not just Web
Beans!"
+msgstr "Questi moduli sono utilizzabili su qualsiasi implementazione JSR-299, non
solo Web Beans!"
#. Tag: title
#: extensions.xml:15
#, no-c-format
msgid "Web Beans Logger"
-msgstr ""
+msgstr "Web Beans Logger"
#. Tag: para
-#: extensions.xml:17 extensions.xml:26
+#: extensions.xml:17
+#: extensions.xml:26
#, no-c-format
msgid "TODO"
-msgstr ""
+msgstr "DA FARE"
#. Tag: title
#: extensions.xml:24
#, no-c-format
msgid "XSD Generator for JSR-299 XML deployment descriptors"
-msgstr ""
+msgstr "Generatore XSD per descrittori di deploy XML JSR-299"
+
Modified: doc/trunk/reference/it-IT/producermethods.po
===================================================================
--- doc/trunk/reference/it-IT/producermethods.po 2009-03-30 19:49:39 UTC (rev 2275)
+++ doc/trunk/reference/it-IT/producermethods.po 2009-03-30 20:02:12 UTC (rev 2276)
@@ -6,7 +6,7 @@
"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
"POT-Creation-Date: 2009-03-28 17:09+0000\n"
-"PO-Revision-Date: 2008-12-21 10:30+0100\n"
+"PO-Revision-Date: 2009-03-30 22:01+0100\n"
"Last-Translator: Nicola Benaglia <nico.benaz(a)gmail.com>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
@@ -22,18 +22,8 @@
#. Tag: para
#: producermethods.xml:7
#, no-c-format
-msgid ""
-"Producer methods let us overcome certain limitations that arise when the Web
"
-"Bean manager, instead of the application, is responsible for instantiating "
-"objects. They're also the easiest way to integrate objects which are not Web
"
-"Beans into the Web Beans environment. (We'll meet a second approach in <xref
"
-"linkend=\"xml\"/>.)"
-msgstr ""
-"I metodi produttori consentono di superare alcune limitazioni che sorgono "
-"quando il manager Web Bean è responsabile dell'istanziamento degli oggetti
"
-"al posto dell'applicazione. Questi metodi sono anche il modo migliore per
"
-"integrare gli oggetti che non sono Web Beans dentro l'ambiente Web Beans.
"
-"(Si incontrerà un secondo approccio in <xref
linkend=\"xml\"/>.)"
+msgid "Producer methods let us overcome certain limitations that arise when the Web
Bean manager, instead of the application, is responsible for instantiating objects.
They're also the easiest way to integrate objects which are not Web Beans into the Web
Beans environment. (We'll meet a second approach in <xref
linkend=\"xml\"/>.)"
+msgstr "I metodi produttori consentono di superare alcune limitazioni che sorgono
quando il manager Web Bean è responsabile dell'istanziamento degli oggetti al posto
dell'applicazione. Questi metodi sono anche il modo migliore per integrare gli oggetti
che non sono Web Beans dentro l'ambiente Web Beans. (Si incontrerà un secondo
approccio in <xref linkend=\"xml\"/>.)"
#. Tag: para
#: producermethods.xml:12
@@ -44,16 +34,13 @@
#. Tag: para
#: producermethods.xml:16
#, no-c-format
-msgid ""
-"A Web Beans producer method acts as a source of objects to be injected, "
-"where:"
+msgid "A Web Beans producer method acts as a source of objects to be injected,
where:"
msgstr ""
#. Tag: para
#: producermethods.xml:20
#, no-c-format
-msgid ""
-"the objects to be injected are not required to be instances of Web Beans,"
+msgid "the objects to be injected are not required to be instances of Web
Beans,"
msgstr ""
#. Tag: para
@@ -65,16 +52,14 @@
#. Tag: para
#: producermethods.xml:26
#, no-c-format
-msgid ""
-"the objects require some custom initialization that is not performed by the "
-"Web Bean constructor"
+msgid "the objects require some custom initialization that is not performed by the
Web Bean constructor"
msgstr ""
#. Tag: para
#: producermethods.xml:33
-#, fuzzy, no-c-format
+#, no-c-format
msgid "For example, producer methods let us:"
-msgstr "Scope di un metodo produttore"
+msgstr "Per esempio, i metodi produttori consentono di:"
#. Tag: para
#: producermethods.xml:37
@@ -91,9 +76,7 @@
#. Tag: para
#: producermethods.xml:43
#, no-c-format
-msgid ""
-"define multiple Web Beans, with different scopes or initialization, for the "
-"same implementation class, or"
+msgid "define multiple Web Beans, with different scopes or initialization, for the
same implementation class, or"
msgstr ""
#. Tag: para
@@ -105,17 +88,12 @@
#. Tag: para
#: producermethods.xml:51
#, no-c-format
-msgid ""
-"In particular, producer methods let us use runtime polymorphism with Web "
-"Beans. As we've seen, deployment types are a powerful solution to the "
-"problem of deployment-time polymorphism. But once the system is deployed, "
-"the Web Bean implementation is fixed. A producer method has no such "
-"limitation:"
+msgid "In particular, producer methods let us use runtime polymorphism with Web
Beans. As we've seen, deployment types are a powerful solution to the problem of
deployment-time polymorphism. But once the system is deployed, the Web Bean implementation
is fixed. A producer method has no such limitation:"
msgstr ""
#. Tag: programlisting
#: producermethods.xml:56
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[@SessionScoped\n"
"public class Preferences {\n"
@@ -136,16 +114,23 @@
" \n"
"}]]>"
msgstr ""
-"<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy(CreditCardPaymentStrategy ccps,\n"
-" ChequePaymentStrategy cps,\n"
-" PayPalPaymentStrategy ppps) {\n"
-" switch (paymentStrategy) {\n"
-" case CREDIT_CARD: return ccps;\n"
-" case CHEQUE: return cps;\n"
-" case PAYPAL: return ppps;\n"
-" default: return null;\n"
-" } \n"
+"<![CDATA[@SessionScoped\n"
+"public class Preferences {\n"
+" \n"
+" private PaymentStrategyType paymentStrategy;\n"
+" \n"
+" ...\n"
+" \n"
+" @Produces @Preferred \n"
+" public PaymentStrategy getPaymentStrategy() {\n"
+" switch (paymentStrategy) {\n"
+" case CREDIT_CARD: return new CreditCardPaymentStrategy();\n"
+" case CHEQUE: return new ChequePaymentStrategy();\n"
+" case PAYPAL: return new PayPalPaymentStrategy();\n"
+" default: return null;\n"
+" } \n"
+" }\n"
+" \n"
"}]]>"
#. Tag: para
@@ -156,29 +141,21 @@
#. Tag: programlisting
#: producermethods.xml:60
-#, fuzzy, no-c-format
+#, no-c-format
msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
-msgstr ""
-"<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy() {\n"
-" ...\n"
-"}]]>"
+msgstr "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
#. Tag: para
#: producermethods.xml:62
#, no-c-format
-msgid ""
-"This injection point has the same type and binding annotations as the "
-"producer method, so it resolves to the producer method using the usual Web "
-"Beans injection rules. The producer method will be called by the Web Bean "
-"manager to obtain an instance to service this injection point."
+msgid "This injection point has the same type and binding annotations as the
producer method, so it resolves to the producer method using the usual Web Beans injection
rules. The producer method will be called by the Web Bean manager to obtain an instance to
service this injection point."
msgstr ""
#. Tag: chapter
#: producermethods.xml:65
#, no-c-format
msgid "<chapter>.</chapter>"
-msgstr ""
+msgstr "<chapter>.</chapter>"
#. Tag: title
#: producermethods.xml:68
@@ -189,28 +166,14 @@
#. Tag: para
#: producermethods.xml:70
#, no-c-format
-msgid ""
-"The scope of the producer method defaults to
<literal>@Dependent</literal>, "
-"and so it will be called <emphasis>every time</emphasis> the Web Bean
"
-"manager injects this field or any other field that resolves to the same "
-"producer method. Thus, there could be multiple instances of the "
-"<literal>PaymentStrategy</literal> object for each user session."
-msgstr ""
-"Lo scope dei metodi produttori è di default impostato a
<literal>@Dependent</"
-"literal>, e quindi verrà chiamato <emphasis>ogni volta</emphasis>
che il "
-"manager Web Bean inietta questo campo o qualsiasi altro campi che risolve lo
"
-"stesso metodo produttore. Quindi ci potrebbero essere istanze multiple "
-"dell'oggetto <literal>PaymentStrategy</literal> per ogni sessione
utente."
+msgid "The scope of the producer method defaults to
<literal>@Dependent</literal>, and so it will be called <emphasis>every
time</emphasis> the Web Bean manager injects this field or any other field that
resolves to the same producer method. Thus, there could be multiple instances of the
<literal>PaymentStrategy</literal> object for each user session."
+msgstr "Lo scope dei metodi produttori è di default impostato a
<literal>@Dependent</literal>, e quindi verrà chiamato <emphasis>ogni
volta</emphasis> che il manager Web Bean inietta questo campo o qualsiasi altro
campi che risolve lo stesso metodo produttore. Quindi ci potrebbero essere istanze
multiple dell'oggetto <literal>PaymentStrategy</literal> per ogni sessione
utente."
#. Tag: para
#: producermethods.xml:75
#, no-c-format
-msgid ""
-"To change this behavior, we can add a <literal>@SessionScoped</literal>
"
-"annotation to the method."
-msgstr ""
-"Per cambiare questo comportamento si può aggiungere un'annotazione "
-"<literal>@SessionScoped</literal> al metodo."
+msgid "To change this behavior, we can add a
<literal>@SessionScoped</literal> annotation to the method."
+msgstr "Per cambiare questo comportamento si può aggiungere un'annotazione
<literal>@SessionScoped</literal> al metodo."
#. Tag: programlisting
#: producermethods.xml:78
@@ -229,14 +192,8 @@
#. Tag: para
#: producermethods.xml:80
#, no-c-format
-msgid ""
-"Now, when the producer method is called, the returned "
-"<literal>PaymentStrategy</literal> will be bound to the session
context. The "
-"producer method won't be called again in the same session."
-msgstr ""
-"Ora, quando il metodo produttore viene chiamato, il "
-"<literal>PaymentStrategy</literal> restituito verrà associato al
contesto di "
-"sessione. Il metodo produttore non verrà più chiamato nella stessa sessione."
+msgid "Now, when the producer method is called, the returned
<literal>PaymentStrategy</literal> will be bound to the session context. The
producer method won't be called again in the same session."
+msgstr "Ora, quando il metodo produttore viene chiamato, il
<literal>PaymentStrategy</literal> restituito verrà associato al contesto di
sessione. Il metodo produttore non verrà più chiamato nella stessa sessione."
#. Tag: title
#: producermethods.xml:87
@@ -247,28 +204,14 @@
#. Tag: para
#: producermethods.xml:89
#, no-c-format
-msgid ""
-"There's one potential problem with the code above. The implementations of
"
-"<literal>CreditCardPaymentStrategy</literal> are instantiated using the
Java "
-"<literal>new</literal> operator. Objects instantiated directly by the
"
-"application can't take advantage of dependency injection and don't have
"
-"interceptors."
-msgstr ""
-"C'è un potenziale problema con il codice visto sopra. Le implementazioni di
"
-"<literal>CreditCardPaymentStrategy</literal> vengono istanziate usando
"
-"l'operatore Java <literal>new</literal>. Gli oggetti istanziati
direttamente "
-"dall'applicazione non possono sfruttare la dependency injection e non hanno
"
-"interceptor."
+msgid "There's one potential problem with the code above. The implementations of
<literal>CreditCardPaymentStrategy</literal> are instantiated using the Java
<literal>new</literal> operator. Objects instantiated directly by the
application can't take advantage of dependency injection and don't have
interceptors."
+msgstr "C'è un potenziale problema con il codice visto sopra. Le implementazioni
di <literal>CreditCardPaymentStrategy</literal> vengono istanziate usando
l'operatore Java <literal>new</literal>. Gli oggetti istanziati
direttamente dall'applicazione non possono sfruttare la dependency injection e non
hanno interceptor."
#. Tag: para
#: producermethods.xml:94
#, no-c-format
-msgid ""
-"If this isn't what we want we can use dependency injection into the producer
"
-"method to obtain Web Bean instances:"
-msgstr ""
-"Se questo non è ciò che si vuole, è possibile usare la dependency injection "
-"nel metodo produttore per ottenere istanze Web Bean:"
+msgid "If this isn't what we want we can use dependency injection into the
producer method to obtain Web Bean instances:"
+msgstr "Se questo non è ciò che si vuole, è possibile usare la dependency injection
nel metodo produttore per ottenere istanze Web Bean:"
#. Tag: programlisting
#: producermethods.xml:97
@@ -301,50 +244,20 @@
#. Tag: para
#: producermethods.xml:99
#, no-c-format
-msgid ""
-"Wait, what if <literal>CreditCardPaymentStrategy</literal> is a request
"
-"scoped Web Bean? Then the producer method has the effect of \"promoting\"
"
-"the current request scoped instance into session scope. This is almost "
-"certainly a bug! The request scoped object will be destroyed by the Web Bean
"
-"manager before the session ends, but the reference to the object will be "
-"left \"hanging\" in the session scope. This error will
<emphasis>not</"
-"emphasis> be detected by the Web Bean manager, so please take extra care "
-"when returning Web Bean instances from producer methods!"
-msgstr ""
-"Ma cosa succede se <literal>CreditCardPaymentStrategy</literal> è un
Web "
-"Bean con scope di tipo richiesta? Il metodo produttore ha l'effetto di "
-"\"promuovere\" l'istanza corrente con scope di tipo richiesta a scope
di "
-"tipo sessione. Questo è quasi certamente un bug! L'oggetto con scope "
-"richiesta verrà distrutto dal manager Web Bean prima che la sessione "
-"termini. Quest'errore <emphasis>non</emphasis> verrà rilevato dal
manager "
-"Web Bean, quindi si faccia attenzione quando si restituiscono istanze Web "
-"Bean dai metodi produttori!"
+msgid "Wait, what if <literal>CreditCardPaymentStrategy</literal> is a
request scoped Web Bean? Then the producer method has the effect of
\"promoting\" the current request scoped instance into session scope. This is
almost certainly a bug! The request scoped object will be destroyed by the Web Bean
manager before the session ends, but the reference to the object will be left
\"hanging\" in the session scope. This error will
<emphasis>not</emphasis> be detected by the Web Bean manager, so please take
extra care when returning Web Bean instances from producer methods!"
+msgstr "Ma cosa succede se <literal>CreditCardPaymentStrategy</literal>
è un Web Bean con scope di tipo richiesta? Il metodo produttore ha l'effetto di
\"promuovere\" l'istanza corrente con scope di tipo richiesta a scope di
tipo sessione. Questo è quasi certamente un bug! L'oggetto con scope richiesta verrà
distrutto dal manager Web Bean prima che la sessione termini. Quest'errore
<emphasis>non</emphasis> verrà rilevato dal manager Web Bean, quindi si faccia
attenzione quando si restituiscono istanze Web Bean dai metodi produttori!"
#. Tag: para
#: producermethods.xml:107
#, no-c-format
-msgid ""
-"There's at least three ways we could go about fixing this bug. We could "
-"change the scope of the <literal>CreditCardPaymentStrategy</literal>
"
-"implementation, but this would affect other clients of that Web Bean. A "
-"better option would be to change the scope of the producer method to "
-"<literal>@Dependent</literal> or
<literal>(a)RequestScoped</literal>."
-msgstr ""
-"Ci sono almeno 3 modi per correggere questo bug. Si può cambiare lo scope "
-"dell'implementazione di
<literal>CreditCardPaymentStrategy</literal>, ma "
-"questo non influenzerebbe gli altri client di questo Web Bean. Un'opzione
"
-"migliore sarebbe quella di cambiare lo scope del metodo produttore a "
-"<literal>@Dependent</literal> o
<literal>(a)RequestScoped</literal>."
+msgid "There's at least three ways we could go about fixing this bug. We could
change the scope of the <literal>CreditCardPaymentStrategy</literal>
implementation, but this would affect other clients of that Web Bean. A better option
would be to change the scope of the producer method to
<literal>@Dependent</literal> or
<literal>(a)RequestScoped</literal>."
+msgstr "Ci sono almeno 3 modi per correggere questo bug. Si può cambiare lo scope
dell'implementazione di <literal>CreditCardPaymentStrategy</literal>, ma
questo non influenzerebbe gli altri client di questo Web Bean. Un'opzione migliore
sarebbe quella di cambiare lo scope del metodo produttore a
<literal>@Dependent</literal> o
<literal>(a)RequestScoped</literal>."
#. Tag: para
#: producermethods.xml:113
#, no-c-format
-msgid ""
-"But a more common solution is to use the special
<literal>@New</literal> "
-"binding annotation."
-msgstr ""
-"Ma una soluzione più comune è quella di usare la speciale annotazione di "
-"binding <literal>(a)New</literal>."
+msgid "But a more common solution is to use the special
<literal>@New</literal> binding annotation."
+msgstr "Ma una soluzione più comune è quella di usare la speciale annotazione di
binding <literal>(a)New</literal>."
#. Tag: title
#: producermethods.xml:119
@@ -363,11 +276,9 @@
#, no-c-format
msgid ""
"<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy(@New CreditCardPaymentStrategy "
-"ccps,\n"
+"public PaymentStrategy getPaymentStrategy(@New CreditCardPaymentStrategy
ccps,\n"
" @New ChequePaymentStrategy cps,\n"
-" @New PayPalPaymentStrategy ppps) "
-"{\n"
+" @New PayPalPaymentStrategy ppps)
{\n"
" switch (paymentStrategy) {\n"
" case CREDIT_CARD: return ccps;\n"
" case CHEQUE: return cps;\n"
@@ -377,11 +288,9 @@
"}]]>"
msgstr ""
"<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy(@New CreditCardPaymentStrategy "
-"ccps,\n"
+"public PaymentStrategy getPaymentStrategy(@New CreditCardPaymentStrategy
ccps,\n"
" @New ChequePaymentStrategy cps,\n"
-" @New PayPalPaymentStrategy ppps) "
-"{\n"
+" @New PayPalPaymentStrategy ppps)
{\n"
" switch (paymentStrategy) {\n"
" case CREDIT_CARD: return ccps;\n"
" case CHEQUE: return cps;\n"
@@ -393,19 +302,8 @@
#. Tag: para
#: producermethods.xml:125
#, no-c-format
-msgid ""
-"Then a new <emphasis>dependent</emphasis> instance of "
-"<literal>CreditCardPaymentStrategy</literal> will be created, passed to
the "
-"producer method, returned by the producer method and finally bound to the "
-"session context. The dependent object won't be destroyed until the "
-"<literal>Preferences</literal> object is destroyed, at the end of the
"
-"session."
-msgstr ""
-"Quindi verrebbe creata una nuova istanza
<emphasis>dipendente</emphasis> di "
-"<literal>CreditCardPaymentStrategy</literal>, passata al metodo
produttore, "
-"ritornata al metodo produttore ed infine associata al contesto di sessione. "
-"L'oggetto dipendente non verrebbe distrutto finché l'oggetto "
-"<literal>Preferences</literal> non viene distrutto, cioè a fine
sessione."
+msgid "Then a new <emphasis>dependent</emphasis> instance of
<literal>CreditCardPaymentStrategy</literal> will be created, passed to the
producer method, returned by the producer method and finally bound to the session context.
The dependent object won't be destroyed until the
<literal>Preferences</literal> object is destroyed, at the end of the
session."
+msgstr "Quindi verrebbe creata una nuova istanza
<emphasis>dipendente</emphasis> di
<literal>CreditCardPaymentStrategy</literal>, passata al metodo produttore,
ritornata al metodo produttore ed infine associata al contesto di sessione. L'oggetto
dipendente non verrebbe distrutto finché l'oggetto
<literal>Preferences</literal> non viene distrutto, cioè a fine
sessione."
#~ msgid ""
#~ "<blockquote> <para>A Web Beans producer method acts as a source of
"
@@ -494,3 +392,4 @@
#~ "risolve i metodi produttori usando le regole di iniezione dei Web Beans. "
#~ "Il metodo produttore verrà chiamato dal manager Web Bean per ottenere "
#~ "un'istanza per servire questo punto di iniezione.</para>"
+