[webbeans-commits] Webbeans SVN: r615 - in doc/trunk/reference: en/modules and 12 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-12-20 06:22:12 -0500 (Sat, 20 Dec 2008)
New Revision: 615
Added:
doc/trunk/reference/en/modules/Book_Info.xml
doc/trunk/reference/es-ES/modules/Book_Info.po
doc/trunk/reference/fr-FR/modules/Book_Info.po
doc/trunk/reference/it-IT/modules/Book_Info.po
doc/trunk/reference/ja-JP/modules/Book_Info.po
doc/trunk/reference/pot/modules/Book_Info.pot
doc/trunk/reference/zh-CN/modules/Book_Info.po
Removed:
doc/trunk/reference/en/Book_Info.xml
doc/trunk/reference/es-ES/Book_Info.po
doc/trunk/reference/fr-FR/Book_Info.po
doc/trunk/reference/it-IT/Book_Info.po
doc/trunk/reference/ja-JP/Book_Info.po
doc/trunk/reference/pot/Book_Info.pot
doc/trunk/reference/zh-CN/Book_Info.po
Modified:
doc/trunk/reference/en/master.xml
Log:
fix build
Deleted: doc/trunk/reference/en/Book_Info.xml
===================================================================
--- doc/trunk/reference/en/Book_Info.xml 2008-12-20 00:24:19 UTC (rev 614)
+++ doc/trunk/reference/en/Book_Info.xml 2008-12-20 11:22:12 UTC (rev 615)
@@ -1,28 +0,0 @@
-<?xml version='1.0' encoding="iso-8859-1"?>
-
-<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ ]>
-
-<bookinfo>
- <title>Introduction to Web Beans</title>
- <subtitle>The new Java standard for dependency injection and
- contextual state management</subtitle>
- <authorgroup>
- <author>
- <firstname>Gavin</firstname>
- <surname>King</surname>
- <affiliation>
- <jobtitle>Web Beans (JSR-299) specification lead</jobtitle>
- <orgname>Red Hat Middleware LLC</orgname>
-
- </affiliation>
- </author>
- <author>
- <firstname>Pete</firstname>
- <surname>Muir</surname>
- <affiliation>
- <jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle>
- <orgname>Red Hat Middleware LLC</orgname>
- </affiliation>
- </author>
- </authorgroup>
-</bookinfo>
Modified: doc/trunk/reference/en/master.xml
===================================================================
--- doc/trunk/reference/en/master.xml 2008-12-20 00:24:19 UTC (rev 614)
+++ doc/trunk/reference/en/master.xml 2008-12-20 11:22:12 UTC (rev 615)
@@ -4,7 +4,7 @@
<book lang="en">
- <xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="modules/Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<toc/>
Copied: doc/trunk/reference/en/modules/Book_Info.xml (from rev 614, doc/trunk/reference/en/Book_Info.xml)
===================================================================
--- doc/trunk/reference/en/modules/Book_Info.xml (rev 0)
+++ doc/trunk/reference/en/modules/Book_Info.xml 2008-12-20 11:22:12 UTC (rev 615)
@@ -0,0 +1,28 @@
+<?xml version='1.0' encoding="iso-8859-1"?>
+
+<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ ]>
+
+<bookinfo>
+ <title>Introduction to Web Beans</title>
+ <subtitle>The new Java standard for dependency injection and
+ contextual state management</subtitle>
+ <authorgroup>
+ <author>
+ <firstname>Gavin</firstname>
+ <surname>King</surname>
+ <affiliation>
+ <jobtitle>Web Beans (JSR-299) specification lead</jobtitle>
+ <orgname>Red Hat Middleware LLC</orgname>
+
+ </affiliation>
+ </author>
+ <author>
+ <firstname>Pete</firstname>
+ <surname>Muir</surname>
+ <affiliation>
+ <jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle>
+ <orgname>Red Hat Middleware LLC</orgname>
+ </affiliation>
+ </author>
+ </authorgroup>
+</bookinfo>
Property changes on: doc/trunk/reference/en/modules/Book_Info.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: doc/trunk/reference/es-ES/Book_Info.po
===================================================================
--- doc/trunk/reference/es-ES/Book_Info.po 2008-12-20 00:24:19 UTC (rev 614)
+++ doc/trunk/reference/es-ES/Book_Info.po 2008-12-20 11:22:12 UTC (rev 615)
@@ -1,56 +0,0 @@
-# Language es-ES translations for master.xml package.
-# Automatically generated, 2008.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: master.xml \n"
-"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2008-12-19 20:29+0000\n"
-"PO-Revision-Date: 2008-12-19 20:29+0000\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Book_Info.xml:6
-#, no-c-format
-msgid "Introduction to Web Beans"
-msgstr ""
-
-#. Tag: subtitle
-#: Book_Info.xml:7
-#, no-c-format
-msgid ""
-"The new Java standard for dependency injection and contextual state "
-"management"
-msgstr ""
-
-#. Tag: author
-#: Book_Info.xml:10
-#, no-c-format
-msgid "<firstname>Gavin</firstname> <surname>King</surname>"
-msgstr ""
-
-#. Tag: affiliation
-#: Book_Info.xml:13
-#, no-c-format
-msgid ""
-"<jobtitle>Web Beans (JSR-299) specification lead</jobtitle> <orgname>Red Hat "
-"Middleware LLC</orgname>"
-msgstr ""
-
-#. Tag: author
-#: Book_Info.xml:19
-#, no-c-format
-msgid "<firstname>Pete</firstname> <surname>Muir</surname>"
-msgstr ""
-
-#. Tag: affiliation
-#: Book_Info.xml:22
-#, no-c-format
-msgid ""
-"<jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle> "
-"<orgname>Red Hat Middleware LLC</orgname>"
-msgstr ""
Copied: doc/trunk/reference/es-ES/modules/Book_Info.po (from rev 614, doc/trunk/reference/es-ES/Book_Info.po)
===================================================================
--- doc/trunk/reference/es-ES/modules/Book_Info.po (rev 0)
+++ doc/trunk/reference/es-ES/modules/Book_Info.po 2008-12-20 11:22:12 UTC (rev 615)
@@ -0,0 +1,56 @@
+# Language es-ES translations for master.xml package.
+# Automatically generated, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: master.xml \n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2008-12-19 20:29+0000\n"
+"PO-Revision-Date: 2008-12-19 20:29+0000\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: Book_Info.xml:6
+#, no-c-format
+msgid "Introduction to Web Beans"
+msgstr ""
+
+#. Tag: subtitle
+#: Book_Info.xml:7
+#, no-c-format
+msgid ""
+"The new Java standard for dependency injection and contextual state "
+"management"
+msgstr ""
+
+#. Tag: author
+#: Book_Info.xml:10
+#, no-c-format
+msgid "<firstname>Gavin</firstname> <surname>King</surname>"
+msgstr ""
+
+#. Tag: affiliation
+#: Book_Info.xml:13
+#, no-c-format
+msgid ""
+"<jobtitle>Web Beans (JSR-299) specification lead</jobtitle> <orgname>Red Hat "
+"Middleware LLC</orgname>"
+msgstr ""
+
+#. Tag: author
+#: Book_Info.xml:19
+#, no-c-format
+msgid "<firstname>Pete</firstname> <surname>Muir</surname>"
+msgstr ""
+
+#. Tag: affiliation
+#: Book_Info.xml:22
+#, no-c-format
+msgid ""
+"<jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle> "
+"<orgname>Red Hat Middleware LLC</orgname>"
+msgstr ""
Deleted: doc/trunk/reference/fr-FR/Book_Info.po
===================================================================
--- doc/trunk/reference/fr-FR/Book_Info.po 2008-12-20 00:24:19 UTC (rev 614)
+++ doc/trunk/reference/fr-FR/Book_Info.po 2008-12-20 11:22:12 UTC (rev 615)
@@ -1,56 +0,0 @@
-# Language fr-FR translations for master.xml package.
-# Automatically generated, 2008.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: master.xml \n"
-"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2008-12-19 20:29+0000\n"
-"PO-Revision-Date: 2008-12-19 20:29+0000\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Book_Info.xml:6
-#, no-c-format
-msgid "Introduction to Web Beans"
-msgstr ""
-
-#. Tag: subtitle
-#: Book_Info.xml:7
-#, no-c-format
-msgid ""
-"The new Java standard for dependency injection and contextual state "
-"management"
-msgstr ""
-
-#. Tag: author
-#: Book_Info.xml:10
-#, no-c-format
-msgid "<firstname>Gavin</firstname> <surname>King</surname>"
-msgstr ""
-
-#. Tag: affiliation
-#: Book_Info.xml:13
-#, no-c-format
-msgid ""
-"<jobtitle>Web Beans (JSR-299) specification lead</jobtitle> <orgname>Red Hat "
-"Middleware LLC</orgname>"
-msgstr ""
-
-#. Tag: author
-#: Book_Info.xml:19
-#, no-c-format
-msgid "<firstname>Pete</firstname> <surname>Muir</surname>"
-msgstr ""
-
-#. Tag: affiliation
-#: Book_Info.xml:22
-#, no-c-format
-msgid ""
-"<jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle> "
-"<orgname>Red Hat Middleware LLC</orgname>"
-msgstr ""
Copied: doc/trunk/reference/fr-FR/modules/Book_Info.po (from rev 614, doc/trunk/reference/fr-FR/Book_Info.po)
===================================================================
--- doc/trunk/reference/fr-FR/modules/Book_Info.po (rev 0)
+++ doc/trunk/reference/fr-FR/modules/Book_Info.po 2008-12-20 11:22:12 UTC (rev 615)
@@ -0,0 +1,56 @@
+# Language fr-FR translations for master.xml package.
+# Automatically generated, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: master.xml \n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2008-12-19 20:29+0000\n"
+"PO-Revision-Date: 2008-12-19 20:29+0000\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: Book_Info.xml:6
+#, no-c-format
+msgid "Introduction to Web Beans"
+msgstr ""
+
+#. Tag: subtitle
+#: Book_Info.xml:7
+#, no-c-format
+msgid ""
+"The new Java standard for dependency injection and contextual state "
+"management"
+msgstr ""
+
+#. Tag: author
+#: Book_Info.xml:10
+#, no-c-format
+msgid "<firstname>Gavin</firstname> <surname>King</surname>"
+msgstr ""
+
+#. Tag: affiliation
+#: Book_Info.xml:13
+#, no-c-format
+msgid ""
+"<jobtitle>Web Beans (JSR-299) specification lead</jobtitle> <orgname>Red Hat "
+"Middleware LLC</orgname>"
+msgstr ""
+
+#. Tag: author
+#: Book_Info.xml:19
+#, no-c-format
+msgid "<firstname>Pete</firstname> <surname>Muir</surname>"
+msgstr ""
+
+#. Tag: affiliation
+#: Book_Info.xml:22
+#, no-c-format
+msgid ""
+"<jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle> "
+"<orgname>Red Hat Middleware LLC</orgname>"
+msgstr ""
Deleted: doc/trunk/reference/it-IT/Book_Info.po
===================================================================
--- doc/trunk/reference/it-IT/Book_Info.po 2008-12-20 00:24:19 UTC (rev 614)
+++ doc/trunk/reference/it-IT/Book_Info.po 2008-12-20 11:22:12 UTC (rev 615)
@@ -1,51 +0,0 @@
-# Language it-IT translations for master.xml package.
-# Automatically generated, 2008.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: master.xml\n"
-"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2008-12-19 20:29+0000\n"
-"PO-Revision-Date: 2008-12-20 00:05+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"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Book_Info.xml:6
-#, no-c-format
-msgid "Introduction to Web Beans"
-msgstr "Introduzione a Web Beans"
-
-#. Tag: subtitle
-#: Book_Info.xml:7
-#, no-c-format
-msgid "The new Java standard for dependency injection and contextual state management"
-msgstr "Il nuovo standard Java per la dependency injection e la gestione contestuale dello stato"
-
-#. Tag: author
-#: Book_Info.xml:10
-#, no-c-format
-msgid "<firstname>Gavin</firstname> <surname>King</surname>"
-msgstr "<firstname>Gavin</firstname> <surname>King</surname>"
-
-#. Tag: affiliation
-#: Book_Info.xml:13
-#, no-c-format
-msgid "<jobtitle>Web Beans (JSR-299) specification lead</jobtitle> <orgname>Red Hat Middleware LLC</orgname>"
-msgstr "<jobtitle>Responsabile della specifica di Web Beans (JSR-299)</jobtitle> <orgname>Red Hat Middleware LLC</orgname>"
-
-#. Tag: author
-#: Book_Info.xml:19
-#, no-c-format
-msgid "<firstname>Pete</firstname> <surname>Muir</surname>"
-msgstr "<firstname>Pete</firstname> <surname>Muir</surname>"
-
-#. Tag: affiliation
-#: Book_Info.xml:22
-#, no-c-format
-msgid "<jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle> <orgname>Red Hat Middleware LLC</orgname>"
-msgstr "<jobtitle>Responsabile per l'implementazione della documentazione Web Beans (JSR-299)</jobtitle> <orgname>Red Hat Middleware LLC</orgname>"
-
Copied: doc/trunk/reference/it-IT/modules/Book_Info.po (from rev 614, doc/trunk/reference/it-IT/Book_Info.po)
===================================================================
--- doc/trunk/reference/it-IT/modules/Book_Info.po (rev 0)
+++ doc/trunk/reference/it-IT/modules/Book_Info.po 2008-12-20 11:22:12 UTC (rev 615)
@@ -0,0 +1,51 @@
+# Language it-IT translations for master.xml package.
+# Automatically generated, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: master.xml\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2008-12-19 20:29+0000\n"
+"PO-Revision-Date: 2008-12-20 00:05+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"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: Book_Info.xml:6
+#, no-c-format
+msgid "Introduction to Web Beans"
+msgstr "Introduzione a Web Beans"
+
+#. Tag: subtitle
+#: Book_Info.xml:7
+#, no-c-format
+msgid "The new Java standard for dependency injection and contextual state management"
+msgstr "Il nuovo standard Java per la dependency injection e la gestione contestuale dello stato"
+
+#. Tag: author
+#: Book_Info.xml:10
+#, no-c-format
+msgid "<firstname>Gavin</firstname> <surname>King</surname>"
+msgstr "<firstname>Gavin</firstname> <surname>King</surname>"
+
+#. Tag: affiliation
+#: Book_Info.xml:13
+#, no-c-format
+msgid "<jobtitle>Web Beans (JSR-299) specification lead</jobtitle> <orgname>Red Hat Middleware LLC</orgname>"
+msgstr "<jobtitle>Responsabile della specifica di Web Beans (JSR-299)</jobtitle> <orgname>Red Hat Middleware LLC</orgname>"
+
+#. Tag: author
+#: Book_Info.xml:19
+#, no-c-format
+msgid "<firstname>Pete</firstname> <surname>Muir</surname>"
+msgstr "<firstname>Pete</firstname> <surname>Muir</surname>"
+
+#. Tag: affiliation
+#: Book_Info.xml:22
+#, no-c-format
+msgid "<jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle> <orgname>Red Hat Middleware LLC</orgname>"
+msgstr "<jobtitle>Responsabile per l'implementazione della documentazione Web Beans (JSR-299)</jobtitle> <orgname>Red Hat Middleware LLC</orgname>"
+
Deleted: doc/trunk/reference/ja-JP/Book_Info.po
===================================================================
--- doc/trunk/reference/ja-JP/Book_Info.po 2008-12-20 00:24:19 UTC (rev 614)
+++ doc/trunk/reference/ja-JP/Book_Info.po 2008-12-20 11:22:12 UTC (rev 615)
@@ -1,56 +0,0 @@
-# Language ja-JP translations for master.xml package.
-# Automatically generated, 2008.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: master.xml \n"
-"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2008-12-19 20:29+0000\n"
-"PO-Revision-Date: 2008-12-19 20:29+0000\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Book_Info.xml:6
-#, no-c-format
-msgid "Introduction to Web Beans"
-msgstr ""
-
-#. Tag: subtitle
-#: Book_Info.xml:7
-#, no-c-format
-msgid ""
-"The new Java standard for dependency injection and contextual state "
-"management"
-msgstr ""
-
-#. Tag: author
-#: Book_Info.xml:10
-#, no-c-format
-msgid "<firstname>Gavin</firstname> <surname>King</surname>"
-msgstr ""
-
-#. Tag: affiliation
-#: Book_Info.xml:13
-#, no-c-format
-msgid ""
-"<jobtitle>Web Beans (JSR-299) specification lead</jobtitle> <orgname>Red Hat "
-"Middleware LLC</orgname>"
-msgstr ""
-
-#. Tag: author
-#: Book_Info.xml:19
-#, no-c-format
-msgid "<firstname>Pete</firstname> <surname>Muir</surname>"
-msgstr ""
-
-#. Tag: affiliation
-#: Book_Info.xml:22
-#, no-c-format
-msgid ""
-"<jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle> "
-"<orgname>Red Hat Middleware LLC</orgname>"
-msgstr ""
Copied: doc/trunk/reference/ja-JP/modules/Book_Info.po (from rev 614, doc/trunk/reference/ja-JP/Book_Info.po)
===================================================================
--- doc/trunk/reference/ja-JP/modules/Book_Info.po (rev 0)
+++ doc/trunk/reference/ja-JP/modules/Book_Info.po 2008-12-20 11:22:12 UTC (rev 615)
@@ -0,0 +1,56 @@
+# Language ja-JP translations for master.xml package.
+# Automatically generated, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: master.xml \n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2008-12-19 20:29+0000\n"
+"PO-Revision-Date: 2008-12-19 20:29+0000\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: Book_Info.xml:6
+#, no-c-format
+msgid "Introduction to Web Beans"
+msgstr ""
+
+#. Tag: subtitle
+#: Book_Info.xml:7
+#, no-c-format
+msgid ""
+"The new Java standard for dependency injection and contextual state "
+"management"
+msgstr ""
+
+#. Tag: author
+#: Book_Info.xml:10
+#, no-c-format
+msgid "<firstname>Gavin</firstname> <surname>King</surname>"
+msgstr ""
+
+#. Tag: affiliation
+#: Book_Info.xml:13
+#, no-c-format
+msgid ""
+"<jobtitle>Web Beans (JSR-299) specification lead</jobtitle> <orgname>Red Hat "
+"Middleware LLC</orgname>"
+msgstr ""
+
+#. Tag: author
+#: Book_Info.xml:19
+#, no-c-format
+msgid "<firstname>Pete</firstname> <surname>Muir</surname>"
+msgstr ""
+
+#. Tag: affiliation
+#: Book_Info.xml:22
+#, no-c-format
+msgid ""
+"<jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle> "
+"<orgname>Red Hat Middleware LLC</orgname>"
+msgstr ""
Deleted: doc/trunk/reference/pot/Book_Info.pot
===================================================================
--- doc/trunk/reference/pot/Book_Info.pot 2008-12-20 00:24:19 UTC (rev 614)
+++ doc/trunk/reference/pot/Book_Info.pot 2008-12-20 11:22:12 UTC (rev 615)
@@ -1,57 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2008-12-19 20:29+0000\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: application/x-xml2pot; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Book_Info.xml:6
-#, no-c-format
-msgid "Introduction to Web Beans"
-msgstr ""
-
-#. Tag: subtitle
-#: Book_Info.xml:7
-#, no-c-format
-msgid ""
-"The new Java standard for dependency injection and contextual state "
-"management"
-msgstr ""
-
-#. Tag: author
-#: Book_Info.xml:10
-#, no-c-format
-msgid "<firstname>Gavin</firstname> <surname>King</surname>"
-msgstr ""
-
-#. Tag: affiliation
-#: Book_Info.xml:13
-#, no-c-format
-msgid ""
-"<jobtitle>Web Beans (JSR-299) specification lead</jobtitle> <orgname>Red Hat "
-"Middleware LLC</orgname>"
-msgstr ""
-
-#. Tag: author
-#: Book_Info.xml:19
-#, no-c-format
-msgid "<firstname>Pete</firstname> <surname>Muir</surname>"
-msgstr ""
-
-#. Tag: affiliation
-#: Book_Info.xml:22
-#, no-c-format
-msgid ""
-"<jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle> "
-"<orgname>Red Hat Middleware LLC</orgname>"
-msgstr ""
Copied: doc/trunk/reference/pot/modules/Book_Info.pot (from rev 614, doc/trunk/reference/pot/Book_Info.pot)
===================================================================
--- doc/trunk/reference/pot/modules/Book_Info.pot (rev 0)
+++ doc/trunk/reference/pot/modules/Book_Info.pot 2008-12-20 11:22:12 UTC (rev 615)
@@ -0,0 +1,57 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2008-12-19 20:29+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: application/x-xml2pot; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: Book_Info.xml:6
+#, no-c-format
+msgid "Introduction to Web Beans"
+msgstr ""
+
+#. Tag: subtitle
+#: Book_Info.xml:7
+#, no-c-format
+msgid ""
+"The new Java standard for dependency injection and contextual state "
+"management"
+msgstr ""
+
+#. Tag: author
+#: Book_Info.xml:10
+#, no-c-format
+msgid "<firstname>Gavin</firstname> <surname>King</surname>"
+msgstr ""
+
+#. Tag: affiliation
+#: Book_Info.xml:13
+#, no-c-format
+msgid ""
+"<jobtitle>Web Beans (JSR-299) specification lead</jobtitle> <orgname>Red Hat "
+"Middleware LLC</orgname>"
+msgstr ""
+
+#. Tag: author
+#: Book_Info.xml:19
+#, no-c-format
+msgid "<firstname>Pete</firstname> <surname>Muir</surname>"
+msgstr ""
+
+#. Tag: affiliation
+#: Book_Info.xml:22
+#, no-c-format
+msgid ""
+"<jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle> "
+"<orgname>Red Hat Middleware LLC</orgname>"
+msgstr ""
Deleted: doc/trunk/reference/zh-CN/Book_Info.po
===================================================================
--- doc/trunk/reference/zh-CN/Book_Info.po 2008-12-20 00:24:19 UTC (rev 614)
+++ doc/trunk/reference/zh-CN/Book_Info.po 2008-12-20 11:22:12 UTC (rev 615)
@@ -1,56 +0,0 @@
-# Language zh-CN translations for master.xml package.
-# Automatically generated, 2008.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: master.xml \n"
-"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2008-12-19 20:29+0000\n"
-"PO-Revision-Date: 2008-12-19 20:29+0000\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Book_Info.xml:6
-#, no-c-format
-msgid "Introduction to Web Beans"
-msgstr ""
-
-#. Tag: subtitle
-#: Book_Info.xml:7
-#, no-c-format
-msgid ""
-"The new Java standard for dependency injection and contextual state "
-"management"
-msgstr ""
-
-#. Tag: author
-#: Book_Info.xml:10
-#, no-c-format
-msgid "<firstname>Gavin</firstname> <surname>King</surname>"
-msgstr ""
-
-#. Tag: affiliation
-#: Book_Info.xml:13
-#, no-c-format
-msgid ""
-"<jobtitle>Web Beans (JSR-299) specification lead</jobtitle> <orgname>Red Hat "
-"Middleware LLC</orgname>"
-msgstr ""
-
-#. Tag: author
-#: Book_Info.xml:19
-#, no-c-format
-msgid "<firstname>Pete</firstname> <surname>Muir</surname>"
-msgstr ""
-
-#. Tag: affiliation
-#: Book_Info.xml:22
-#, no-c-format
-msgid ""
-"<jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle> "
-"<orgname>Red Hat Middleware LLC</orgname>"
-msgstr ""
Copied: doc/trunk/reference/zh-CN/modules/Book_Info.po (from rev 614, doc/trunk/reference/zh-CN/Book_Info.po)
===================================================================
--- doc/trunk/reference/zh-CN/modules/Book_Info.po (rev 0)
+++ doc/trunk/reference/zh-CN/modules/Book_Info.po 2008-12-20 11:22:12 UTC (rev 615)
@@ -0,0 +1,56 @@
+# Language zh-CN translations for master.xml package.
+# Automatically generated, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: master.xml \n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2008-12-19 20:29+0000\n"
+"PO-Revision-Date: 2008-12-19 20:29+0000\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: Book_Info.xml:6
+#, no-c-format
+msgid "Introduction to Web Beans"
+msgstr ""
+
+#. Tag: subtitle
+#: Book_Info.xml:7
+#, no-c-format
+msgid ""
+"The new Java standard for dependency injection and contextual state "
+"management"
+msgstr ""
+
+#. Tag: author
+#: Book_Info.xml:10
+#, no-c-format
+msgid "<firstname>Gavin</firstname> <surname>King</surname>"
+msgstr ""
+
+#. Tag: affiliation
+#: Book_Info.xml:13
+#, no-c-format
+msgid ""
+"<jobtitle>Web Beans (JSR-299) specification lead</jobtitle> <orgname>Red Hat "
+"Middleware LLC</orgname>"
+msgstr ""
+
+#. Tag: author
+#: Book_Info.xml:19
+#, no-c-format
+msgid "<firstname>Pete</firstname> <surname>Muir</surname>"
+msgstr ""
+
+#. Tag: affiliation
+#: Book_Info.xml:22
+#, no-c-format
+msgid ""
+"<jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle> "
+"<orgname>Red Hat Middleware LLC</orgname>"
+msgstr ""
16 years
[webbeans-commits] Webbeans SVN: r614 - doc/trunk/reference/en/modules.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-12-19 19:24:19 -0500 (Fri, 19 Dec 2008)
New Revision: 614
Modified:
doc/trunk/reference/en/modules/decorators.xml
doc/trunk/reference/en/modules/ee.xml
doc/trunk/reference/en/modules/events.xml
doc/trunk/reference/en/modules/example.xml
doc/trunk/reference/en/modules/extend.xml
doc/trunk/reference/en/modules/injection.xml
doc/trunk/reference/en/modules/interceptors.xml
doc/trunk/reference/en/modules/intro.xml
doc/trunk/reference/en/modules/producermethods.xml
doc/trunk/reference/en/modules/scopescontexts.xml
doc/trunk/reference/en/modules/specialization.xml
doc/trunk/reference/en/modules/stereotypes.xml
doc/trunk/reference/en/modules/xml.xml
Log:
syntax highlighting
Modified: doc/trunk/reference/en/modules/decorators.xml
===================================================================
--- doc/trunk/reference/en/modules/decorators.xml 2008-12-19 23:53:02 UTC (rev 613)
+++ doc/trunk/reference/en/modules/decorators.xml 2008-12-20 00:24:19 UTC (rev 614)
@@ -21,7 +21,7 @@
<para>Suppose we have an interface that represents accounts:</para>
-<programlisting><![CDATA[public interface Account {
+<programlisting role="JAVA"><![CDATA[public interface Account {
public BigDecimal getBalance();
public User getOwner();
public void withdraw(BigDecimal amount);
@@ -37,7 +37,7 @@
<para>A decorator is a simple Web Bean that implements the type it
decorates and is annotated <literal>@Decorator</literal>.</para>
-<programlisting><![CDATA[@Decorator
+<programlisting role="JAVA"><![CDATA[@Decorator
public abstract class LargeTransactionDecorator
implements Account {
@@ -77,12 +77,12 @@
<para>This delegate attribute specifies that the decorator is bound to
all Web Beans that implement <literal>Account</literal>:</para>
-<programlisting><![CDATA[@Decorates Account account;]]></programlisting>
+<programlisting role="JAVA"><![CDATA[@Decorates Account account;]]></programlisting>
<para>A delegate attribute may specify a binding annotation. Then the
decorator will only be bound to Web Beans with the same binding.</para>
-<programlisting><![CDATA[@Decorates @Foreign Account account;]]></programlisting>
+<programlisting role="JAVA"><![CDATA[@Decorates @Foreign Account account;]]></programlisting>
<para>A decorator is bound to any Web Bean which:</para>
@@ -107,7 +107,7 @@
<para>We need to <emphasis>enable</emphasis> our decorator in
<literal>web-beans.xml</literal>.</para>
-<programlisting><![CDATA[<Decorators>
+<programlisting role="XML"><![CDATA[<Decorators>
<myapp:LargeTransactionDecorator/>
</Decorators>]]></programlisting>
Modified: doc/trunk/reference/en/modules/ee.xml
===================================================================
--- doc/trunk/reference/en/modules/ee.xml 2008-12-19 23:53:02 UTC (rev 613)
+++ doc/trunk/reference/en/modules/ee.xml 2008-12-20 00:24:19 UTC (rev 614)
@@ -16,7 +16,7 @@
<literal>@PersistenceContext</literal>. We've already seen a couple of examples of
this, though we didn't pay much attention at the time:</para>
-<programlisting><![CDATA[@Transactional @Interceptor
+<programlisting role="JAVA"><![CDATA[@Transactional @Interceptor
public class TransactionInterceptor {
@Resource Transaction transaction;
@@ -25,7 +25,7 @@
}]]></programlisting>
-<programlisting><![CDATA[@SessionScoped
+<programlisting role="JAVA"><![CDATA[@SessionScoped
public class Login {
@Current Credentials credentials;
@@ -52,7 +52,7 @@
<para>It's easy to use a Web Bean from a Servlet in Java EE 6. Simply inject
the Web Bean using Web Beans field or initializer method injection.</para>
-<programlisting>public class Login extends HttpServlet {
+<programlisting role="JAVA">public class Login extends HttpServlet {
@Current Credentials credentials;
@Current Login login;
@@ -90,7 +90,7 @@
<para>You can even use Web Beans interceptor bindings for Message-Driven Beans.</para>
-<programlisting>@Transactional @MessageDriven
+<programlisting role="JAVA">@Transactional @MessageDriven
public class ProcessOrder implements MessageListener {
@Current Inventory inventory;
@@ -127,13 +127,13 @@
queue or topic in <literal>web-beans.xml</literal>, specifying an associated
binding type and connection factory.</para>
- <programlisting><![CDATA[<Queue>
+ <programlisting role="XML"><![CDATA[<Queue>
<destination>java:comp/env/jms/OrderQueue</destination>
<connectionFactory>java:comp/env/jms/QueueConnectionFactory</connectionFactory>
<myapp:OrderProcessor/>
</Queue>]]></programlisting>
- <programlisting><![CDATA[<Topic>
+ <programlisting role="XML"><![CDATA[<Topic>
<destination>java:comp/env/jms/StockPrices</destination>
<connectionFactory>java:comp/env/jms/TopicConnectionFactory</connectionFactory>
<myapp:StockPrices/>
@@ -145,7 +145,7 @@
<literal>TopicConnection</literal>, <literal>TopicSession</literal> or
<literal>TopicPublisher</literal> for a topic.</para>
- <programlisting>@OrderProcessor QueueSender orderSender;
+ <programlisting role="JAVA">@OrderProcessor QueueSender orderSender;
@OrderProcessor QueueSession orderSession;
public void sendMessage() {
@@ -154,7 +154,7 @@
orderSender.send(msg);
}</programlisting>
- <programlisting>@StockPrices TopicPublisher pricePublisher;
+ <programlisting role="JAVA">@StockPrices TopicPublisher pricePublisher;
@StockPrices TopicSession priceSession;
public void sendMessage(String price) {
Modified: doc/trunk/reference/en/modules/events.xml
===================================================================
--- doc/trunk/reference/en/modules/events.xml 2008-12-19 23:53:02 UTC (rev 613)
+++ doc/trunk/reference/en/modules/events.xml 2008-12-20 00:24:19 UTC (rev 614)
@@ -30,7 +30,7 @@
<para>An <emphasis>observer method</emphasis> is a method of a Web Bean with a
parameter annotated <literal>@Observes</literal>.</para>
-<programlisting><![CDATA[public void onAnyDocumentEvent(@Observes Document document) { ... }]]></programlisting>
+<programlisting role="JAVA"><![CDATA[public void onAnyDocumentEvent(@Observes Document document) { ... }]]></programlisting>
<para>The annotated parameter is called the <emphasis>event parameter</emphasis>.
The type of the event parameter is the observed <emphasis>event type</emphasis>.
@@ -38,7 +38,7 @@
binding types. When a binding type is used as an event selector, it is called an
<emphasis>event binding type</emphasis>.</para>
-<programlisting><![CDATA[@BindingType
+<programlisting role="JAVA"><![CDATA[@BindingType
@Target({PARAMETER, FIELD})
@Retention(RUNTIME)
public @interface Updated { ... }]]></programlisting>
@@ -46,7 +46,7 @@
<para>We specify the event bindings of the observer method by annotating the event
parameter:</para>
-<programlisting><![CDATA[public void afterDocumentUpdate(@Observes @Updated Document document) { ... }]]></programlisting>
+<programlisting role="JAVA"><![CDATA[public void afterDocumentUpdate(@Observes @Updated Document document) { ... }]]></programlisting>
<para>An observer method need not specify any event bindings—in this case it
is interested in <emphasis>all</emphasis> events of a particular type. If it does
@@ -56,7 +56,7 @@
<para>The observer method may have additional parameters, which are injected according
to the usual Web Beans method parameter injection semantics:</para>
-<programlisting><![CDATA[public void afterDocumentUpdate(@Observes @Updated Document document, User user) { ... }]]></programlisting>
+<programlisting role="JAVA"><![CDATA[public void afterDocumentUpdate(@Observes @Updated Document document, User user) { ... }]]></programlisting>
</section>
@@ -66,7 +66,7 @@
<para>The event producer may obtain an <emphasis>event notifier</emphasis> object
by injection:</para>
-<programlisting><![CDATA[@Observable Event<Document> documentEvent]]></programlisting>
+<programlisting role="JAVA"><![CDATA[@Observable Event<Document> documentEvent]]></programlisting>
<para>The <literal>@Observable</literal> annotation implicitly defines a Web Bean
with scope <literal>@Dependent</literal> and deployment type <literal>@Standard</literal>,
@@ -75,7 +75,7 @@
<para>A producer raises events by calling the <literal>fire()</literal> method
of the <literal>Event</literal> interface, passing an <emphasis>event object</emphasis>:</para>
-<programlisting><![CDATA[documentEvent.fire(document);]]></programlisting>
+<programlisting role="JAVA"><![CDATA[documentEvent.fire(document);]]></programlisting>
<para>An event object may be an instance of any Java class that has no type
variables or wildcard type parameters. The event will be delivered to every
@@ -98,7 +98,7 @@
<para>To specify a "selector", the event producer may pass an instance of the event
binding type to the <literal>fire()</literal> method:</para>
-<programlisting><![CDATA[documentEvent.fire( document, new AnnotationLiteral<Updated>(){} );]]></programlisting>
+<programlisting role="JAVA"><![CDATA[documentEvent.fire( document, new AnnotationLiteral<Updated>(){} );]]></programlisting>
<para>The helper class <literal>AnnotationLiteral</literal> makes it possible to
instantiate binding types inline, since this is otherwise difficult to do in Java.</para>
@@ -118,7 +118,7 @@
<para>Alternatively, event bindings may be specified by annotating the event notifier
injection point:</para>
-<programlisting><![CDATA[@Observable @Updated Event<Document> documentUpdatedEvent]]></programlisting>
+<programlisting role="JAVA"><![CDATA[@Observable @Updated Event<Document> documentUpdatedEvent]]></programlisting>
<para>Then every event fired via this instance of <literal>Event</literal> has
the annotated event binding. The event will be delivered to every observer method
@@ -144,12 +144,12 @@
may implement the <literal>Observer</literal> interface and register an instance
with an event notifier by calling the <literal>observe()</literal> method.</para>
- <programlisting><![CDATA[documentEvent.observe( new Observer<Document>() { public void notify(Document doc) { ... } } );]]></programlisting>
+ <programlisting role="JAVA"><![CDATA[documentEvent.observe( new Observer<Document>() { public void notify(Document doc) { ... } } );]]></programlisting>
<para>Event binding types may be specified by the event notifier injection point or by
passing event binding type instances to the <literal>observe()</literal> method:</para>
-<programlisting><![CDATA[documentEvent.observe( new Observer<Document>() { public void notify(Document doc) { ... } },
+<programlisting role="JAVA"><![CDATA[documentEvent.observe( new Observer<Document>() { public void notify(Document doc) { ... } },
new AnnotationLiteral<Updated>(){} );]]></programlisting>
</section>
@@ -159,7 +159,7 @@
<para>An event binding type may have annotation members:</para>
-<programlisting><![CDATA[@BindingType
+<programlisting role="JAVA"><![CDATA[@BindingType
@Target({PARAMETER, FIELD})
@Retention(RUNTIME)
public @interface Role {
@@ -168,23 +168,23 @@
<para>The member value is used to narrow the messages delivered to the observer:</para>
-<programlisting><![CDATA[public void adminLoggedIn(@Observes @Role(ADMIN) LoggedIn event) { ... }]]></programlisting>
+<programlisting role="JAVA"><![CDATA[public void adminLoggedIn(@Observes @Role(ADMIN) LoggedIn event) { ... }]]></programlisting>
<para>Event binding type members may be specified statically by the event producer, via
annotations at the event notifier injection point:</para>
-<programlisting><![CDATA[@Observable @Role(ADMIN) Event<LoggedIn> LoggedInEvent;}}]]></programlisting>
+<programlisting role="JAVA"><![CDATA[@Observable @Role(ADMIN) Event<LoggedIn> LoggedInEvent;}}]]></programlisting>
<para>Alternatively, the value of the event binding type member may be determined dynamically
by the event producer. We start by writing an abstract subclass of <literal>AnnotationLiteral</literal>:</para>
-<programlisting><![CDATA[abstract class RoleBinding
+<programlisting role="JAVA"><![CDATA[abstract class RoleBinding
extends AnnotationLiteral<Role>
implements Role {}]]></programlisting>
<para>The event producer passes an instance of this class to <literal>fire()</literal>:</para>
-<programlisting><![CDATA[documentEvent.fire( document, new RoleBinding() { public void value() { return user.getRole(); } } );]]></programlisting>
+<programlisting role="JAVA"><![CDATA[documentEvent.fire( document, new RoleBinding() { public void value() { return user.getRole(); } } );]]></programlisting>
</section>
@@ -193,16 +193,16 @@
<para>Event binding types may be combined, for example:</para>
-<programlisting><![CDATA[@Observable @Blog Event<Document> blogEvent;
+<programlisting role="JAVA"><![CDATA[@Observable @Blog Event<Document> blogEvent;
...
if (document.isBlog()) blogEvent.fire(document, new AnnotationLiteral<Updated>(){});]]></programlisting>
<para>When this event occurs, all of the following observer methods will be notified:</para>
-<programlisting><![CDATA[public void afterBlogUpdate(@Observes @Updated @Blog Document document) { ... }]]></programlisting>
-<programlisting><![CDATA[public void afterDocumentUpdate(@Observes @Updated Document document) { ... }]]></programlisting>
-<programlisting><![CDATA[public void onAnyBlogEvent(@Observes @Blog Document document) { ... }]]></programlisting>
-<programlisting><![CDATA[public void onAnyDocumentEvent(@Observes Document document) { ... }}}]]></programlisting>
+<programlisting role="JAVA"><![CDATA[public void afterBlogUpdate(@Observes @Updated @Blog Document document) { ... }]]></programlisting>
+<programlisting role="JAVA"><![CDATA[public void afterDocumentUpdate(@Observes @Updated Document document) { ... }]]></programlisting>
+<programlisting role="JAVA"><![CDATA[public void onAnyBlogEvent(@Observes @Blog Document document) { ... }]]></programlisting>
+<programlisting role="JAVA"><![CDATA[public void onAnyDocumentEvent(@Observes Document document) { ... }}}]]></programlisting>
</section>
@@ -215,7 +215,7 @@
the application context, but only when transactions that update the
<literal>Category</literal> tree succeed:</para>
-<programlisting><![CDATA[public void refreshCategoryTree(@AfterTransactionSuccess @Observes CategoryUpdateEvent event) { ... }]]></programlisting>
+<programlisting role="JAVA"><![CDATA[public void refreshCategoryTree(@AfterTransactionSuccess @Observes CategoryUpdateEvent event) { ... }]]></programlisting>
<para>There are three kinds of transactional observers:</para>
@@ -245,7 +245,7 @@
<para>Imagine that we have cached a JPA query result set in the application scope:</para>
- <programlisting><![CDATA[@ApplicationScoped @Singleton
+ <programlisting role="JAVA"><![CDATA[@ApplicationScoped @Singleton
public class Catalog {
@PersistenceContext EntityManager em;
@@ -271,7 +271,7 @@
<para>The Web Bean that creates and deletes <literal>Product</literal>s could raise
events, for example:</para>
- <programlisting><![CDATA[@Stateless
+ <programlisting role="JAVA"><![CDATA[@Stateless
public class ProductManager {
@PersistenceContext EntityManager em;
@@ -294,7 +294,7 @@
<para>And now <literal>Catalog</literal> can observe the events after successful
completion of the transaction:</para>
- <programlisting><![CDATA[@ApplicationScoped @Singleton
+ <programlisting role="JAVA"><![CDATA[@ApplicationScoped @Singleton
public class Catalog {
...
Modified: doc/trunk/reference/en/modules/example.xml
===================================================================
--- doc/trunk/reference/en/modules/example.xml 2008-12-19 23:53:02 UTC (rev 613)
+++ doc/trunk/reference/en/modules/example.xml 2008-12-20 00:24:19 UTC (rev 614)
@@ -8,7 +8,7 @@
we'll define a Web Bean to hold the username and password entered during
login:</para>
-<programlisting><![CDATA[@Named
+<programlisting role="JAVA"><![CDATA[@Named
public class Credentials {
private String username;
@@ -24,7 +24,7 @@
<para>This Web Bean is bound to the login prompt in the following JSF form:</para>
-<programlisting><![CDATA[<f:form>
+<programlisting role="JAVA"><![CDATA[<f:form>
<h:panelGrid columns="2" rendered="#{!login.loggedIn}">
<h:outputLabel for="username">Username:</h:outputLabel>
<h:inputText id="username" value="#{credentials.username}"/>
@@ -39,7 +39,7 @@
information about the currently logged-in user and exposes the <literal>User</literal>
entity to other Web Beans:</para>
-<programlisting><![CDATA[@SessionScoped @Named
+<programlisting role="JAVA"><![CDATA[@SessionScoped @Named
public class Login {
@Current Credentials credentials;
@@ -77,14 +77,14 @@
<para>Of course, <literal>@LoggedIn</literal> is a binding annotation:</para>
-<programlisting><![CDATA[@Retention(RUNTIME)
+<programlisting role="JAVA"><![CDATA[@Retention(RUNTIME)
@Target({TYPE, METHOD, FIELD})
@BindingType
public @interface LoggedIn {}]]></programlisting>
<para>Now, any other Web Bean can easily inject the current user:</para>
-<programlisting><![CDATA[public class DocumentEditor {
+<programlisting role="JAVA"><![CDATA[public class DocumentEditor {
@Current Document document;
@LoggedIn User currentUser;
Modified: doc/trunk/reference/en/modules/extend.xml
===================================================================
--- doc/trunk/reference/en/modules/extend.xml 2008-12-19 23:53:02 UTC (rev 613)
+++ doc/trunk/reference/en/modules/extend.xml 2008-12-20 00:24:19 UTC (rev 614)
@@ -31,7 +31,7 @@
<para>The <literal>Manager</literal> interface lets us register and obtain
Web Beans, interceptors, decorators, observers and contexts programatically.</para>
-<programlisting><![CDATA[public interface Manager
+<programlisting role="JAVA"><![CDATA[public interface Manager
{
public <T> Set<Bean<T>> resolveByType(Class<T> type, Annotation... bindings);
@@ -86,7 +86,7 @@
<para>We can obtain an instance of <literal>Manager</literal> via injection:</para>
-<programlisting>@Current Manager manager</programlisting>
+<programlisting role="JAVA">@Current Manager manager</programlisting>
</section>
@@ -98,7 +98,7 @@
with the <literal>Manager</literal> object for every Web Bean in the
application.</para>
-<programlisting>public abstract class Bean<T> {
+<programlisting role="JAVA">public abstract class Bean<T> {
private final Manager manager;
@@ -144,7 +144,7 @@
<para>The <literal>Context</literal> interface supports addition of new
scopes to Web Beans, or extension of the built-in scopes to new environments.</para>
-<programlisting>public interface Context {
+<programlisting role="JAVA">public interface Context {
public Class<? extends Annotation> getScopeType();
Modified: doc/trunk/reference/en/modules/injection.xml
===================================================================
--- doc/trunk/reference/en/modules/injection.xml 2008-12-19 23:53:02 UTC (rev 613)
+++ doc/trunk/reference/en/modules/injection.xml 2008-12-20 00:24:19 UTC (rev 614)
@@ -7,7 +7,7 @@
<para>Constructor parameter injection:</para>
-<programlisting><![CDATA[public class Checkout {
+<programlisting role="JAVA"><![CDATA[public class Checkout {
private final ShoppingCart cart;
@@ -20,7 +20,7 @@
<para><emphasis>Initializer</emphasis> method parameter injection:</para>
-<programlisting><![CDATA[public class Checkout {
+<programlisting role="JAVA"><![CDATA[public class Checkout {
private ShoppingCart cart;
@@ -33,7 +33,7 @@
<para>And direct field injection:</para>
-<programlisting><![CDATA[public class Checkout {
+<programlisting role="JAVA"><![CDATA[public class Checkout {
private @Current ShoppingCart cart;
@@ -72,7 +72,7 @@
<para>Producer methods also support parameter injection:</para>
-<programlisting><![CDATA[@Produces Checkout createCheckout(ShoppingCart cart) {
+<programlisting role="JAVA"><![CDATA[@Produces Checkout createCheckout(ShoppingCart cart) {
return new Checkout(cart);
}]]></programlisting>
@@ -119,12 +119,12 @@
annotation. For example, there might be two implementations of
<literal>PaymentProcessor</literal>:</para>
-<programlisting><![CDATA[@PayByCheque
+<programlisting role="JAVA"><![CDATA[@PayByCheque
public class ChequePaymentProcessor implements PaymentProcessor {
public void process(Payment payment) { ... }
}]]></programlisting>
-<programlisting><![CDATA[@PayByCreditCard
+<programlisting role="JAVA"><![CDATA[@PayByCreditCard
public class CreditCardPaymentProcessor implements PaymentProcessor {
public void process(Payment payment) { ... }
}]]></programlisting>
@@ -132,12 +132,12 @@
<para>Where <literal>@PayByCheque</literal> and <literal>@PayByCreditCard</literal>
are binding annotations:</para>
-<programlisting><![CDATA[@Retention(RUNTIME)
+<programlisting role="JAVA"><![CDATA[@Retention(RUNTIME)
@Target({TYPE, METHOD, FIELD, PARAMETER})
@BindingType
public @interface PayByCheque {}]]></programlisting>
-<programlisting><![CDATA[@Retention(RUNTIME)
+<programlisting role="JAVA"><![CDATA[@Retention(RUNTIME)
@Target({TYPE, METHOD, FIELD, PARAMETER})
@BindingType
public @interface PayByCreditCard {}]]></programlisting>
@@ -147,12 +147,12 @@
<para>Using field injection:</para>
-<programlisting><![CDATA[@PayByCheque PaymentProcessor chequePaymentProcessor;
+<programlisting role="JAVA"><![CDATA[@PayByCheque PaymentProcessor chequePaymentProcessor;
@PayByCreditCard PaymentProcessor creditCardPaymentProcessor;]]></programlisting>
<para>Using initializer method injection:</para>
-<programlisting><![CDATA[@Initializer
+<programlisting role="JAVA"><![CDATA[@Initializer
public void setPaymentProcessors(@PayByCheque PaymentProcessor chequePaymentProcessor,
@PayByCreditCard PaymentProcessor creditCardPaymentProcessor) {
this.chequePaymentProcessor = chequePaymentProcessor;
@@ -161,7 +161,7 @@
<para>Or using constructor injection:</para>
-<programlisting><![CDATA[@Initializer
+<programlisting role="JAVA"><![CDATA[@Initializer
public Checkout(@PayByCheque PaymentProcessor chequePaymentProcessor,
@PayByCreditCard PaymentProcessor creditCardPaymentProcessor) {
this.chequePaymentProcessor = chequePaymentProcessor;
@@ -173,7 +173,7 @@
<para>Binding annotations may have members:</para>
-<programlisting><![CDATA[@Retention(RUNTIME)
+<programlisting role="JAVA"><![CDATA[@Retention(RUNTIME)
@Target({TYPE, METHOD, FIELD, PARAMETER})
@BindingType
public @interface PayBy {
@@ -182,7 +182,7 @@
<para>In which case, the member value is significant:</para>
-<programlisting><![CDATA[@PayBy(CHEQUE) PaymentProcessor chequePaymentProcessor;
+<programlisting role="JAVA"><![CDATA[@PayBy(CHEQUE) PaymentProcessor chequePaymentProcessor;
@PayBy(CREDIT_CARD) PaymentProcessor creditCardPaymentProcessor;]]></programlisting>
<para>You can tell the Web Bean manager to ignore a member of a binding annotation
@@ -195,7 +195,7 @@
<para>An injection point may even specify multiple binding annotations:</para>
-<programlisting><![CDATA[@Asynchronous @PayByCheque PaymentProcessor paymentProcessor]]></programlisting>
+<programlisting role="JAVA"><![CDATA[@Asynchronous @PayByCheque PaymentProcessor paymentProcessor]]></programlisting>
<para>In this case, only a Web Bean which has <emphasis>both</emphasis> binding
annotations would be eligible for injection.</para>
@@ -207,7 +207,7 @@
<para>Even producer methods may specify binding annotations:</para>
-<programlisting><![CDATA[@Produces
+<programlisting role="JAVA"><![CDATA[@Produces
@Asynchronous @PayByCheque
PaymentProcessor createAsyncPaymentProcessor(@PayByCheque PaymentProcessor processor) {
return new AsynchronousPaymentProcessor(processor);
@@ -251,7 +251,7 @@
which would identify Web Beans that should only be installed when the system executes
inside an integration testing environment:</para>
- <programlisting><![CDATA[@Retention(RUNTIME)
+ <programlisting role="JAVA"><![CDATA[@Retention(RUNTIME)
@Target({TYPE, METHOD})
@DeploymentType
public @interface Mock {}]]></programlisting>
@@ -259,7 +259,7 @@
<para>Suppose we had some Web Bean that interacted with an external system to
process payments:</para>
-<programlisting><![CDATA[public class ExternalPaymentProcessor {
+<programlisting role="JAVA"><![CDATA[public class ExternalPaymentProcessor {
public void process(Payment p) {
...
@@ -273,7 +273,7 @@
<para>For integration or unit testing, the external system is slow or unavailable.
So we would create a mock object:</para>
-<programlisting><![CDATA[@Mock
+<programlisting role="JAVA"><![CDATA[@Mock
public class MockPaymentProcessor implements PaymentProcessor {
@Override
@@ -298,7 +298,7 @@
<para>Going back to our example, when we deploy our integration tests, we want all
our <literal>@Mock</literal> objects to be installed:</para>
-<programlisting><![CDATA[<WebBeans>
+<programlisting role="JAVA"><![CDATA[<WebBeans>
<Deploy>
<Standard/>
<Production/>
@@ -328,7 +328,7 @@
or <literal>MockPaymentProcessor</literal>—to choose. Consider what happens when
the manager encounters this injection point:</para>
-<programlisting><![CDATA[@Current PaymentProcessor paymentProcessor]]></programlisting>
+<programlisting role="JAVA"><![CDATA[@Current PaymentProcessor paymentProcessor]]></programlisting>
<para>There are now two Web Beans which satisfy the <literal>PaymentProcessor</literal>
contract. Of course, we can't use a binding annotation to disambiguate, since binding
@@ -474,28 +474,28 @@
<para>The application may obtain an instance of the interface <literal>Manager</literal>
by injection:</para>
- <programlisting><![CDATA[@Current Manager manager;]]></programlisting>
+ <programlisting role="JAVA"><![CDATA[@Current Manager manager;]]></programlisting>
<para>The <literal>Manager</literal> object provides a set of methods for obtaining a
Web Bean instance programatically.</para>
- <programlisting><![CDATA[PaymentProcessor p = manager.getInstanceByType(PaymentProcessor.class);]]></programlisting>
+ <programlisting role="JAVA"><![CDATA[PaymentProcessor p = manager.getInstanceByType(PaymentProcessor.class);]]></programlisting>
<para>Binding annotations may be specified by subclassing the helper class
<literal>AnnotationLiteral</literal>, since it is otherwise difficult to instantiate an
annotation type in Java.</para>
- <programlisting><![CDATA[PaymentProcessor p = manager.getInstanceByType(PaymentProcessor.class,
+ <programlisting role="JAVA"><![CDATA[PaymentProcessor p = manager.getInstanceByType(PaymentProcessor.class,
new AnnotationLiteral<CreditCard>(){});]]></programlisting>
<para>If the binding type has an annotation member, we can't use an anonymous subclass of
<literal>AnnotationLiteral</literal>—instead we'll need to create a named subclass:</para>
-<programlisting><![CDATA[abstract class CreditCardBinding
+<programlisting role="JAVA"><![CDATA[abstract class CreditCardBinding
extends AnnotationLiteral<CreditCard>
implements CreditCard {}]]></programlisting>
-<programlisting><![CDATA[PaymentProcessor p = manager.getInstanceByType(PaymentProcessor.class,
+<programlisting role="JAVA"><![CDATA[PaymentProcessor p = manager.getInstanceByType(PaymentProcessor.class,
new CreditCardBinding() {
public void value() { return paymentType; }
} );]]></programlisting>
@@ -551,12 +551,12 @@
<para>Let's look at an example. The following code is verbose, and vulnerable to refactoring
problems:</para>
-<programlisting><![CDATA[Logger log = Logger.getLogger(MyClass.class.getName());]]></programlisting>
+<programlisting role="JAVA"><![CDATA[Logger log = Logger.getLogger(MyClass.class.getName());]]></programlisting>
<para>This clever little producer method lets you inject a JDK <literal>Logger</literal> without
explicitly specifying the log category:</para>
-<programlisting><![CDATA[class LogFactory {
+<programlisting role="JAVA"><![CDATA[class LogFactory {
@Produces Logger createLogger(InjectionPoint injectionPoint) {
return Logger.getLogger(injectionPoint.getMember().getDeclaringClass().getName());
@@ -566,12 +566,12 @@
<para>We can now write:</para>
-<programlisting><![CDATA[@Current Logger log;]]></programlisting>
+<programlisting role="JAVA"><![CDATA[@Current Logger log;]]></programlisting>
<para>Not convinced? Then here's a second example. To inject HTTP parameters, we need to define
a binding type:</para>
-<programlisting><![CDATA[@BindingType
+<programlisting role="JAVA"><![CDATA[@BindingType
@Retention(RUNTIME)
@Target({TYPE, METHOD, FIELD, PARAMETER})
public @interface HttpParam {
@@ -580,12 +580,12 @@
<para>We would use this binding type at injection points as follows:</para>
-<programlisting><![CDATA[@HttpParam("username") String username;
+<programlisting role="JAVA"><![CDATA[@HttpParam("username") String username;
@HttpParam("password") String password;]]></programlisting>
<para>The following producer method does the work:</para>
-<programlisting><![CDATA[class HttpParams
+<programlisting role="JAVA"><![CDATA[class HttpParams
@Produces @HttpParam("")
String getParamValue(ServletRequest request, InjectionPoint ip) {
@@ -600,7 +600,7 @@
<para>The Web Bean manager provides a built-in Web Bean that implements the
<literal>InjectionPoint</literal> interface:</para>
-<programlisting><![CDATA[public interface InjectionPoint {
+<programlisting role="JAVA"><![CDATA[public interface InjectionPoint {
public Object getInstance();
public Bean<?> getBean();
public Member getMember():
Modified: doc/trunk/reference/en/modules/interceptors.xml
===================================================================
--- doc/trunk/reference/en/modules/interceptors.xml 2008-12-19 23:53:02 UTC (rev 613)
+++ doc/trunk/reference/en/modules/interceptors.xml 2008-12-20 00:24:19 UTC (rev 614)
@@ -33,14 +33,14 @@
<para>A <emphasis>business method interceptor</emphasis> applies to
invocations of methods of the Web Bean by clients of the Web Bean:</para>
-<programlisting><![CDATA[public class TransactionInterceptor {
+<programlisting role="JAVA"><![CDATA[public class TransactionInterceptor {
@AroundInvoke public Object manageTransaction(InvocationContext ctx) { ... }
}]]></programlisting>
<para>A <emphasis>lifecycle callback interceptor</emphasis> applies to
invocations of lifecycle callbacks by the container:</para>
-<programlisting><![CDATA[public class DependencyInjectionInterceptor {
+<programlisting role="JAVA"><![CDATA[public class DependencyInjectionInterceptor {
@PostConstruct public void injectDependencies(InvocationContext ctx) { ... }
}]]></programlisting>
@@ -56,7 +56,7 @@
The first thing we need is an <emphasis>interceptor binding annotation</emphasis>
to specify exactly which Web Beans we're interested in:</para>
-<programlisting><![CDATA[@InterceptorBindingType
+<programlisting role="JAVA"><![CDATA[@InterceptorBindingType
@Target({METHOD, TYPE})
@Retention(RUNTIME)
public @interface Transactional {}]]></programlisting>
@@ -64,12 +64,12 @@
<para>Now we can easily specify that our <literal>ShoppingCart</literal> is a
transactional object:</para>
-<programlisting><![CDATA[@Transactional
+<programlisting role="JAVA"><![CDATA[@Transactional
public class ShoppingCart { ... }]]></programlisting>
<para>Or, if we prefer, we can specify that just one method is transactional:</para>
-<programlisting><![CDATA[public class ShoppingCart {
+<programlisting role="JAVA"><![CDATA[public class ShoppingCart {
@Transactional public void checkout() { ... }
}]]></programlisting>
@@ -83,7 +83,7 @@
we need to do is create a standard EJB interceptor, and annotate it
<literal>@Interceptor</literal> and <literal>@Transactional</literal>.</para>
-<programlisting><![CDATA[@Transactional @Interceptor
+<programlisting role="JAVA"><![CDATA[@Transactional @Interceptor
public class TransactionInterceptor {
@AroundInvoke public Object manageTransaction(InvocationContext ctx) { ... }
}]]></programlisting>
@@ -91,7 +91,7 @@
<para>All Web Beans interceptors are simple Web Beans, and can take advantage
of dependency injection and contextual lifecycle management.</para>
-<programlisting><![CDATA[@ApplicationScoped @Transactional @Interceptor
+<programlisting role="JAVA"><![CDATA[@ApplicationScoped @Transactional @Interceptor
public class TransactionInterceptor {
@Resource Transaction transaction;
@@ -110,7 +110,7 @@
<para>Finally, we need to <emphasis>enable</emphasis> our interceptor in
<literal>web-beans.xml</literal>.</para>
-<programlisting><![CDATA[<Interceptors>
+<programlisting role="XML"><![CDATA[<Interceptors>
<tx:TransactionInterceptor/>
</Interceptors>]]></programlisting>
@@ -131,7 +131,7 @@
<para>For example, we could specify that our security interceptor runs before our
<literal>TransactionInterceptor</literal>.</para>
-<programlisting><![CDATA[<Interceptors>
+<programlisting role="XML"><![CDATA[<Interceptors>
<sx:SecurityInterceptor/>
<tx:TransactionInterceptor/>
</Interceptors>]]></programlisting>
@@ -146,7 +146,7 @@
<para>Suppose we want to add some extra information to our <literal>@Transactional</literal>
annotation:</para>
-<programlisting><![CDATA[@InterceptorBindingType
+<programlisting role="JAVA"><![CDATA[@InterceptorBindingType
@Target({METHOD, TYPE})
@Retention(RUNTIME)
public @interface Transactional {
@@ -157,21 +157,21 @@
two different interceptors, <literal>TransactionInterceptor</literal> and
<literal>RequiresNewTransactionInterceptor</literal>.</para>
-<programlisting><![CDATA[@Transactional(requiresNew=true) @Interceptor
+<programlisting role="JAVA"><![CDATA[@Transactional(requiresNew=true) @Interceptor
public class RequiresNewTransactionInterceptor {
@AroundInvoke public Object manageTransaction(InvocationContext ctx) { ... }
}]]></programlisting>
<para>Now we can use <literal>RequiresNewTransactionInterceptor</literal> like this:</para>
-<programlisting><![CDATA[@Transactional(requiresNew=true)
+<programlisting role="JAVA"><![CDATA[@Transactional(requiresNew=true)
public class ShoppingCart { ... }]]></programlisting>
<para>But what if we only have one interceptor and we want the manager to ignore the
value of <literal>requiresNew</literal> when binding interceptors? We can use the
<literal>@NonBinding</literal> annotation:</para>
-<programlisting><![CDATA[@InterceptorBindingType
+<programlisting role="JAVA"><![CDATA[@InterceptorBindingType
@Target({METHOD, TYPE})
@Retention(RUNTIME)
public @interface Secure {
@@ -188,33 +188,33 @@
to bind <literal>TransactionInterceptor</literal> and
<literal>SecurityInterceptor</literal> to the same Web Bean:</para>
-<programlisting><![CDATA[@Secure(rolesAllowed="admin") @Transactional
+<programlisting role="JAVA"><![CDATA[@Secure(rolesAllowed="admin") @Transactional
public class ShoppingCart { ... }]]></programlisting>
<para>However, in very complex cases, an interceptor itself may specify some
combination of interceptor binding types:</para>
-<programlisting><![CDATA[@Transactional @Secure @Interceptor
+<programlisting role="JAVA"><![CDATA[@Transactional @Secure @Interceptor
public class TransactionalSecureInterceptor { ... }]]></programlisting>
<para>Then this interceptor could be bound to the <literal>checkout()</literal>
method using any one of the following combinations:</para>
-<programlisting><![CDATA[public class ShoppingCart {
+<programlisting role="JAVA"><![CDATA[public class ShoppingCart {
@Transactional @Secure public void checkout() { ... }
}]]></programlisting>
-<programlisting><![CDATA[@Secure
+<programlisting role="JAVA"><![CDATA[@Secure
public class ShoppingCart {
@Transactional public void checkout() { ... }
}]]></programlisting>
-<programlisting><![CDATA[@Transactionl
+<programlisting role="JAVA"><![CDATA[@Transactionl
public class ShoppingCart {
@Secure public void checkout() { ... }
}]]></programlisting>
-<programlisting><![CDATA[@Transactional @Secure
+<programlisting role="JAVA"><![CDATA[@Transactional @Secure
public class ShoppingCart {
public void checkout() { ... }
}]]></programlisting>
@@ -228,14 +228,14 @@
of annotation inheritance. Really, annotations should have reuse built in, to
allow this kind of thing to work:</para>
-<programlisting><![CDATA[public @interface Action extends Transactional, Secure { ... }]]></programlisting>
+<programlisting role="JAVA"><![CDATA[public @interface Action extends Transactional, Secure { ... }]]></programlisting>
<para>Well, fortunately, Web Beans works around this missing feature of Java.
We may annotate one interceptor binding type with other interceptor binding
types. The interceptor bindings are transitive—any Web Bean with the first
interceptor binding inherits the interceptor bindings declared as meta-annotations.</para>
-<programlisting><![CDATA[@Transactional @Secure
+<programlisting role="JAVA"><![CDATA[@Transactional @Secure
@InterceptorBindingType
@Target(TYPE)
@Retention(RUNTIME)
@@ -253,7 +253,7 @@
<para>The <literal>@Interceptors</literal> annotation defined by the EJB specification
is supported for both enterprise and simple Web Beans, for example:</para>
-<programlisting><![CDATA[(a)Interceptors({TransactionInterceptor.class, @SecurityInterceptor.class})
+<programlisting role="JAVA"><![CDATA[(a)Interceptors({TransactionInterceptor.class, @SecurityInterceptor.class})
public class ShoppingCart {
public void checkout() { ... }
}]]></programlisting>
Modified: doc/trunk/reference/en/modules/intro.xml
===================================================================
--- doc/trunk/reference/en/modules/intro.xml 2008-12-19 23:53:02 UTC (rev 613)
+++ doc/trunk/reference/en/modules/intro.xml 2008-12-20 00:24:19 UTC (rev 614)
@@ -26,7 +26,7 @@
for years in various applications. The first class parses a string into a
list of sentences:</para>
- <programlisting><![CDATA[public class SentenceParser {
+ <programlisting role="JAVA"><![CDATA[public class SentenceParser {
public List<String> parse(String text) { ... }
}]]></programlisting>
@@ -34,14 +34,14 @@
external system that is able to translate sentences from one language to
another:</para>
- <programlisting><![CDATA[@Stateless
+ <programlisting role="JAVA"><![CDATA[@Stateless
public class SentenceTranslator implements Translator {
public String translate(String sentence) { ... }
}]]></programlisting>
<para>Where <literal>Translator</literal> is the local interface:</para>
- <programlisting><![CDATA[@Local
+ <programlisting role="JAVA"><![CDATA[@Local
public interface Translator {
public String translate(String sentence);
}]]></programlisting>
@@ -49,7 +49,7 @@
<para>Unfortunately, we don't have a preexisting class that translates whole
text documents. So let's write a Web Bean that does this job:</para>
- <programlisting><![CDATA[public class TextTranslator {
+ <programlisting role="JAVA"><![CDATA[public class TextTranslator {
private SentenceParser sentenceParser;
private Translator sentenceTranslator;
@@ -73,7 +73,7 @@
<para>We may obtain an instance of <literal>TextTranslator</literal> by
injecting it into a Web Bean, Servlet or EJB:</para>
- <programlisting><![CDATA[@Initializer
+ <programlisting role="JAVA"><![CDATA[@Initializer
public setTextTranslator(TextTranslator textTranslator) {
this.textTranslator = textTranslator;
}]]></programlisting>
@@ -81,7 +81,7 @@
<para>Alternatively, we may obtain an instance by directly calling a method
of the Web Bean manager:</para>
- <programlisting><![CDATA[TextTranslator tt = manager.getInstanceByType(TextTranslator.class);]]></programlisting>
+ <programlisting role="JAVA"><![CDATA[TextTranslator tt = manager.getInstanceByType(TextTranslator.class);]]></programlisting>
<para>But wait: <literal>TextTranslator</literal> does not have a constructor
with no parameters! Is it still a Web Bean? Well, a class that does not have a
@@ -218,7 +218,7 @@
injection point has API type <literal>PaymentProcessor</literal> and binding
type <literal>@CreditCard</literal>:</para>
-<programlisting><![CDATA[@CreditCard PaymentProcessor paymentProcessor]]></programlisting>
+<programlisting role="JAVA"><![CDATA[@CreditCard PaymentProcessor paymentProcessor]]></programlisting>
<para>If no binding type is explicitly specified at an injection point, the
default binding type <literal>@Current</literal> is assumed.</para>
@@ -231,7 +231,7 @@
and implements the API type <literal>PaymentProcessor</literal>. It could
therefore be injected to the example injection point:</para>
-<programlisting><![CDATA[@CreditCard
+<programlisting role="JAVA"><![CDATA[@CreditCard
public class CreditCardPaymentProcessor
implements PaymentProcessor { ... }]]></programlisting>
@@ -262,7 +262,7 @@
<para>In a testing environment, we might want to replace the <literal>SentenceTranslator</literal>
Web Bean with a "mock object":</para>
-<programlisting><![CDATA[@Mock
+<programlisting role="JAVA"><![CDATA[@Mock
public class MockSentenceTranslator implements Translator {
public String translate(String sentence) {
return "Lorem ipsum dolor sit amet";
@@ -291,7 +291,7 @@
<para>For example, any web application may have <emphasis>session scoped</emphasis>
Web Beans:</para>
-<programlisting><![CDATA[@SessionScoped
+<programlisting role="JAVA"><![CDATA[@SessionScoped
public class ShoppingCart { ... }]]></programlisting>
<para>An instance of a session scoped Web Bean is bound to a user session
@@ -313,19 +313,19 @@
used in Unified EL expressions. It's easy to specify the name of a Web
Bean:</para>
-<programlisting><![CDATA[@SessionScoped @Named("cart")
+<programlisting role="JAVA"><![CDATA[@SessionScoped @Named("cart")
public class ShoppingCart { ... }]]></programlisting>
<para>Now we can easily use the Web Bean in any JSF or JSP page:</para>
-<programlisting><![CDATA[<h:dataTable value="#{cart.lineItems}" var="item">
+<programlisting role="HTML"><![CDATA[<h:dataTable value="#{cart.lineItems}" var="item">
....
</h:dataTable>]]></programlisting>
<para>It's even easier to just let the name be defaulted by the Web Bean
manager:</para>
-<programlisting><![CDATA[@SessionScoped @Named
+<programlisting role="JAVA"><![CDATA[@SessionScoped @Named
public class ShoppingCart { ... }]]></programlisting>
<para>In this case, the name defaults to <literal>shoppingCart</literal>—the
@@ -344,7 +344,7 @@
<para>It remains possible to directly specify the interceptor class via
use of the <literal>@Interceptors</literal> annotation:</para>
-<programlisting><![CDATA[@SessionScoped
+<programlisting role="JAVA"><![CDATA[@SessionScoped
@Interceptors(TransactionInterceptor.class)
public class ShoppingCart { ... }]]></programlisting>
@@ -352,7 +352,7 @@
interceptor binding through an <emphasis>interceptor binding
type</emphasis>:</para>
-<programlisting><![CDATA[@SessionScoped @Transactional
+<programlisting role="JAVA"><![CDATA[@SessionScoped @Transactional
public class ShoppingCart { ... }]]></programlisting>
<para>We'll discuss Web Beans interceptors and decorators in
@@ -420,7 +420,7 @@
end of its lifecycle. This method is called the <emphasis>destructor</emphasis>
method of the enterprise Web Bean.</para>
-<programlisting><![CDATA[@Stateful @SessionScoped
+<programlisting role="JAVA"><![CDATA[@Stateful @SessionScoped
public class ShoppingCart {
...
@@ -485,7 +485,7 @@
of the instantiation process, instead of leaving instantiation to the Web Bean
manager. For example:</para>
-<programlisting><![CDATA[@ApplicationScoped
+<programlisting role="JAVA"><![CDATA[@ApplicationScoped
public class Generator {
private Random random = new Random( System.currentTimeMillis() );
@@ -498,7 +498,7 @@
<para>The result of a producer method is injected just like any other Web Bean.</para>
- <programlisting><![CDATA[@Random int randomNumber]]></programlisting>
+ <programlisting role="JAVA"><![CDATA[@Random int randomNumber]]></programlisting>
<para>The method return type and all interfaces it extends/implements directly or indirectly
are API types of the producer method. If the return type is a class, all superclasses are
@@ -506,13 +506,13 @@
<para>Some producer methods return objects that require explicit destruction:</para>
-<programlisting><![CDATA[@Produces @RequestScoped Connection connect(User user) {
+<programlisting role="JAVA"><![CDATA[@Produces @RequestScoped Connection connect(User user) {
return createConnection( user.getId(), user.getPassword() );
}]]></programlisting>
<para>These producer methods may define matching <emphasis>disposal methods</emphasis>:</para>
-<programlisting><![CDATA[void close(@Disposes Connection connection) {
+<programlisting role="JAVA"><![CDATA[void close(@Disposes Connection connection) {
connection.close();
}]]></programlisting>
Modified: doc/trunk/reference/en/modules/producermethods.xml
===================================================================
--- doc/trunk/reference/en/modules/producermethods.xml 2008-12-19 23:53:02 UTC (rev 613)
+++ doc/trunk/reference/en/modules/producermethods.xml 2008-12-20 00:24:19 UTC (rev 614)
@@ -53,7 +53,7 @@
of deployment-time polymorphism. But once the system is deployed, the Web Bean
implementation is fixed. A producer method has no such limitation:</para>
-<programlisting><![CDATA[@SessionScoped
+<programlisting role="JAVA"><![CDATA[@SessionScoped
public class Preferences {
private PaymentStrategyType paymentStrategy;
@@ -74,7 +74,7 @@
<para>Consider an injection point:</para>
-<programlisting><![CDATA[@Preferred PaymentStrategy paymentStrat;]]></programlisting>
+<programlisting role="JAVA"><![CDATA[@Preferred PaymentStrategy paymentStrat;]]></programlisting>
<para>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
@@ -92,7 +92,7 @@
<para>To change this behavior, we can add a <literal>@SessionScoped</literal> annotation
to the method.</para>
-<programlisting><![CDATA[@Produces @Preferred @SessionScoped
+<programlisting role="JAVA"><![CDATA[@Produces @Preferred @SessionScoped
public PaymentStrategy getPaymentStrategy() {
...
}]]></programlisting>
@@ -114,7 +114,7 @@
<para>If this isn't what we want we can use dependency injection into the
producer method to obtain Web Bean instances:</para>
-<programlisting><![CDATA[@Produces @Preferred @SessionScoped
+<programlisting role="JAVA"><![CDATA[@Produces @Preferred @SessionScoped
public PaymentStrategy getPaymentStrategy(CreditCardPaymentStrategy ccps,
ChequePaymentStrategy cps,
PayPalPaymentStrategy ppps) {
@@ -150,7 +150,7 @@
<para>Consider the following producer method:</para>
-<programlisting><![CDATA[@Produces @Preferred @SessionScoped
+<programlisting role="JAVA"><![CDATA[@Produces @Preferred @SessionScoped
public PaymentStrategy getPaymentStrategy(@New CreditCardPaymentStrategy ccps,
@New ChequePaymentStrategy cps,
@New PayPalPaymentStrategy ppps) {
Modified: doc/trunk/reference/en/modules/scopescontexts.xml
===================================================================
--- doc/trunk/reference/en/modules/scopescontexts.xml 2008-12-19 23:53:02 UTC (rev 613)
+++ doc/trunk/reference/en/modules/scopescontexts.xml 2008-12-20 00:24:19 UTC (rev 614)
@@ -34,7 +34,7 @@
<para>Web Beans features an <emphasis>extensible context model</emphasis>. It is possible
to define new scopes by creating a new scope type annotation:</para>
-<programlisting><![CDATA[@Retention(RUNTIME)
+<programlisting role="JAVA"><![CDATA[@Retention(RUNTIME)
@Target({TYPE, METHOD})
@ScopeType
public @interface ClusterScoped {}]]></programlisting>
@@ -47,7 +47,7 @@
<para>We can apply a scope type annotation to a Web Bean implementation class to specify
the scope of the Web Bean:</para>
-<programlisting><![CDATA[@ClusterScoped
+<programlisting role="JAVA"><![CDATA[@ClusterScoped
public class SecondLevelCache { ... }]]></programlisting>
<!--
@@ -156,7 +156,7 @@
<para>Web Beans provides a built-in Web Bean for controlling the lifecyle of
conversations in a JSF application. This Web Bean may be obtained by injection:</para>
- <programlisting>@Current Conversation conversation;</programlisting>
+ <programlisting role="JAVA">@Current Conversation conversation;</programlisting>
<para>To promote the conversation associated with the current request to a
long-running conversation, call the <literal>begin()</literal> method from
@@ -166,7 +166,7 @@
<para>In the following example, a conversation-scoped Web Bean controls the
conversation with which it is associated:</para>
-<programlisting>@ConversationScoped @Stateful
+<programlisting role="JAVA">@ConversationScoped @Stateful
public class OrderBuilder {
private Order order;
@@ -219,7 +219,7 @@
<para>Therefore, the following link propagates the conversation:</para>
- <programlisting><![CDATA[<a href="/addProduct.jsp?cid=#{conversation.id}">Add Product</a>]]></programlisting>
+ <programlisting role="HTML"><![CDATA[<a href="/addProduct.jsp?cid=#{conversation.id}">Add Product</a>]]></programlisting>
<para>The Web Bean manager is also required to propagate conversations
across any redirect, even if the conversation is not marked long-running.
@@ -243,7 +243,7 @@
the timeout. This is a hint to the Web Bean manager, which is free to ignore
the setting.</para>
- <programlisting>conversation.setTimeout(timeoutInMillis);</programlisting>
+ <programlisting role="JAVA">conversation.setTimeout(timeoutInMillis);</programlisting>
</section>
@@ -258,7 +258,7 @@
<para>For example, this Web Bean has the scope type <literal>@Dependent</literal>:</para>
-<programlisting><![CDATA[public class Calculator { ... }]]></programlisting>
+<programlisting role="JAVA"><![CDATA[public class Calculator { ... }]]></programlisting>
<para>When an injection point of a Web Bean resolves to a dependent Web Bean,
a new instance of the dependent Web Bean is created every time the first
@@ -285,7 +285,7 @@
<emphasis>implicit</emphasis> definition of a dependent Web Bean at an injection point.
Suppose we declare the following injected field:</para>
-<programlisting><![CDATA[@New Calculator calculator;]]></programlisting>
+<programlisting role="JAVA"><![CDATA[@New Calculator calculator;]]></programlisting>
<para>Then a Web Bean with scope <literal>@Dependent</literal>, binding type
<literal>@New</literal>, API type <literal>Calculator</literal>, implementation class
@@ -295,13 +295,13 @@
<para>This is true even if <literal>Calculator</literal> is <emphasis>already</emphasis>
declared with a different scope type, for example:</para>
-<programlisting><![CDATA[@ConversationScoped
+<programlisting role="JAVA"><![CDATA[@ConversationScoped
public class Calculator { ... }]]></programlisting>
<para>So the following injected attributes each get a different instance of
<literal>Calculator</literal>:</para>
-<programlisting><![CDATA[public class PaymentCalc {
+<programlisting role="JAVA"><![CDATA[public class PaymentCalc {
@Current Calculator calculator;
@New Calculator newCalculator;
Modified: doc/trunk/reference/en/modules/specialization.xml
===================================================================
--- doc/trunk/reference/en/modules/specialization.xml 2008-12-19 23:53:02 UTC (rev 613)
+++ doc/trunk/reference/en/modules/specialization.xml 2008-12-20 00:24:19 UTC (rev 614)
@@ -8,7 +8,7 @@
time. For example, the following enterprise Web Bean provides an implementation
of the API <literal>PaymentProcessor</literal> in production:</para>
-<programlisting>@CreditCard @Stateless
+<programlisting role="JAVA">@CreditCard @Stateless
public class CreditCardPaymentProcessor
implements PaymentProcessor {
...
@@ -17,7 +17,7 @@
<para>But in our staging environment, we override that implementation of
<literal>PaymentProcessor</literal> with a different Web Bean:</para>
-<programlisting>@CreditCard @Stateless @Staging
+<programlisting role="JAVA">@CreditCard @Stateless @Staging
public class StagingCreditCardPaymentProcessor
implements PaymentProcessor {
...
@@ -29,7 +29,7 @@
would have a higher priority than the default deployment type <literal>@Production</literal>,
and therefore clients with the following injection point:</para>
-<programlisting>@CreditCard PaymentProcessor ccpp</programlisting>
+<programlisting role="JAVA">@CreditCard PaymentProcessor ccpp</programlisting>
<para>Would receive an instance of <literal>StagingCreditCardPaymentProcessor</literal>.</para>
@@ -82,7 +82,7 @@
</listitem>
</itemizedlist>
-<programlisting>@Stateless @Staging @Specializes
+<programlisting role="JAVA">@Stateless @Staging @Specializes
public class StagingCreditCardPaymentProcessor
extends CreditCardPaymentProcessor {
...
Modified: doc/trunk/reference/en/modules/stereotypes.xml
===================================================================
--- doc/trunk/reference/en/modules/stereotypes.xml 2008-12-19 23:53:02 UTC (rev 613)
+++ doc/trunk/reference/en/modules/stereotypes.xml 2008-12-20 00:24:19 UTC (rev 614)
@@ -41,14 +41,14 @@
<para>A stereotype is a Java annotation type. This stereotype identifies
action classes in some MVC framework:</para>
-<programlisting><![CDATA[@Retention(RUNTIME)
+<programlisting role="JAVA"><![CDATA[@Retention(RUNTIME)
@Target(TYPE)
@Stereotype
public @interface Action {}]]></programlisting>
<para>We use the stereotype by applying the annotation to a Web Bean.</para>
-<programlisting><![CDATA[@Action
+<programlisting role="JAVA"><![CDATA[@Action
public class LoginAction { ... }]]></programlisting>
<section>
@@ -60,7 +60,7 @@
be deployed when the system executes as a web application, we might
specify the following defaults for action classes:</para>
-<programlisting><![CDATA[@Retention(RUNTIME)
+<programlisting role="JAVA"><![CDATA[@Retention(RUNTIME)
@Target(TYPE)
@RequestScoped
@WebTier
@@ -70,7 +70,7 @@
<para>Of course, a particular action may still override these defaults
if necessary:</para>
-<programlisting><![CDATA[@Dependent @Mock @Action
+<programlisting role="JAVA"><![CDATA[@Dependent @Mock @Action
public class MockLoginAction { ... }]]></programlisting>
<para>If we want to force all actions to a particular scope, we can
@@ -85,7 +85,7 @@
scopes. Web Beans lets us explicitly specify the set of allowed scopes
for Web Beans with a certain stereotype. For example:</para>
-<programlisting><![CDATA[@Retention(RUNTIME)
+<programlisting role="JAVA"><![CDATA[@Retention(RUNTIME)
@Target(TYPE)
@RequestScoped
@WebTier
@@ -99,7 +99,7 @@
<para>We can also force all Web Bean with a certain stereotype to
implement an interface or extend a class:</para>
-<programlisting><![CDATA[@Retention(RUNTIME)
+<programlisting role="JAVA"><![CDATA[@Retention(RUNTIME)
@Target(TYPE)
@RequestScoped
@WebTier
@@ -118,7 +118,7 @@
<para>A stereotype may specify a set of interceptor bindings to be
inherited by all Web Beans with that stereotype.</para>
-<programlisting><![CDATA[@Retention(RUNTIME)
+<programlisting role="JAVA"><![CDATA[@Retention(RUNTIME)
@Target(TYPE)
@RequestScoped
@Transactional(requiresNew=true)
@@ -140,7 +140,7 @@
referenced in JSP pages, so they're a perfect use case for this feature.
All we need to do is add an empty <literal>@Named</literal> annotation:</para>
-<programlisting><![CDATA[@Retention(RUNTIME)
+<programlisting role="JAVA"><![CDATA[@Retention(RUNTIME)
@Target(TYPE)
@RequestScoped
@Transactional(requiresNew=true)
@@ -163,7 +163,7 @@
<para>Web Beans defines one further standard stereotype:</para>
-<programlisting><![CDATA[@Named
+<programlisting role="JAVA"><![CDATA[@Named
@RequestScoped
@Stereotype
@Target({TYPE, METHOD})
Modified: doc/trunk/reference/en/modules/xml.xml
===================================================================
--- doc/trunk/reference/en/modules/xml.xml 2008-12-19 23:53:02 UTC (rev 613)
+++ doc/trunk/reference/en/modules/xml.xml 2008-12-20 00:24:19 UTC (rev 614)
@@ -53,7 +53,7 @@
<para>For example, the element <literal><util:Date/></literal> in the following
XML fragment refers to the class <literal>java.util.Date</literal>:</para>
-<programlisting><![CDATA[<WebBeans xmlns="urn:java:javax.webbeans"
+<programlisting role="XML"><![CDATA[<WebBeans xmlns="urn:java:javax.webbeans"
xmlns:util="urn:java:java.util">
<util:Date/>
@@ -64,7 +64,7 @@
a simple Web Bean! An instance of <literal>Date</literal> may now be injected by
any other Web Bean:</para>
-<programlisting><![CDATA[@Current Date date]]></programlisting>
+<programlisting role="JAVA"><![CDATA[@Current Date date]]></programlisting>
</section>
@@ -74,7 +74,7 @@
<para>We can declare the scope, deployment type and interceptor binding types
using direct child elements of the Web Bean declaration:</para>
-<programlisting><![CDATA[<myapp:ShoppingCart>
+<programlisting role="XML"><![CDATA[<myapp:ShoppingCart>
<SessionScoped/>
<myfwk:Transactional requiresNew="true"/>
<myfwk:Secure/>
@@ -82,7 +82,7 @@
<para>We use exactly the same approach to specify names and binding type:</para>
-<programlisting><![CDATA[<util:Date>
+<programlisting role="XML"><![CDATA[<util:Date>
<Named>currentTime</Named>
</util:Date>
@@ -101,13 +101,13 @@
<para>Where <literal>@Login</literal> and <literal>@SystemStart</literal> are
binding annotations types.</para>
-<programlisting><![CDATA[@Current Date currentTime;
+<programlisting role="JAVA"><![CDATA[@Current Date currentTime;
@Login Date loginTime;
@SystemStart Date systemStartTime;]]></programlisting>
<para>As usual, a Web Bean may support multiple binding types:</para>
-<programlisting><![CDATA[<myapp:AsynchronousChequePaymentProcessor>
+<programlisting role="XML"><![CDATA[<myapp:AsynchronousChequePaymentProcessor>
<myapp:PayByCheque/>
<myapp:Asynchronous/>
</myapp:AsynchronousChequePaymentProcessor>]]></programlisting>
@@ -115,7 +115,7 @@
<para>Interceptors and decorators are just simple Web Beans, so they may be
declared just like any other simple Web Bean:</para>
-<programlisting><![CDATA[<myfwk:TransactionInterceptor>
+<programlisting role="XML"><![CDATA[<myfwk:TransactionInterceptor>
<Interceptor/>
<myfwk:Transactional/>
</myfwk:TransactionInterceptor>]]></programlisting>
@@ -136,7 +136,7 @@
<para>Web Beans lets us define a Web Bean at an injection point. For example:</para>
-<programlisting><![CDATA[<myapp:System>
+<programlisting role="XML"><![CDATA[<myapp:System>
<ApplicationScoped/>
<myapp:admin>
<myapp:Name>
@@ -167,7 +167,7 @@
a schema. There's nothing specific to Web Beans about writing or using the
schema.</para>
-<programlisting><![CDATA[<WebBeans xmlns="urn:java:javax.webbeans"
+<programlisting role="XML"><![CDATA[<WebBeans xmlns="urn:java:javax.webbeans"
xmlns:myapp="urn:java:com.mydomain.myapp"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:java:javax.webbeans http://java.sun.com/jee/web-beans-1.0.xsd
16 years, 1 month
[webbeans-commits] Webbeans SVN: r613 - doc/trunk/reference/it-IT/modules.
by webbeans-commits@lists.jboss.org
Author: nico.ben
Date: 2008-12-19 18:53:02 -0500 (Fri, 19 Dec 2008)
New Revision: 613
Modified:
doc/trunk/reference/it-IT/modules/specialization.po
doc/trunk/reference/it-IT/modules/stereotypes.po
doc/trunk/reference/it-IT/modules/xml.po
Log:
WBRI-69: Italian translation for Web Beans
Modified: doc/trunk/reference/it-IT/modules/specialization.po
===================================================================
--- doc/trunk/reference/it-IT/modules/specialization.po 2008-12-19 23:40:34 UTC (rev 612)
+++ doc/trunk/reference/it-IT/modules/specialization.po 2008-12-19 23:53:02 UTC (rev 613)
@@ -3,11 +3,11 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: master.xml \n"
+"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-12-19 20:26+0000\n"
-"PO-Revision-Date: 2008-12-19 20:26+0000\n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2008-12-20 00:52+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,16 +17,12 @@
#: specialization.xml:4
#, no-c-format
msgid "Specialization"
-msgstr ""
+msgstr "Specializzazione"
#. Tag: para
#: specialization.xml:6
#, no-c-format
-msgid ""
-"We've already seen how the Web Beans dependency injection model lets us "
-"<emphasis>override</emphasis> the implementation of an API at deployment "
-"time. For example, the following enterprise Web Bean provides an "
-"implementation of the API <literal>PaymentProcessor</literal> in production:"
+msgid "We've already seen how the Web Beans dependency injection model lets us <emphasis>override</emphasis> the implementation of an API at deployment time. For example, the following enterprise Web Bean provides an implementation of the API <literal>PaymentProcessor</literal> in production:"
msgstr ""
#. Tag: programlisting
@@ -39,13 +35,16 @@
" ...\n"
"}"
msgstr ""
+"@CreditCard @Stateless\n"
+"public class CreditCardPaymentProcessor \n"
+" implements PaymentProcessor {\n"
+" ...\n"
+"}"
#. Tag: para
#: specialization.xml:13
#, no-c-format
-msgid ""
-"But in our staging environment, we override that implementation of "
-"<literal>PaymentProcessor</literal> with a different Web Bean:"
+msgid "But in our staging environment, we override that implementation of <literal>PaymentProcessor</literal> with a different Web Bean:"
msgstr ""
#. Tag: programlisting
@@ -58,124 +57,101 @@
" ...\n"
"}"
msgstr ""
+"@CreditCard @Stateless @Staging\n"
+"public class StagingCreditCardPaymentProcessor \n"
+" implements PaymentProcessor {\n"
+" ...\n"
+"}"
#. Tag: para
#: specialization.xml:18
#, no-c-format
-msgid ""
-"What we've tried to do with <literal>StagingCreditCardPaymentProcessor</"
-"literal> is to completely replace <literal>AsyncPaymentProcessor</literal> "
-"in a particular deployment of the system. In that deployment, the deployment "
-"type <literal>@Staging</literal> would have a higher priority than the "
-"default deployment type <literal>@Production</literal>, and therefore "
-"clients with the following injection point:"
+msgid "What we've tried to do with <literal>StagingCreditCardPaymentProcessor</literal> is to completely replace <literal>AsyncPaymentProcessor</literal> in a particular deployment of the system. In that deployment, the deployment type <literal>@Staging</literal> would have a higher priority than the default deployment type <literal>@Production</literal>, and therefore clients with the following injection point:"
msgstr ""
#. Tag: programlisting
#: specialization.xml:24
#, no-c-format
msgid "@CreditCard PaymentProcessor ccpp"
-msgstr ""
+msgstr "@CreditCard PaymentProcessor ccpp"
#. Tag: para
#: specialization.xml:26
#, no-c-format
-msgid ""
-"Would receive an instance of <literal>StagingCreditCardPaymentProcessor</"
-"literal>."
+msgid "Would receive an instance of <literal>StagingCreditCardPaymentProcessor</literal>."
msgstr ""
#. Tag: para
#: specialization.xml:28
#, no-c-format
msgid "Unfortunately, there are several traps we can easily fall into:"
-msgstr ""
+msgstr "Sfortunatamente ci sono parecchie trappole in cui è facile cadere:"
#. Tag: para
#: specialization.xml:32
#, no-c-format
-msgid ""
-"the higher-priority Web Bean may not implement all the API types of the Web "
-"Bean that it attempts to override,"
+msgid "the higher-priority Web Bean may not implement all the API types of the Web Bean that it attempts to override,"
msgstr ""
#. Tag: para
#: specialization.xml:36
#, no-c-format
-msgid ""
-"the higher-priority Web Bean may not declare all the binding types of the "
-"Web Bean that it attempts to override,"
+msgid "the higher-priority Web Bean may not declare all the binding types of the Web Bean that it attempts to override,"
msgstr ""
#. Tag: para
#: specialization.xml:40
#, no-c-format
-msgid ""
-"the higher-priority Web Bean might not have the same name as the Web Bean "
-"that it attempts to override, or"
+msgid "the higher-priority Web Bean might not have the same name as the Web Bean that it attempts to override, or"
msgstr ""
#. Tag: para
#: specialization.xml:44
#, no-c-format
-msgid ""
-"the Web Bean that it attempts to override might declare a producer method, "
-"disposal method or observer method."
+msgid "the Web Bean that it attempts to override might declare a producer method, disposal method or observer method."
msgstr ""
#. Tag: para
#: specialization.xml:49
#, no-c-format
-msgid ""
-"In each of these cases, the Web Bean that we tried to override could still "
-"be called at runtime. Therefore, overriding is somewhat prone to developer "
-"error."
+msgid "In each of these cases, the Web Bean that we tried to override could still be called at runtime. Therefore, overriding is somewhat prone to developer error."
msgstr ""
#. Tag: para
#: specialization.xml:52
#, no-c-format
-msgid ""
-"Web Beans provides a special feature, called <emphasis>specialization</"
-"emphasis>, that helps the developer avoid these traps. Specialization looks "
-"a little esoteric at first, but it's easy to use in practice, and you'll "
-"really appreciate the extra security it provides."
+msgid "Web Beans provides a special feature, called <emphasis>specialization</emphasis>, that helps the developer avoid these traps. Specialization looks a little esoteric at first, but it's easy to use in practice, and you'll really appreciate the extra security it provides."
msgstr ""
#. Tag: title
#: specialization.xml:58
#, no-c-format
msgid "Using specialization"
-msgstr ""
+msgstr "Usare la specializzazione"
#. Tag: para
#: specialization.xml:60
#, no-c-format
-msgid ""
-"Specialization is a feature that is specific to simple and enterprise Web "
-"Beans. To make use of specialization, the higher-priority Web Bean must:"
+msgid "Specialization is a feature that is specific to simple and enterprise Web Beans. To make use of specialization, the higher-priority Web Bean must:"
msgstr ""
#. Tag: para
#: specialization.xml:65
#, no-c-format
msgid "be a direct subclass of the Web Bean it overrides, and"
-msgstr ""
+msgstr "essere un diretta sottoclasse del Web Bean di cui fa l'override, e"
#. Tag: para
#: specialization.xml:68
#, no-c-format
-msgid ""
-"be a simple Web Bean if the Web Bean it overrides is a simple Web Bean or an "
-"enterprise Web Bean if the Web Bean it overrides is an enterprise Web Bean, "
-"and"
-msgstr ""
+msgid "be a simple Web Bean if the Web Bean it overrides is a simple Web Bean or an enterprise Web Bean if the Web Bean it overrides is an enterprise Web Bean, and"
+msgstr "essere un semplice Web Bean se il Web Bean di cui fare override è un semplice Web Bean o un Web Bean Enterprise se il Web Bean di cui fa override è un Web Bean Enterprise, e"
#. Tag: para
#: specialization.xml:73
#, no-c-format
msgid "be annotated <literal>@Specializes</literal>."
-msgstr ""
+msgstr "essere annotato con <literal>@Specializes</literal>."
#. Tag: programlisting
#: specialization.xml:77
@@ -187,59 +163,52 @@
" ...\n"
"}"
msgstr ""
+"@Stateless @Staging @Specializes\n"
+"public class StagingCreditCardPaymentProcessor \n"
+" extends CreditCardPaymentProcessor {\n"
+" ...\n"
+"}"
#. Tag: para
#: specialization.xml:79
#, no-c-format
-msgid ""
-"We say that the higher-priority Web Bean <emphasis>specializes</emphasis> "
-"its superclass."
+msgid "We say that the higher-priority Web Bean <emphasis>specializes</emphasis> its superclass."
msgstr ""
#. Tag: title
#: specialization.xml:85
#, no-c-format
msgid "Advantages of specialization"
-msgstr ""
+msgstr "Vantaggi della specializzazione"
#. Tag: para
#: specialization.xml:87
#, no-c-format
msgid "When specialization is used:"
-msgstr ""
+msgstr "Quando viene usata la specializzazione:"
#. Tag: para
#: specialization.xml:91
#, no-c-format
-msgid ""
-"the binding types of the superclass are automatically inherited by the Web "
-"Bean annotated <literal>@Specializes</literal>, and"
+msgid "the binding types of the superclass are automatically inherited by the Web Bean annotated <literal>@Specializes</literal>, and"
msgstr ""
#. Tag: para
#: specialization.xml:95
#, no-c-format
-msgid ""
-"the Web Bean name of the superclass is automatically inherited by the Web "
-"Bean annotated <literal>@Specializes</literal>, and"
+msgid "the Web Bean name of the superclass is automatically inherited by the Web Bean annotated <literal>@Specializes</literal>, and"
msgstr ""
#. Tag: para
#: specialization.xml:99
#, no-c-format
-msgid ""
-"producer methods, disposal methods and observer methods declared by the "
-"superclass are called upon an instance of the Web Bean annotated "
-"<literal>@Specializes</literal>."
+msgid "producer methods, disposal methods and observer methods declared by the superclass are called upon an instance of the Web Bean annotated <literal>@Specializes</literal>."
msgstr ""
#. Tag: para
#: specialization.xml:105
#, no-c-format
-msgid ""
-"In our example, the binding type <literal>@CreditCard</literal> of "
-"<literal>CreditCardPaymentProcessor</literal> is inherited by "
-"<literal>StagingCreditCardPaymentProcessor</literal>."
+msgid "In our example, the binding type <literal>@CreditCard</literal> of <literal>CreditCardPaymentProcessor</literal> is inherited by <literal>StagingCreditCardPaymentProcessor</literal>."
msgstr ""
#. Tag: para
@@ -251,41 +220,30 @@
#. Tag: para
#: specialization.xml:113
#, no-c-format
-msgid ""
-"all API types of the superclass are API types of the Web Bean annotated "
-"<literal>@Specializes</literal> (all local interfaces of the superclass "
-"enterprise bean are also local interfaces of the subclass),"
+msgid "all API types of the superclass are API types of the Web Bean annotated <literal>@Specializes</literal> (all local interfaces of the superclass enterprise bean are also local interfaces of the subclass),"
msgstr ""
#. Tag: para
#: specialization.xml:119
#, no-c-format
-msgid ""
-"the deployment type of the Web Bean annotated <literal>@Specializes</"
-"literal> has a higher precedence than the deployment type of the superclass, "
-"and"
+msgid "the deployment type of the Web Bean annotated <literal>@Specializes</literal> has a higher precedence than the deployment type of the superclass, and"
msgstr ""
#. Tag: para
#: specialization.xml:124
#, no-c-format
-msgid ""
-"there is no other enabled Web Bean that also specializes the superclass."
+msgid "there is no other enabled Web Bean that also specializes the superclass."
msgstr ""
#. Tag: para
#: specialization.xml:129
#, no-c-format
-msgid ""
-"If any of these conditions are violated, the Web Bean manager throws an "
-"exception at initialization time."
+msgid "If any of these conditions are violated, the Web Bean manager throws an exception at initialization time."
msgstr ""
#. Tag: para
#: specialization.xml:132
#, no-c-format
-msgid ""
-"Therefore, we can be certain that the superclass with <emphasis>never</"
-"emphasis> be called in any deployment of the system where the Web Bean "
-"annotated <literal>@Specializes</literal> is deployed and enabled."
+msgid "Therefore, we can be certain that the superclass with <emphasis>never</emphasis> be called in any deployment of the system where the Web Bean annotated <literal>@Specializes</literal> is deployed and enabled."
msgstr ""
+
Modified: doc/trunk/reference/it-IT/modules/stereotypes.po
===================================================================
--- doc/trunk/reference/it-IT/modules/stereotypes.po 2008-12-19 23:40:34 UTC (rev 612)
+++ doc/trunk/reference/it-IT/modules/stereotypes.po 2008-12-19 23:53:02 UTC (rev 613)
@@ -3,11 +3,11 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: master.xml \n"
+"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-12-19 20:26+0000\n"
-"PO-Revision-Date: 2008-12-19 20:26+0000\n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2008-12-20 00:48+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,22 +17,18 @@
#: stereotypes.xml:4
#, no-c-format
msgid "Stereotypes"
-msgstr ""
+msgstr "Stereotipi"
#. Tag: para
#: stereotypes.xml:6
#, no-c-format
msgid "According to the Web Beans specification:"
-msgstr ""
+msgstr "Secondo la specifica Web Beans:"
#. Tag: para
#: stereotypes.xml:10
#, no-c-format
-msgid ""
-"In many systems, use of architectural patterns produces a set of recurring "
-"Web Bean roles. A stereotype allows a framework developer to identify such a "
-"role and declare some common metadata for Web Beans with that role in a "
-"central place."
+msgid "In many systems, use of architectural patterns produces a set of recurring Web Bean roles. A stereotype allows a framework developer to identify such a role and declare some common metadata for Web Beans with that role in a central place."
msgstr ""
#. Tag: para
@@ -74,9 +70,7 @@
#. Tag: para
#: stereotypes.xml:34
#, no-c-format
-msgid ""
-"A stereotype may also specify that all Web Beans with the stereotype have "
-"defaulted Web Bean names."
+msgid "A stereotype may also specify that all Web Beans with the stereotype have defaulted Web Bean names."
msgstr ""
#. Tag: para
@@ -88,9 +82,7 @@
#. Tag: para
#: stereotypes.xml:41
#, no-c-format
-msgid ""
-"A stereotype is a Java annotation type. This stereotype identifies action "
-"classes in some MVC framework:"
+msgid "A stereotype is a Java annotation type. This stereotype identifies action classes in some MVC framework:"
msgstr ""
#. Tag: programlisting
@@ -102,6 +94,10 @@
"@Stereotype\n"
"public @interface Action {}]]>"
msgstr ""
+"<![CDATA[@Retention(RUNTIME)\n"
+"@Target(TYPE)\n"
+"@Stereotype\n"
+"public @interface Action {}]]>"
#. Tag: para
#: stereotypes.xml:46
@@ -116,6 +112,8 @@
"<![CDATA[@Action \n"
"public class LoginAction { ... }]]>"
msgstr ""
+"<![CDATA[@Action \n"
+"public class LoginAction { ... }]]>"
#. Tag: title
#: stereotypes.xml:51
@@ -126,12 +124,7 @@
#. Tag: para
#: stereotypes.xml:53
#, no-c-format
-msgid ""
-"A stereotype may specify a default scope and/or default deployment type for "
-"Web Beans with that stereotype. For example, if the deployment type "
-"<literal>@WebTier</literal> identifies Web Beans that should only be "
-"deployed when the system executes as a web application, we might specify the "
-"following defaults for action classes:"
+msgid "A stereotype may specify a default scope and/or default deployment type for Web Beans with that stereotype. For example, if the deployment type <literal>@WebTier</literal> identifies Web Beans that should only be deployed when the system executes as a web application, we might specify the following defaults for action classes:"
msgstr ""
#. Tag: programlisting
@@ -145,13 +138,17 @@
"@Stereotype\n"
"public @interface Action {}]]>"
msgstr ""
+"<![CDATA[@Retention(RUNTIME)\n"
+"@Target(TYPE)\n"
+"@RequestScoped\n"
+"@WebTier\n"
+"@Stereotype\n"
+"public @interface Action {}]]>"
#. Tag: para
#: stereotypes.xml:61
#, no-c-format
-msgid ""
-"Of course, a particular action may still override these defaults if "
-"necessary:"
+msgid "Of course, a particular action may still override these defaults if necessary:"
msgstr ""
#. Tag: programlisting
@@ -161,12 +158,13 @@
"<![CDATA[@Dependent @Mock @Action \n"
"public class MockLoginAction { ... }]]>"
msgstr ""
+"<![CDATA[@Dependent @Mock @Action \n"
+"public class MockLoginAction { ... }]]>"
#. Tag: para
#: stereotypes.xml:66
#, no-c-format
-msgid ""
-"If we want to force all actions to a particular scope, we can do that too."
+msgid "If we want to force all actions to a particular scope, we can do that too."
msgstr ""
#. Tag: title
@@ -178,10 +176,7 @@
#. Tag: para
#: stereotypes.xml:74
#, no-c-format
-msgid ""
-"Suppose that we wish to prevent actions from declaring certain scopes. Web "
-"Beans lets us explicitly specify the set of allowed scopes for Web Beans "
-"with a certain stereotype. For example:"
+msgid "Suppose that we wish to prevent actions from declaring certain scopes. Web Beans lets us explicitly specify the set of allowed scopes for Web Beans with a certain stereotype. For example:"
msgstr ""
#. Tag: programlisting
@@ -195,22 +190,23 @@
"@Stereotype(supportedScopes=RequestScoped.class)\n"
"public @interface Action {}]]>"
msgstr ""
+"<![CDATA[@Retention(RUNTIME)\n"
+"@Target(TYPE)\n"
+"@RequestScoped\n"
+"@WebTier\n"
+"@Stereotype(supportedScopes=RequestScoped.class)\n"
+"public @interface Action {}]]>"
#. Tag: para
#: stereotypes.xml:80
#, no-c-format
-msgid ""
-"If a particular action class attempts to specify a scope other than the Web "
-"Beans request scope, an exception will be thrown by the Web Bean manager at "
-"initialization time."
+msgid "If a particular action class attempts to specify a scope other than the Web Beans request scope, an exception will be thrown by the Web Bean manager at initialization time."
msgstr ""
#. Tag: para
#: stereotypes.xml:84
#, no-c-format
-msgid ""
-"We can also force all Web Bean with a certain stereotype to implement an "
-"interface or extend a class:"
+msgid "We can also force all Web Bean with a certain stereotype to implement an interface or extend a class:"
msgstr ""
#. Tag: programlisting
@@ -224,14 +220,17 @@
"@Stereotype(requiredTypes=AbstractAction.class)\n"
"public @interface Action {}]]>"
msgstr ""
+"<![CDATA[@Retention(RUNTIME)\n"
+"@Target(TYPE)\n"
+"@RequestScoped\n"
+"@WebTier\n"
+"@Stereotype(requiredTypes=AbstractAction.class)\n"
+"public @interface Action {}]]>"
#. Tag: para
#: stereotypes.xml:89
#, no-c-format
-msgid ""
-"If a particular action class does not extend the class "
-"<literal>AbstractAction</literal>, an exception will be thrown by the Web "
-"Bean manager at initialization time."
+msgid "If a particular action class does not extend the class <literal>AbstractAction</literal>, an exception will be thrown by the Web Bean manager at initialization time."
msgstr ""
#. Tag: title
@@ -243,9 +242,7 @@
#. Tag: para
#: stereotypes.xml:98
#, no-c-format
-msgid ""
-"A stereotype may specify a set of interceptor bindings to be inherited by "
-"all Web Beans with that stereotype."
+msgid "A stereotype may specify a set of interceptor bindings to be inherited by all Web Beans with that stereotype."
msgstr ""
#. Tag: programlisting
@@ -261,13 +258,19 @@
"@Stereotype\n"
"public @interface Action {}]]>"
msgstr ""
+"<![CDATA[@Retention(RUNTIME)\n"
+"@Target(TYPE)\n"
+"@RequestScoped\n"
+"@Transactional(requiresNew=true)\n"
+"@Secure\n"
+"@WebTier\n"
+"@Stereotype\n"
+"public @interface Action {}]]>"
#. Tag: para
#: stereotypes.xml:103
#, no-c-format
-msgid ""
-"This helps us get technical concerns even further away from the business "
-"code!"
+msgid "This helps us get technical concerns even further away from the business code!"
msgstr ""
#. Tag: title
@@ -279,11 +282,7 @@
#. Tag: para
#: stereotypes.xml:111
#, no-c-format
-msgid ""
-"Finally, we can specify that all Web Beans with a certain stereotype have a "
-"Web Bean name, defaulted by the Web Bean manager. Actions are often "
-"referenced in JSP pages, so they're a perfect use case for this feature. All "
-"we need to do is add an empty <literal>@Named</literal> annotation:"
+msgid "Finally, we can specify that all Web Beans with a certain stereotype have a Web Bean name, defaulted by the Web Bean manager. Actions are often referenced in JSP pages, so they're a perfect use case for this feature. All we need to do is add an empty <literal>@Named</literal> annotation:"
msgstr ""
#. Tag: programlisting
@@ -300,28 +299,32 @@
"@Stereotype\n"
"public @interface Action {}]]>"
msgstr ""
+"<![CDATA[@Retention(RUNTIME)\n"
+"@Target(TYPE)\n"
+"@RequestScoped\n"
+"@Transactional(requiresNew=true)\n"
+"@Secure\n"
+"@Named\n"
+"@WebTier\n"
+"@Stereotype\n"
+"public @interface Action {}]]>"
#. Tag: para
#: stereotypes.xml:118
#, no-c-format
-msgid ""
-"Now, <literal>LoginAction</literal> will have the name <literal>loginAction</"
-"literal>."
+msgid "Now, <literal>LoginAction</literal> will have the name <literal>loginAction</literal>."
msgstr ""
#. Tag: title
#: stereotypes.xml:124
#, no-c-format
msgid "Standard stereotypes"
-msgstr ""
+msgstr "Stereotipi standard"
#. Tag: para
#: stereotypes.xml:126
#, no-c-format
-msgid ""
-"We've already met two standard stereotypes defined by the Web Beans "
-"specification: <literal>@Interceptor</literal> and <literal>@Decorator</"
-"literal>."
+msgid "We've already met two standard stereotypes defined by the Web Beans specification: <literal>@Interceptor</literal> and <literal>@Decorator</literal>."
msgstr ""
#. Tag: para
@@ -341,12 +344,16 @@
"@Retention(RUNTIME) \n"
"public @interface Model {} ]]>"
msgstr ""
+"<![CDATA[@Named \n"
+"@RequestScoped \n"
+"@Stereotype \n"
+"@Target({TYPE, METHOD}) \n"
+"@Retention(RUNTIME) \n"
+"public @interface Model {} ]]>"
#. Tag: para
#: stereotypes.xml:133
#, no-c-format
-msgid ""
-"This stereotype is intended for use with JSF. Instead of using JSF managed "
-"beans, just annotate a Web Bean <literal>@Model</literal>, and use it "
-"directly in your JSF page."
+msgid "This stereotype is intended for use with JSF. Instead of using JSF managed beans, just annotate a Web Bean <literal>@Model</literal>, and use it directly in your JSF page."
msgstr ""
+
Modified: doc/trunk/reference/it-IT/modules/xml.po
===================================================================
--- doc/trunk/reference/it-IT/modules/xml.po 2008-12-19 23:40:34 UTC (rev 612)
+++ doc/trunk/reference/it-IT/modules/xml.po 2008-12-19 23:53:02 UTC (rev 613)
@@ -3,11 +3,11 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: master.xml \n"
+"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-12-19 20:26+0000\n"
-"PO-Revision-Date: 2008-12-19 20:26+0000\n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2008-12-20 00:46+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,16 +17,13 @@
#: xml.xml:4
#, no-c-format
msgid "Defining Web Beans using XML"
-msgstr ""
+msgstr "Definire i Web Beans tramite XML"
#. Tag: para
#: xml.xml:6
#, no-c-format
-msgid ""
-"So far, we've seen plenty of examples of Web Beans declared using "
-"annotations. However, there are a couple of occasions when we can't use "
-"annotations to define the Web Bean:"
-msgstr ""
+msgid "So far, we've seen plenty of examples of Web Beans declared using annotations. However, there are a couple of occasions when we can't use annotations to define the Web Bean:"
+msgstr "Finora abbiamo visto molti esempi di Web Bean dichiarati usando annotazioni. Comunque ci sono varie occasioni in cui non è possibile usare le annotazioni per definire un Web Bean:"
#. Tag: para
#: xml.xml:12
@@ -37,8 +34,7 @@
#. Tag: para
#: xml.xml:15
#, no-c-format
-msgid ""
-"when there should be multiple Web Beans with the same implementation class."
+msgid "when there should be multiple Web Beans with the same implementation class."
msgstr ""
#. Tag: para
@@ -62,60 +58,38 @@
#. Tag: para
#: xml.xml:27
#, no-c-format
-msgid ""
-"Many frameworks use XML to provide metadata relating to Java classes. "
-"However, Web Beans uses a very different approach to specifying the names of "
-"Java classes, fields or methods to most other frameworks. Instead of writing "
-"class and member names as the string values of XML elements and attributes, "
-"Web Beans lets you use the class or member name as the name of the XML "
-"element."
+msgid "Many frameworks use XML to provide metadata relating to Java classes. However, Web Beans uses a very different approach to specifying the names of Java classes, fields or methods to most other frameworks. Instead of writing class and member names as the string values of XML elements and attributes, Web Beans lets you use the class or member name as the name of the XML element."
msgstr ""
#. Tag: para
#: xml.xml:33
#, no-c-format
-msgid ""
-"The advantage of this approach is that you can write an XML schema that "
-"prevents spelling errors in your XML document. It's even possible for a tool "
-"to generate the XML schema automatically from the compiled Java code. Or, an "
-"integrated development environment could perform the same validation without "
-"the need for the explicit intermediate generation step."
+msgid "The advantage of this approach is that you can write an XML schema that prevents spelling errors in your XML document. It's even possible for a tool to generate the XML schema automatically from the compiled Java code. Or, an integrated development environment could perform the same validation without the need for the explicit intermediate generation step."
msgstr ""
#. Tag: title
#: xml.xml:40
#, no-c-format
msgid "Declaring Web Bean classes"
-msgstr ""
+msgstr "Dichiarare classi Web Bean"
#. Tag: para
#: xml.xml:42
#, no-c-format
-msgid ""
-"For each Java package, Web Beans defines a corresponding XML namespace. The "
-"namespace is formed by prepending <literal>urn:java:</literal> to the Java "
-"package name. For the package <literal>com.mydomain.myapp</literal>, the XML "
-"namespace is <literal>urn:java:com.mydomain.myapp</literal>."
+msgid "For each Java package, Web Beans defines a corresponding XML namespace. The namespace is formed by prepending <literal>urn:java:</literal> to the Java package name. For the package <literal>com.mydomain.myapp</literal>, the XML namespace is <literal>urn:java:com.mydomain.myapp</literal>."
msgstr ""
#. Tag: para
#: xml.xml:47
#, no-c-format
-msgid ""
-"Java types belonging to a package are referred to using an XML element in "
-"the namespace corresponding to the package. The name of the element is the "
-"name of the Java type. Fields and methods of the type are specified by child "
-"elements in the same namespace. If the type is an annotation, members are "
-"specified by attributes of the element."
+msgid "Java types belonging to a package are referred to using an XML element in the namespace corresponding to the package. The name of the element is the name of the Java type. Fields and methods of the type are specified by child elements in the same namespace. If the type is an annotation, members are specified by attributes of the element."
msgstr ""
#. Tag: para
#: xml.xml:53
#, no-c-format
-msgid ""
-"For example, the element <literal><util:Date/></literal> in the "
-"following XML fragment refers to the class <literal>java.util.Date</literal>:"
-msgstr ""
+msgid "For example, the element <literal><util:Date/></literal> in the following XML fragment refers to the class <literal>java.util.Date</literal>:"
+msgstr "Per esempio l'elemento <literal><util:Date/></literal> nel seguente frammento XML si riferisce alla classe <literal>java.util.Date</literal>:"
#. Tag: programlisting
#: xml.xml:56
@@ -128,34 +102,35 @@
"\n"
"</WebBeans>]]>"
msgstr ""
+"<![CDATA[<WebBeans xmlns=\"urn:java:javax.webbeans\"\n"
+" xmlns:util=\"urn:java:java.util\">\n"
+"\n"
+" <util:Date/>\n"
+"\n"
+"</WebBeans>]]>"
#. Tag: para
#: xml.xml:58
#, no-c-format
-msgid ""
-"And this is all the code we need to declare that <literal>Date</literal> is "
-"a simple Web Bean! An instance of <literal>Date</literal> may now be "
-"injected by any other Web Bean:"
+msgid "And this is all the code we need to declare that <literal>Date</literal> is a simple Web Bean! An instance of <literal>Date</literal> may now be injected by any other Web Bean:"
msgstr ""
#. Tag: programlisting
#: xml.xml:62
#, no-c-format
msgid "<![CDATA[@Current Date date]]>"
-msgstr ""
+msgstr "<![CDATA[@Current Date date]]>"
#. Tag: title
#: xml.xml:67
#, no-c-format
msgid "Declaring Web Bean metadata"
-msgstr ""
+msgstr "Dichiarare metadati Web Bean"
#. Tag: para
#: xml.xml:69
#, no-c-format
-msgid ""
-"We can declare the scope, deployment type and interceptor binding types "
-"using direct child elements of the Web Bean declaration:"
+msgid "We can declare the scope, deployment type and interceptor binding types using direct child elements of the Web Bean declaration:"
msgstr ""
#. Tag: programlisting
@@ -168,6 +143,11 @@
" <myfwk:Secure/>\n"
"</myapp:ShoppingCart>]]>"
msgstr ""
+"<![CDATA[<myapp:ShoppingCart>\n"
+" <SessionScoped/>\n"
+" <myfwk:Transactional requiresNew=\"true\"/>\n"
+" <myfwk:Secure/>\n"
+"</myapp:ShoppingCart>]]>"
#. Tag: para
#: xml.xml:74
@@ -195,13 +175,26 @@
" <Named>systemStartTime</Named>\n"
"</util:Date>]]>"
msgstr ""
+"<![CDATA[<util:Date>\n"
+" <Named>currentTime</Named>\n"
+"</util:Date>\n"
+"\n"
+"<util:Date>\n"
+" <SessionScoped/>\n"
+" <myapp:Login/>\n"
+" <Named>loginTime</Named>\n"
+"</util:Date>\n"
+"\n"
+"<util:Date>\n"
+" <ApplicationScoped/>\n"
+" <myapp:SystemStart/>\n"
+" <Named>systemStartTime</Named>\n"
+"</util:Date>]]>"
#. Tag: para
#: xml.xml:78
#, no-c-format
-msgid ""
-"Where <literal>@Login</literal> and <literal>@SystemStart</literal> are "
-"binding annotations types."
+msgid "Where <literal>@Login</literal> and <literal>@SystemStart</literal> are binding annotations types."
msgstr ""
#. Tag: programlisting
@@ -212,6 +205,9 @@
"@Login Date loginTime;\n"
"@SystemStart Date systemStartTime;]]>"
msgstr ""
+"<![CDATA[@Current Date currentTime;\n"
+"@Login Date loginTime;\n"
+"@SystemStart Date systemStartTime;]]>"
#. Tag: para
#: xml.xml:83
@@ -228,13 +224,15 @@
" <myapp:Asynchronous/>\n"
"</myapp:AsynchronousChequePaymentProcessor>]]>"
msgstr ""
+"<![CDATA[<myapp:AsynchronousChequePaymentProcessor>\n"
+" <myapp:PayByCheque/>\n"
+" <myapp:Asynchronous/>\n"
+"</myapp:AsynchronousChequePaymentProcessor>]]>"
#. Tag: para
#: xml.xml:87
#, no-c-format
-msgid ""
-"Interceptors and decorators are just simple Web Beans, so they may be "
-"declared just like any other simple Web Bean:"
+msgid "Interceptors and decorators are just simple Web Beans, so they may be declared just like any other simple Web Bean:"
msgstr ""
#. Tag: programlisting
@@ -246,18 +244,22 @@
" <myfwk:Transactional/>\n"
"</myfwk:TransactionInterceptor>]]>"
msgstr ""
+"<![CDATA[<myfwk:TransactionInterceptor>\n"
+" <Interceptor/>\n"
+" <myfwk:Transactional/>\n"
+"</myfwk:TransactionInterceptor>]]>"
#. Tag: title
#: xml.xml:95
#, no-c-format
msgid "Declaring Web Bean members"
-msgstr ""
+msgstr "Dichiarare membri Web Bean"
#. Tag: para
#: xml.xml:97
#, no-c-format
msgid "TODO!"
-msgstr ""
+msgstr "DA FARE!"
#. Tag: title
#: xml.xml:104
@@ -286,41 +288,39 @@
" </myapp:admin>\n"
"</myapp:System>]]>"
msgstr ""
+"<![CDATA[<myapp:System>\n"
+" <ApplicationScoped/>\n"
+" <myapp:admin>\n"
+" <myapp:Name>\n"
+" <myapp:firstname>Gavin</myapp:firstname>\n"
+" <myapp:lastname>King</myapp:lastname>\n"
+" <myapp:email>gavin(a)hibernate.org</myapp:email>\n"
+" </myapp:Name>\n"
+" </myapp:admin>\n"
+"</myapp:System>]]>"
#. Tag: para
#: xml.xml:110
#, no-c-format
-msgid ""
-"The <literal><Name></literal> element declares a simple Web Bean of "
-"scope <literal>@Dependent</literal> and class <literal>Name</literal>, with "
-"a set of initial field values. This Web Bean has a special, container-"
-"generated binding and is therefore injectable only to the specific injection "
-"point at which it is declared."
+msgid "The <literal><Name></literal> element declares a simple Web Bean of scope <literal>@Dependent</literal> and class <literal>Name</literal>, with a set of initial field values. This Web Bean has a special, container-generated binding and is therefore injectable only to the specific injection point at which it is declared."
msgstr ""
#. Tag: para
#: xml.xml:116
#, no-c-format
-msgid ""
-"This simple but powerful feature allows the Web Beans XML format to be used "
-"to specify whole graphs of Java objects. It's not quite a full databinding "
-"solution, but it's close!"
+msgid "This simple but powerful feature allows the Web Beans XML format to be used to specify whole graphs of Java objects. It's not quite a full databinding solution, but it's close!"
msgstr ""
#. Tag: title
#: xml.xml:123
#, no-c-format
msgid "Using a schema"
-msgstr ""
+msgstr "Uso di uno schema"
#. Tag: para
#: xml.xml:125
#, no-c-format
-msgid ""
-"If we want our XML document format to be authored by people who aren't Java "
-"developers, or who don't have access to our code, we need to provide a "
-"schema. There's nothing specific to Web Beans about writing or using the "
-"schema."
+msgid "If we want our XML document format to be authored by people who aren't Java developers, or who don't have access to our code, we need to provide a schema. There's nothing specific to Web Beans about writing or using the schema."
msgstr ""
#. Tag: programlisting
@@ -330,10 +330,8 @@
"<![CDATA[<WebBeans xmlns=\"urn:java:javax.webbeans\"\n"
" xmlns:myapp=\"urn:java:com.mydomain.myapp\"\n"
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
-" xsi:schemaLocation=\"urn:java:javax.webbeans http://java.sun.com/"
-"jee/web-beans-1.0.xsd\n"
-" urn:java:com.mydomain.myapp http://mydomain."
-"com/xsd/myapp-1.2.xsd\">\n"
+" xsi:schemaLocation=\"urn:java:javax.webbeans http://java.sun.com/jee/web-beans-1.0.xsd\n"
+" urn:java:com.mydomain.myapp http://mydomain.com/xsd/myapp-1.2.xsd\">\n"
"\n"
" <myapp:System>\n"
" ...\n"
@@ -341,12 +339,21 @@
"\n"
"</WebBeans>]]>"
msgstr ""
+"<![CDATA[<WebBeans xmlns=\"urn:java:javax.webbeans\"\n"
+" xmlns:myapp=\"urn:java:com.mydomain.myapp\"\n"
+" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
+" xsi:schemaLocation=\"urn:java:javax.webbeans http://java.sun.com/jee/web-beans-1.0.xsd\n"
+" urn:java:com.mydomain.myapp http://mydomain.com/xsd/myapp-1.2.xsd\">\n"
+"\n"
+" <myapp:System>\n"
+" ...\n"
+" </myapp:System>\n"
+"\n"
+"</WebBeans>]]>"
#. Tag: para
#: xml.xml:132
#, no-c-format
-msgid ""
-"Writing an XML schema is quite tedious. Therefore, the Web Beans RI project "
-"will provide a tool which automatically generates the XML schema from "
-"compiled Java code."
+msgid "Writing an XML schema is quite tedious. Therefore, the Web Beans RI project will provide a tool which automatically generates the XML schema from compiled Java code."
msgstr ""
+
16 years, 1 month
[webbeans-commits] Webbeans SVN: r612 - in doc/trunk/reference/it-IT: modules and 1 other directory.
by webbeans-commits@lists.jboss.org
Author: nico.ben
Date: 2008-12-19 18:40:34 -0500 (Fri, 19 Dec 2008)
New Revision: 612
Modified:
doc/trunk/reference/it-IT/Book_Info.po
doc/trunk/reference/it-IT/modules/decorators.po
doc/trunk/reference/it-IT/modules/ee.po
doc/trunk/reference/it-IT/modules/events.po
doc/trunk/reference/it-IT/modules/intro.po
doc/trunk/reference/it-IT/modules/next.po
Log:
WBRI-69: Italian translation for Web Beans
Modified: doc/trunk/reference/it-IT/Book_Info.po
===================================================================
--- doc/trunk/reference/it-IT/Book_Info.po 2008-12-19 22:42:07 UTC (rev 611)
+++ doc/trunk/reference/it-IT/Book_Info.po 2008-12-19 23:40:34 UTC (rev 612)
@@ -3,11 +3,11 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: master.xml \n"
+"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-12-19 20:29+0000\n"
-"PO-Revision-Date: 2008-12-19 20:29+0000\n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2008-12-20 00:05+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,40 +17,35 @@
#: Book_Info.xml:6
#, no-c-format
msgid "Introduction to Web Beans"
-msgstr ""
+msgstr "Introduzione a Web Beans"
#. Tag: subtitle
#: Book_Info.xml:7
#, no-c-format
-msgid ""
-"The new Java standard for dependency injection and contextual state "
-"management"
-msgstr ""
+msgid "The new Java standard for dependency injection and contextual state management"
+msgstr "Il nuovo standard Java per la dependency injection e la gestione contestuale dello stato"
#. Tag: author
#: Book_Info.xml:10
#, no-c-format
msgid "<firstname>Gavin</firstname> <surname>King</surname>"
-msgstr ""
+msgstr "<firstname>Gavin</firstname> <surname>King</surname>"
#. Tag: affiliation
#: Book_Info.xml:13
#, no-c-format
-msgid ""
-"<jobtitle>Web Beans (JSR-299) specification lead</jobtitle> <orgname>Red Hat "
-"Middleware LLC</orgname>"
-msgstr ""
+msgid "<jobtitle>Web Beans (JSR-299) specification lead</jobtitle> <orgname>Red Hat Middleware LLC</orgname>"
+msgstr "<jobtitle>Responsabile della specifica di Web Beans (JSR-299)</jobtitle> <orgname>Red Hat Middleware LLC</orgname>"
#. Tag: author
#: Book_Info.xml:19
#, no-c-format
msgid "<firstname>Pete</firstname> <surname>Muir</surname>"
-msgstr ""
+msgstr "<firstname>Pete</firstname> <surname>Muir</surname>"
#. Tag: affiliation
#: Book_Info.xml:22
#, no-c-format
-msgid ""
-"<jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle> "
-"<orgname>Red Hat Middleware LLC</orgname>"
-msgstr ""
+msgid "<jobtitle>Web Beans (JSR-299) Reference Implementation lead</jobtitle> <orgname>Red Hat Middleware LLC</orgname>"
+msgstr "<jobtitle>Responsabile per l'implementazione della documentazione Web Beans (JSR-299)</jobtitle> <orgname>Red Hat Middleware LLC</orgname>"
+
Modified: doc/trunk/reference/it-IT/modules/decorators.po
===================================================================
--- doc/trunk/reference/it-IT/modules/decorators.po 2008-12-19 22:42:07 UTC (rev 611)
+++ doc/trunk/reference/it-IT/modules/decorators.po 2008-12-19 23:40:34 UTC (rev 612)
@@ -3,11 +3,11 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: master.xml \n"
+"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-12-19 20:26+0000\n"
-"PO-Revision-Date: 2008-12-19 20:26+0000\n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2008-12-20 00:39+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,38 +17,26 @@
#: decorators.xml:4
#, no-c-format
msgid "Decorators"
-msgstr ""
+msgstr "Decoratori"
#. Tag: para
#: decorators.xml:6
#, no-c-format
-msgid ""
-"Interceptors are a powerful way to capture and separate concerns which are "
-"<emphasis>orthogonal</emphasis> to the type system. Any interceptor is able "
-"to intercept invocations of any Java type. This makes them perfect for "
-"solving technical concerns such as transaction management and security. "
-"However, by nature, interceptors are unaware of the actual semantics of the "
-"events they intercept. Thus, interceptors aren't an appropriate tool for "
-"separating business-related concerns."
-msgstr ""
+msgid "Interceptors are a powerful way to capture and separate concerns which are <emphasis>orthogonal</emphasis> to the type system. Any interceptor is able to intercept invocations of any Java type. This makes them perfect for solving technical concerns such as transaction management and security. However, by nature, interceptors are unaware of the actual semantics of the events they intercept. Thus, interceptors aren't an appropriate tool for separating business-related concerns."
+msgstr "Gli interceptor sono un potente modo per catturare e separare i concern (N.d.T. un concern è un particulare concetto o area di interesse) che sono <emphasis>orthogonal</emphasis> al sistema tipo. Qualsiasi interceptor è capace di intercettare le invocazioni di qualsiasi tipo Java. Questo li rende perfetti per risolvere concern tecnici quali gestione delle transazioni e la sicurezza. Comunque, per natura, gli interceptor non sono consapevoli dell'attuale semantica degli eventi che intercettano. Quindi gli interceptor non sono il giusto strumento per separare i concern di tipo business."
+# ...concerns that cut across many disparate types = ?
#. Tag: para
#: decorators.xml:14
#, no-c-format
-msgid ""
-"The reverse is true of <emphasis>decorators</emphasis>. A decorator "
-"intercepts invocations only for a certain Java interface, and is therefore "
-"aware of all the semantics attached to that interface. This makes decorators "
-"a perfect tool for modeling some kinds of business concerns. It also means "
-"that a decorator doesn't have the generality of an interceptor. Decorators "
-"aren't able to solve technical concerns that cut across many disparate types."
-msgstr ""
+msgid "The reverse is true of <emphasis>decorators</emphasis>. A decorator intercepts invocations only for a certain Java interface, and is therefore aware of all the semantics attached to that interface. This makes decorators a perfect tool for modeling some kinds of business concerns. It also means that a decorator doesn't have the generality of an interceptor. Decorators aren't able to solve technical concerns that cut across many disparate types."
+msgstr "Il contrario è vero per i <emphasis>decoratori</emphasis>. Un decoratore intercetta le invocazioni solamente per una certa interfaccia Java, e quindi è consapevole della semantica legata a questa. Ciò rende i decoratori uno strumento perfetto per modellare alcuni tipi di concern di business. E significa pure che un decoratore non ha la generalità di un interceptor. I decoratori non sono capaci di risolvere i concern tecnici che agiscono per diversi tipi."
#. Tag: para
#: decorators.xml:22
#, no-c-format
msgid "Suppose we have an interface that represents accounts:"
-msgstr ""
+msgstr "Supponiamo di avere un'interfaccia che rappresenti degli account:"
#. Tag: programlisting
#: decorators.xml:24
@@ -61,24 +49,24 @@
" public void deposit(BigDecimal amount);\n"
"}]]>"
msgstr ""
+"<![CDATA[public interface Account {\n"
+" public BigDecimal getBalance();\n"
+" public User getOwner();\n"
+" public void withdraw(BigDecimal amount);\n"
+" public void deposit(BigDecimal amount);\n"
+"}]]>"
#. Tag: para
#: decorators.xml:26
#, no-c-format
-msgid ""
-"Several different Web Beans in our system implement the <literal>Account</"
-"literal> interface. However, we have a common legal requirement that, for "
-"any kind of account, large transactions must be recorded by the system in a "
-"special log. This is a perfect job for a decorator."
-msgstr ""
+msgid "Several different Web Beans in our system implement the <literal>Account</literal> interface. However, we have a common legal requirement that, for any kind of account, large transactions must be recorded by the system in a special log. This is a perfect job for a decorator."
+msgstr "Parecchi Web Beans del nostro sistema implementano l'interfaccia <literal>Account</literal>. Abbiamo come comune requisito legale, per ogni tipo di account, che le transazioni lunghe vengano registrate dal sistema in uno speciale log. Questo è un lavoro perfetto per un decoratore."
#. Tag: para
#: decorators.xml:32
#, no-c-format
-msgid ""
-"A decorator is a simple Web Bean that implements the type it decorates and "
-"is annotated <literal>@Decorator</literal>."
-msgstr ""
+msgid "A decorator is a simple Web Bean that implements the type it decorates and is annotated <literal>@Decorator</literal>."
+msgstr "Un decorator è un semplice Web Beans che implementa il tipo che decora ed è annotato con <literal>@Decorator</literal>.\""
#. Tag: programlisting
#: decorators.xml:35
@@ -108,99 +96,106 @@
" \n"
"}]]>"
msgstr ""
+"<![CDATA[@Decorator\n"
+"public abstract class LargeTransactionDecorator \n"
+" implements Account {\n"
+" \n"
+" @Decorates Account account;\n"
+" \n"
+" @PersistenceContext EntityManager em;\n"
+" \n"
+" public void withdraw(BigDecimal amount) {\n"
+" account.withdraw(amount);\n"
+" if ( amount.compareTo(LARGE_AMOUNT)>0 ) {\n"
+" em.persist( new LoggedWithdrawl(amount) );\n"
+" }\n"
+" }\n"
+" \n"
+" public void deposit(BigDecimal amount);\n"
+" account.deposit(amount);\n"
+" if ( amount.compareTo(LARGE_AMOUNT)>0 ) {\n"
+" em.persist( new LoggedDeposit(amount) );\n"
+" }\n"
+" }\n"
+" \n"
+"}]]>"
#. Tag: para
#: decorators.xml:37
#, no-c-format
-msgid ""
-"Unlike other simple Web Beans, a decorator may be an abstract class. If "
-"there's nothing special the decorator needs to do for a particular method of "
-"the decorated interface, you don't need to implement that method."
+msgid "Unlike other simple Web Beans, a decorator may be an abstract class. If there's nothing special the decorator needs to do for a particular method of the decorated interface, you don't need to implement that method."
msgstr ""
#. Tag: title
#: decorators.xml:43
#, no-c-format
msgid "Delegate attributes"
-msgstr ""
+msgstr "Attributi delegate"
#. Tag: para
#: decorators.xml:45
#, no-c-format
-msgid ""
-"All decorators have a <emphasis>delegate attribute</emphasis>. The type and "
-"binding types of the delegate attribute determine which Web Beans the "
-"decorator is bound to. The delegate attribute type must implement or extend "
-"all interfaces implemented by the decorator."
+msgid "All decorators have a <emphasis>delegate attribute</emphasis>. The type and binding types of the delegate attribute determine which Web Beans the decorator is bound to. The delegate attribute type must implement or extend all interfaces implemented by the decorator."
msgstr ""
#. Tag: para
#: decorators.xml:50
#, no-c-format
-msgid ""
-"This delegate attribute specifies that the decorator is bound to all Web "
-"Beans that implement <literal>Account</literal>:"
-msgstr ""
+msgid "This delegate attribute specifies that the decorator is bound to all Web Beans that implement <literal>Account</literal>:"
+msgstr "Quest'attributo delegate specifica che ildecorator è legao a tutti i Web Beans che implementano <literal>Account</literal>:"
#. Tag: programlisting
#: decorators.xml:53
#, no-c-format
msgid "<![CDATA[@Decorates Account account;]]>"
-msgstr ""
+msgstr "<![CDATA[@Decorates Account account;]]>"
#. Tag: para
#: decorators.xml:55
#, no-c-format
-msgid ""
-"A delegate attribute may specify a binding annotation. Then the decorator "
-"will only be bound to Web Beans with the same binding."
+msgid "A delegate attribute may specify a binding annotation. Then the decorator will only be bound to Web Beans with the same binding."
msgstr ""
#. Tag: programlisting
#: decorators.xml:58
#, no-c-format
msgid "<![CDATA[@Decorates @Foreign Account account;]]>"
-msgstr ""
+msgstr "<![CDATA[@Decorates @Foreign Account account;]]>"
#. Tag: para
#: decorators.xml:60
#, no-c-format
msgid "A decorator is bound to any Web Bean which:"
-msgstr ""
+msgstr "Un decorator è legato ad un qualsiasi Web Bean che:"
#. Tag: para
#: decorators.xml:64
#, no-c-format
msgid "has the type of the delegate attribute as an API type, and"
-msgstr ""
+msgstr "ha il tipo di attributo delegate come un tipo API, e"
#. Tag: para
#: decorators.xml:67
#, no-c-format
msgid "has all binding types that are declared by the delegate attribute."
-msgstr ""
+msgstr "ha tutti i tipi di binding che sono dichiarati dall'attributo delegate."
#. Tag: para
#: decorators.xml:71
#, no-c-format
-msgid ""
-"The decorator may invoke the delegate attribute, which has much the same "
-"effect as calling <literal>InvocationContext.proceed()</literal> from an "
-"interceptor."
+msgid "The decorator may invoke the delegate attribute, which has much the same effect as calling <literal>InvocationContext.proceed()</literal> from an interceptor."
msgstr ""
#. Tag: title
#: decorators.xml:78
#, no-c-format
msgid "Enabling decorators"
-msgstr ""
+msgstr "Abilitare i decoratori"
#. Tag: para
#: decorators.xml:80
#, no-c-format
-msgid ""
-"We need to <emphasis>enable</emphasis> our decorator in <literal>web-beans."
-"xml</literal>."
+msgid "We need to <emphasis>enable</emphasis> our decorator in <literal>web-beans.xml</literal>."
msgstr ""
#. Tag: programlisting
@@ -211,33 +206,31 @@
" <myapp:LargeTransactionDecorator/>\n"
"</Decorators>]]>"
msgstr ""
+"<![CDATA[<Decorators>\n"
+" <myapp:LargeTransactionDecorator/>\n"
+"</Decorators>]]>"
#. Tag: para
#: decorators.xml:85
#, no-c-format
-msgid ""
-"This declaration serves the same purpose for decorators that the "
-"<literal><Interceptors></literal> declaration serves for interceptors:"
+msgid "This declaration serves the same purpose for decorators that the <literal><Interceptors></literal> declaration serves for interceptors:"
msgstr ""
#. Tag: para
#: decorators.xml:90
#, no-c-format
-msgid ""
-"it enables us to specify a total ordering for all decorators in our system, "
-"ensuring deterministic behavior, and"
-msgstr ""
+msgid "it enables us to specify a total ordering for all decorators in our system, ensuring deterministic behavior, and"
+msgstr "Consente di specificare un ordinamento totale per tutti i decoratori del sistema, assicurando un comportamento deterministico, e"
#. Tag: para
#: decorators.xml:94
#, no-c-format
msgid "it lets us enable or disable decorator classes at deployment time."
-msgstr ""
+msgstr "consente di abilitare o disabilitare le classi decorato durante la fase di deploy."
#. Tag: para
#: decorators.xml:98
#, no-c-format
-msgid ""
-"Interceptors for a method are called before decorators that apply to that "
-"method."
-msgstr ""
+msgid "Interceptors for a method are called before decorators that apply to that method."
+msgstr "Gli interceptor per un metodo sono chiamati prima dei decoratori che vengono applicati a tali metodo."
+
Modified: doc/trunk/reference/it-IT/modules/ee.po
===================================================================
--- doc/trunk/reference/it-IT/modules/ee.po 2008-12-19 22:42:07 UTC (rev 611)
+++ doc/trunk/reference/it-IT/modules/ee.po 2008-12-19 23:40:34 UTC (rev 612)
@@ -3,11 +3,11 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: master.xml \n"
+"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-12-19 20:26+0000\n"
-"PO-Revision-Date: 2008-12-19 20:26+0000\n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2008-12-20 00:09+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,33 +17,24 @@
#: ee.xml:4
#, no-c-format
msgid "Java EE integration"
-msgstr ""
+msgstr "Integrazione Java EE"
#. Tag: para
#: ee.xml:6
#, no-c-format
-msgid ""
-"Web Beans is fully integrated into the Java EE environment. Web Beans have "
-"access to Java EE resources and JPA persistence contexts. They may be used "
-"in Unified EL expressions in JSF and JSP pages. They may even be injected "
-"into some objects, such as Servlets and Message-Driven Beans, which are not "
-"Web Beans."
+msgid "Web Beans is fully integrated into the Java EE environment. Web Beans have access to Java EE resources and JPA persistence contexts. They may be used in Unified EL expressions in JSF and JSP pages. They may even be injected into some objects, such as Servlets and Message-Driven Beans, which are not Web Beans."
msgstr ""
#. Tag: title
#: ee.xml:12
#, no-c-format
msgid "Injecting Java EE resources into a Web Bean"
-msgstr ""
+msgstr "Iniettare risorse Java EE in un Web Bean"
#. Tag: para
#: ee.xml:14
#, no-c-format
-msgid ""
-"All simple and enterprise Web Beans may take advantage of Java EE dependency "
-"injection using <literal>@Resource</literal>, <literal>@EJB</literal> and "
-"<literal>@PersistenceContext</literal>. We've already seen a couple of "
-"examples of this, though we didn't pay much attention at the time:"
+msgid "All simple and enterprise Web Beans may take advantage of Java EE dependency injection using <literal>@Resource</literal>, <literal>@EJB</literal> and <literal>@PersistenceContext</literal>. We've already seen a couple of examples of this, though we didn't pay much attention at the time:"
msgstr ""
#. Tag: programlisting
@@ -55,11 +46,18 @@
"\n"
" @Resource Transaction transaction;\n"
"\n"
-" @AroundInvoke public Object manageTransaction(InvocationContext ctx) "
-"{ ... }\n"
+" @AroundInvoke public Object manageTransaction(InvocationContext ctx) { ... }\n"
" \n"
"}]]>"
msgstr ""
+"<![CDATA[@Transactional @Interceptor\n"
+"public class TransactionInterceptor {\n"
+"\n"
+" @Resource Transaction transaction;\n"
+"\n"
+" @AroundInvoke public Object manageTransaction(InvocationContext ctx) { ... }\n"
+" \n"
+"}]]>"
#. Tag: programlisting
#: ee.xml:21
@@ -75,37 +73,38 @@
"\n"
"}]]>"
msgstr ""
+"<![CDATA[@SessionScoped\n"
+"public class Login {\n"
+"\n"
+" @Current Credentials credentials;\n"
+" @PersistenceContext EntityManager userDatabase;\n"
+" \n"
+" ...\n"
+"\n"
+"}]]>"
#. Tag: para
#: ee.xml:23
#, no-c-format
-msgid ""
-"The Java EE <literal>@PostConstruct</literal> and <literal>@PreDestroy</"
-"literal> callbacks are also supported for all simple and enterprise Web "
-"Beans. The <literal>@PostConstruct</literal> method is called after "
-"<emphasis>all</emphasis> injection has been performed."
+msgid "The Java EE <literal>@PostConstruct</literal> and <literal>@PreDestroy</literal> callbacks are also supported for all simple and enterprise Web Beans. The <literal>@PostConstruct</literal> method is called after <emphasis>all</emphasis> injection has been performed."
msgstr ""
#. Tag: para
#: ee.xml:28
#, no-c-format
-msgid ""
-"There is one restriction to be aware of here: <literal>@PersistenceContext"
-"(type=EXTENDED)</literal> is not supported for simple Web Beans."
+msgid "There is one restriction to be aware of here: <literal>@PersistenceContext(type=EXTENDED)</literal> is not supported for simple Web Beans."
msgstr ""
#. Tag: title
#: ee.xml:35
#, no-c-format
msgid "Calling a Web Bean from a Servlet"
-msgstr ""
+msgstr "Chiamare un Web Bean da un servlet"
#. Tag: para
#: ee.xml:37
#, no-c-format
-msgid ""
-"It's easy to use a Web Bean from a Servlet in Java EE 6. Simply inject the "
-"Web Bean using Web Beans field or initializer method injection."
+msgid "It's easy to use a Web Bean from a Servlet in Java EE 6. Simply inject the Web Bean using Web Beans field or initializer method injection."
msgstr ""
#. Tag: programlisting
@@ -118,8 +117,7 @@
" @Current Login login;\n"
"\n"
" @Override\n"
-" public void service(HttpServletRequest request, HttpServletResponse "
-"response)\n"
+" public void service(HttpServletRequest request, HttpServletResponse response)\n"
" throws ServletException, IOException {\n"
" credentials.setUsername( request.getAttribute(\"username\") ):\n"
" credentials.setPassword( request.getAttribute(\"password\") ):\n"
@@ -134,14 +132,31 @@
" \n"
"}"
msgstr ""
+"public class Login extends HttpServlet {\n"
+"\n"
+" @Current Credentials credentials;\n"
+" @Current Login login;\n"
+"\n"
+" @Override\n"
+" public void service(HttpServletRequest request, HttpServletResponse response)\n"
+" throws ServletException, IOException {\n"
+" credentials.setUsername( request.getAttribute(\"username\") ):\n"
+" credentials.setPassword( request.getAttribute(\"password\") ):\n"
+" login.login();\n"
+" if ( login.isLoggedIn() ) {\n"
+" response.sendRedirect(\"/home.jsp\");\n"
+" }\n"
+" else {\n"
+" response.sendRedirect(\"/loginError.jsp\");\n"
+" }\n"
+" }\n"
+" \n"
+"}"
#. Tag: para
#: ee.xml:42
#, no-c-format
-msgid ""
-"The Web Beans client proxy takes care of routing method invocations from the "
-"Servlet to the correct instances of <literal>Credentials</literal> and "
-"<literal>Login</literal> for the current request and HTTP session."
+msgid "The Web Beans client proxy takes care of routing method invocations from the Servlet to the correct instances of <literal>Credentials</literal> and <literal>Login</literal> for the current request and HTTP session."
msgstr ""
#. Tag: title
@@ -153,19 +168,13 @@
#. Tag: para
#: ee.xml:51
#, no-c-format
-msgid ""
-"Web Beans injection applies to all EJBs, even when they aren't under the "
-"control of the Web Bean manager (if they were obtained by direct JNDI "
-"lookup, or injection using <literal>@EJB</literal>, for example. In "
-"particular, you can use Web Beans injection in Message-Driven Beans, which "
-"are not considered Web Beans because you can't inject them."
+msgid "Web Beans injection applies to all EJBs, even when they aren't under the control of the Web Bean manager (if they were obtained by direct JNDI lookup, or injection using <literal>@EJB</literal>, for example. In particular, you can use Web Beans injection in Message-Driven Beans, which are not considered Web Beans because you can't inject them."
msgstr ""
#. Tag: para
#: ee.xml:57
#, no-c-format
-msgid ""
-"You can even use Web Beans interceptor bindings for Message-Driven Beans."
+msgid "You can even use Web Beans interceptor bindings for Message-Driven Beans."
msgstr ""
#. Tag: programlisting
@@ -184,51 +193,46 @@
" \n"
"}"
msgstr ""
+"@Transactional @MessageDriven\n"
+"public class ProcessOrder implements MessageListener {\n"
+"\n"
+" @Current Inventory inventory;\n"
+" @PersistenceContext EntityManager em;\n"
+"\n"
+" public void onMessage(Message message) {\n"
+" ...\n"
+" }\n"
+" \n"
+"}"
#. Tag: para
#: ee.xml:61
#, no-c-format
-msgid ""
-"Thus, receiving messages is super-easy in a Web Beans environment. But "
-"beware that there is no session or conversation context available when a "
-"message is delivered to a Message-Driven Bean. Only <literal>@RequestScoped</"
-"literal> and <literal>@ApplicationScoped</literal> Web Beans are available."
+msgid "Thus, receiving messages is super-easy in a Web Beans environment. But beware that there is no session or conversation context available when a message is delivered to a Message-Driven Bean. Only <literal>@RequestScoped</literal> and <literal>@ApplicationScoped</literal> Web Beans are available."
msgstr ""
#. Tag: para
#: ee.xml:66
#, no-c-format
msgid "It's also easy to send messages using Web Beans."
-msgstr ""
+msgstr "E' anche molto facile spedire messaggi usando Web Beans."
#. Tag: title
#: ee.xml:71
#, no-c-format
msgid "JMS endpoints"
-msgstr ""
+msgstr "Endpoint JMS"
#. Tag: para
#: ee.xml:73
#, no-c-format
-msgid ""
-"Sending messages using JMS can be quite complex, because of the number of "
-"different objects you need to deal with. For queues we have <literal>Queue</"
-"literal>, <literal>QueueConnectionFactory</literal>, "
-"<literal>QueueConnection</literal>, <literal>QueueSession</literal> and "
-"<literal>QueueSender</literal>. For topics we have <literal>Topic</literal>, "
-"<literal>TopicConnectionFactory</literal>, <literal>TopicConnection</"
-"literal>, <literal>TopicSession</literal> and <literal>TopicPublisher</"
-"literal>. Each of these objects has its own lifecycle and threading model "
-"that we need to worry about."
+msgid "Sending messages using JMS can be quite complex, because of the number of different objects you need to deal with. For queues we have <literal>Queue</literal>, <literal>QueueConnectionFactory</literal>, <literal>QueueConnection</literal>, <literal>QueueSession</literal> and <literal>QueueSender</literal>. For topics we have <literal>Topic</literal>, <literal>TopicConnectionFactory</literal>, <literal>TopicConnection</literal>, <literal>TopicSession</literal> and <literal>TopicPublisher</literal>. Each of these objects has its own lifecycle and threading model that we need to worry about."
msgstr ""
#. Tag: para
#: ee.xml:82
#, no-c-format
-msgid ""
-"Web Beans takes care of all this for us. All we need to do is declare the "
-"queue or topic in <literal>web-beans.xml</literal>, specifying an associated "
-"binding type and connection factory."
+msgid "Web Beans takes care of all this for us. All we need to do is declare the queue or topic in <literal>web-beans.xml</literal>, specifying an associated binding type and connection factory."
msgstr ""
#. Tag: programlisting
@@ -237,11 +241,15 @@
msgid ""
"<![CDATA[<Queue>\n"
" <destination>java:comp/env/jms/OrderQueue</destination>\n"
-" <connectionFactory>java:comp/env/jms/QueueConnectionFactory</"
-"connectionFactory>\n"
+" <connectionFactory>java:comp/env/jms/QueueConnectionFactory</connectionFactory>\n"
" <myapp:OrderProcessor/> \n"
"</Queue>]]>"
msgstr ""
+"<![CDATA[<Queue>\n"
+" <destination>java:comp/env/jms/OrderQueue</destination>\n"
+" <connectionFactory>java:comp/env/jms/QueueConnectionFactory</connectionFactory>\n"
+" <myapp:OrderProcessor/> \n"
+"</Queue>]]>"
#. Tag: programlisting
#: ee.xml:88
@@ -249,21 +257,20 @@
msgid ""
"<![CDATA[<Topic>\n"
" <destination>java:comp/env/jms/StockPrices</destination>\n"
-" <connectionFactory>java:comp/env/jms/TopicConnectionFactory</"
-"connectionFactory>\n"
+" <connectionFactory>java:comp/env/jms/TopicConnectionFactory</connectionFactory>\n"
" <myapp:StockPrices/> \n"
"</Topic>]]>"
msgstr ""
+"<![CDATA[<Topic>\n"
+" <destination>java:comp/env/jms/StockPrices</destination>\n"
+" <connectionFactory>java:comp/env/jms/TopicConnectionFactory</connectionFactory>\n"
+" <myapp:StockPrices/> \n"
+"</Topic>]]>"
#. Tag: para
#: ee.xml:90
#, no-c-format
-msgid ""
-"Now we can just inject the <literal>Queue</literal>, "
-"<literal>QueueConnection</literal>, <literal>QueueSession</literal> or "
-"<literal>QueueSender</literal> for a queue, or the <literal>Topic</literal>, "
-"<literal>TopicConnection</literal>, <literal>TopicSession</literal> or "
-"<literal>TopicPublisher</literal> for a topic."
+msgid "Now we can just inject the <literal>Queue</literal>, <literal>QueueConnection</literal>, <literal>QueueSession</literal> or <literal>QueueSender</literal> for a queue, or the <literal>Topic</literal>, <literal>TopicConnection</literal>, <literal>TopicSession</literal> or <literal>TopicPublisher</literal> for a topic."
msgstr ""
#. Tag: programlisting
@@ -279,6 +286,14 @@
" orderSender.send(msg);\n"
"}"
msgstr ""
+"@OrderProcessor QueueSender orderSender;\n"
+"@OrderProcessor QueueSession orderSession;\n"
+"\n"
+"public void sendMessage() {\n"
+" MapMessage msg = orderSession.createMapMessage();\n"
+" ...\n"
+" orderSender.send(msg);\n"
+"}"
#. Tag: programlisting
#: ee.xml:98
@@ -291,39 +306,34 @@
" pricePublisher.send( priceSession.createTextMessage(price) );\n"
"}"
msgstr ""
+"@StockPrices TopicPublisher pricePublisher;\n"
+"@StockPrices TopicSession priceSession;\n"
+"\n"
+"public void sendMessage(String price) {\n"
+" pricePublisher.send( priceSession.createTextMessage(price) );\n"
+"}"
#. Tag: para
#: ee.xml:100
#, no-c-format
-msgid ""
-"The lifecycle of the injected JMS objects are completely controlled by the "
-"Web Bean manager."
+msgid "The lifecycle of the injected JMS objects are completely controlled by the Web Bean manager."
msgstr ""
#. Tag: title
#: ee.xml:106
#, no-c-format
msgid "Packaging and deployment"
-msgstr ""
+msgstr "Packaging and deployment"
#. Tag: para
#: ee.xml:108
#, no-c-format
-msgid ""
-"Web Beans doesn't define any special deployment archive. You can package Web "
-"Beans in JARs, EJB-JARs or WARs—any deployment location in the "
-"application classpath. However, each archive that contains Web Beans must "
-"include a file named <literal>web-beans.xml</literal> in the <literal>META-"
-"INF</literal> or <literal>WEB-INF</literal> directory. The file may be "
-"empty. Web Beans deployed in archives that do not have a <literal>web-beans."
-"xml</literal> file will not be available for use in the application."
+msgid "Web Beans doesn't define any special deployment archive. You can package Web Beans in JARs, EJB-JARs or WARs—any deployment location in the application classpath. However, each archive that contains Web Beans must include a file named <literal>web-beans.xml</literal> in the <literal>META-INF</literal> or <literal>WEB-INF</literal> directory. The file may be empty. Web Beans deployed in archives that do not have a <literal>web-beans.xml</literal> file will not be available for use in the application."
msgstr ""
#. Tag: para
#: ee.xml:116
#, no-c-format
-msgid ""
-"For Java SE execution, Web Beans may be deployed in any location in which "
-"EJBs may be deployed for execution by the embeddable EJB Lite container. "
-"Again, each location must contain a <literal>web-beans.xml</literal> file."
+msgid "For Java SE execution, Web Beans may be deployed in any location in which EJBs may be deployed for execution by the embeddable EJB Lite container. Again, each location must contain a <literal>web-beans.xml</literal> file."
msgstr ""
+
Modified: doc/trunk/reference/it-IT/modules/events.po
===================================================================
--- doc/trunk/reference/it-IT/modules/events.po 2008-12-19 22:42:07 UTC (rev 611)
+++ doc/trunk/reference/it-IT/modules/events.po 2008-12-19 23:40:34 UTC (rev 612)
@@ -3,11 +3,11 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: master.xml \n"
+"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-12-19 20:26+0000\n"
-"PO-Revision-Date: 2008-12-19 20:26+0000\n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2008-12-20 00:11+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,74 +17,54 @@
#: events.xml:4
#, no-c-format
msgid "Events"
-msgstr ""
+msgstr "Eventi"
#. Tag: para
#: events.xml:6
#, no-c-format
-msgid ""
-"The Web Beans event notification facility allows Web Beans to interact in a "
-"totally decoupled manner. Event <emphasis>producers</emphasis> raise events "
-"that are then delivered to event <emphasis>observers</emphasis> by the Web "
-"Bean manager. This basic schema might sound like the familiar observer/"
-"observable pattern, but there are a couple of twists:"
+msgid "The Web Beans event notification facility allows Web Beans to interact in a totally decoupled manner. Event <emphasis>producers</emphasis> raise events that are then delivered to event <emphasis>observers</emphasis> by the Web Bean manager. This basic schema might sound like the familiar observer/observable pattern, but there are a couple of twists:"
msgstr ""
#. Tag: para
#: events.xml:14
#, no-c-format
-msgid ""
-"not only are event producers decoupled from observers; observers are "
-"completely decoupled from producers,"
+msgid "not only are event producers decoupled from observers; observers are completely decoupled from producers,"
msgstr ""
#. Tag: para
#: events.xml:18
#, no-c-format
-msgid ""
-"observers can specify a combination of \"selectors\" to narrow the set of "
-"event notifications they will receive, and"
+msgid "observers can specify a combination of \"selectors\" to narrow the set of event notifications they will receive, and"
msgstr ""
#. Tag: para
#: events.xml:22
#, no-c-format
-msgid ""
-"observers can be notified immediately, or can specify that delivery of the "
-"event should be delayed until the end of the current transaction"
+msgid "observers can be notified immediately, or can specify that delivery of the event should be delayed until the end of the current transaction"
msgstr ""
#. Tag: title
#: events.xml:28
#, no-c-format
msgid "Event observers"
-msgstr ""
+msgstr "Osservatori di eventi"
#. Tag: para
#: events.xml:30
#, no-c-format
-msgid ""
-"An <emphasis>observer method</emphasis> is a method of a Web Bean with a "
-"parameter annotated <literal>@Observes</literal>."
+msgid "An <emphasis>observer method</emphasis> is a method of a Web Bean with a parameter annotated <literal>@Observes</literal>."
msgstr ""
#. Tag: programlisting
#: events.xml:33
#, no-c-format
-msgid ""
-"<![CDATA[public void onAnyDocumentEvent(@Observes Document document) "
-"{ ... }]]>"
-msgstr ""
+msgid "<![CDATA[public void onAnyDocumentEvent(@Observes Document document) { ... }]]>"
+msgstr "<![CDATA[public void onAnyDocumentEvent(@Observes Document document) { ... }]]>"
#. Tag: para
#: events.xml:35
#, no-c-format
-msgid ""
-"The annotated parameter is called the <emphasis>event parameter</emphasis>. "
-"The type of the event parameter is the observed <emphasis>event type</"
-"emphasis>. Observer methods may also specify \"selectors\", which are just "
-"instances of Web Beans binding types. When a binding type is used as an "
-"event selector, it is called an <emphasis>event binding type</emphasis>."
+msgid "The annotated parameter is called the <emphasis>event parameter</emphasis>. The type of the event parameter is the observed <emphasis>event type</emphasis>. Observer methods may also specify \"selectors\", which are just instances of Web Beans binding types. When a binding type is used as an event selector, it is called an <emphasis>event binding type</emphasis>."
msgstr ""
#. Tag: programlisting
@@ -96,105 +76,88 @@
"@Retention(RUNTIME)\n"
"public @interface Updated { ... }]]>"
msgstr ""
+"<![CDATA[@BindingType\n"
+"@Target({PARAMETER, FIELD})\n"
+"@Retention(RUNTIME)\n"
+"public @interface Updated { ... }]]>"
#. Tag: para
#: events.xml:43
#, no-c-format
-msgid ""
-"We specify the event bindings of the observer method by annotating the event "
-"parameter:"
+msgid "We specify the event bindings of the observer method by annotating the event parameter:"
msgstr ""
#. Tag: programlisting
-#: events.xml:46 events.xml:190
+#: events.xml:46
+#: events.xml:190
#, no-c-format
-msgid ""
-"<![CDATA[public void afterDocumentUpdate(@Observes @Updated Document "
-"document) { ... }]]>"
-msgstr ""
+msgid "<![CDATA[public void afterDocumentUpdate(@Observes @Updated Document document) { ... }]]>"
+msgstr "<![CDATA[public void afterDocumentUpdate(@Observes @Updated Document document) { ... }]]>"
#. Tag: para
#: events.xml:48
#, no-c-format
-msgid ""
-"An observer method need not specify any event bindings—in this case it "
-"is interested in <emphasis>all</emphasis> events of a particular type. If it "
-"does specify event bindings, it is only interested in events which also have "
-"those event bindings."
+msgid "An observer method need not specify any event bindings—in this case it is interested in <emphasis>all</emphasis> events of a particular type. If it does specify event bindings, it is only interested in events which also have those event bindings."
msgstr ""
#. Tag: para
#: events.xml:53
#, no-c-format
-msgid ""
-"The observer method may have additional parameters, which are injected "
-"according to the usual Web Beans method parameter injection semantics:"
+msgid "The observer method may have additional parameters, which are injected according to the usual Web Beans method parameter injection semantics:"
msgstr ""
#. Tag: programlisting
#: events.xml:56
#, no-c-format
-msgid ""
-"<![CDATA[public void afterDocumentUpdate(@Observes @Updated Document "
-"document, User user) { ... }]]>"
-msgstr ""
+msgid "<![CDATA[public void afterDocumentUpdate(@Observes @Updated Document document, User user) { ... }]]>"
+msgstr "<![CDATA[public void afterDocumentUpdate(@Observes @Updated Document document, User user) { ... }]]>"
#. Tag: title
#: events.xml:61
#, no-c-format
msgid "Event producers"
-msgstr ""
+msgstr "Produttori di eventi"
#. Tag: para
#: events.xml:63
#, no-c-format
-msgid ""
-"The event producer may obtain an <emphasis>event notifier</emphasis> object "
-"by injection:"
+msgid "The event producer may obtain an <emphasis>event notifier</emphasis> object by injection:"
msgstr ""
#. Tag: programlisting
#: events.xml:66
#, no-c-format
msgid "<![CDATA[@Observable Event<Document> documentEvent]]>"
-msgstr ""
+msgstr "<![CDATA[@Observable Event<Document> documentEvent]]>"
#. Tag: para
#: events.xml:68
#, no-c-format
-msgid ""
-"The <literal>@Observable</literal> annotation implicitly defines a Web Bean "
-"with scope <literal>@Dependent</literal> and deployment type "
-"<literal>@Standard</literal>, with an implementation provided by the Web "
-"Bean manager."
+msgid "The <literal>@Observable</literal> annotation implicitly defines a Web Bean with scope <literal>@Dependent</literal> and deployment type <literal>@Standard</literal>, with an implementation provided by the Web Bean manager."
msgstr ""
#. Tag: para
#: events.xml:72
#, no-c-format
-msgid ""
-"A producer raises events by calling the <literal>fire()</literal> method of "
-"the <literal>Event</literal> interface, passing an <emphasis>event object</"
-"emphasis>:"
+msgid "A producer raises events by calling the <literal>fire()</literal> method of the <literal>Event</literal> interface, passing an <emphasis>event object</emphasis>:"
msgstr ""
#. Tag: programlisting
#: events.xml:75
#, no-c-format
msgid "<![CDATA[documentEvent.fire(document);]]>"
-msgstr ""
+msgstr "<![CDATA[documentEvent.fire(document);]]>"
#. Tag: para
#: events.xml:77
#, no-c-format
-msgid ""
-"An event object may be an instance of any Java class that has no type "
-"variables or wildcard type parameters. The event will be delivered to every "
-"observer method that:"
+msgid "An event object may be an instance of any Java class that has no type variables or wildcard type parameters. The event will be delivered to every observer method that:"
msgstr ""
#. Tag: para
-#: events.xml:83 events.xml:107 events.xml:126
+#: events.xml:83
+#: events.xml:107
+#: events.xml:126
#, no-c-format
msgid "has an event parameter to which the event object is assignable, and"
msgstr ""
@@ -208,36 +171,25 @@
#. Tag: para
#: events.xml:90
#, no-c-format
-msgid ""
-"The Web Bean manager simply calls all the observer methods, passing the "
-"event object as the value of the event parameter. If any observer method "
-"throws an exception, the Web Bean manager stops calling observer methods, "
-"and the exception is rethrown by the <literal>fire()</literal> method."
+msgid "The Web Bean manager simply calls all the observer methods, passing the event object as the value of the event parameter. If any observer method throws an exception, the Web Bean manager stops calling observer methods, and the exception is rethrown by the <literal>fire()</literal> method."
msgstr ""
#. Tag: para
#: events.xml:95
#, no-c-format
-msgid ""
-"To specify a \"selector\", the event producer may pass an instance of the "
-"event binding type to the <literal>fire()</literal> method:"
+msgid "To specify a \"selector\", the event producer may pass an instance of the event binding type to the <literal>fire()</literal> method:"
msgstr ""
#. Tag: programlisting
#: events.xml:98
#, no-c-format
-msgid ""
-"<![CDATA[documentEvent.fire( document, new AnnotationLiteral<Updated>()"
-"{} );]]>"
-msgstr ""
+msgid "<![CDATA[documentEvent.fire( document, new AnnotationLiteral<Updated>(){} );]]>"
+msgstr "<![CDATA[documentEvent.fire( document, new AnnotationLiteral<Updated>(){} );]]>"
#. Tag: para
#: events.xml:100
#, no-c-format
-msgid ""
-"The helper class <literal>AnnotationLiteral</literal> makes it possible to "
-"instantiate binding types inline, since this is otherwise difficult to do in "
-"Java."
+msgid "The helper class <literal>AnnotationLiteral</literal> makes it possible to instantiate binding types inline, since this is otherwise difficult to do in Java."
msgstr ""
#. Tag: para
@@ -249,41 +201,31 @@
#. Tag: para
#: events.xml:110
#, no-c-format
-msgid ""
-"does not specify any event binding <emphasis>except</emphasis> for the event "
-"bindings passed to <literal>fire()</literal>."
+msgid "does not specify any event binding <emphasis>except</emphasis> for the event bindings passed to <literal>fire()</literal>."
msgstr ""
#. Tag: para
#: events.xml:115
#, no-c-format
-msgid ""
-"Alternatively, event bindings may be specified by annotating the event "
-"notifier injection point:"
+msgid "Alternatively, event bindings may be specified by annotating the event notifier injection point:"
msgstr ""
#. Tag: programlisting
#: events.xml:118
#, no-c-format
msgid "<![CDATA[@Observable @Updated Event<Document> documentUpdatedEvent]]>"
-msgstr ""
+msgstr "<![CDATA[@Observable @Updated Event<Document> documentUpdatedEvent]]>"
#. Tag: para
#: events.xml:120
#, no-c-format
-msgid ""
-"Then every event fired via this instance of <literal>Event</literal> has the "
-"annotated event binding. The event will be delivered to every observer "
-"method that:"
+msgid "Then every event fired via this instance of <literal>Event</literal> has the annotated event binding. The event will be delivered to every observer method that:"
msgstr ""
#. Tag: para
#: events.xml:129
#, no-c-format
-msgid ""
-"does not specify any event binding <emphasis>except</emphasis> for the event "
-"bindings passed to <literal>fire()</literal> or the annotated event bindings "
-"of the event notifier injection point."
+msgid "does not specify any event binding <emphasis>except</emphasis> for the event bindings passed to <literal>fire()</literal> or the annotated event bindings of the event notifier injection point."
msgstr ""
#. Tag: title
@@ -295,39 +237,30 @@
#. Tag: para
#: events.xml:140
#, no-c-format
-msgid ""
-"It's often useful to register an event observer dynamically. The application "
-"may implement the <literal>Observer</literal> interface and register an "
-"instance with an event notifier by calling the <literal>observe()</literal> "
-"method."
+msgid "It's often useful to register an event observer dynamically. The application may implement the <literal>Observer</literal> interface and register an instance with an event notifier by calling the <literal>observe()</literal> method."
msgstr ""
#. Tag: programlisting
#: events.xml:144
#, no-c-format
-msgid ""
-"<![CDATA[documentEvent.observe( new Observer<Document>() { public void notify"
-"(Document doc) { ... } } );]]>"
-msgstr ""
+msgid "<![CDATA[documentEvent.observe( new Observer<Document>() { public void notify(Document doc) { ... } } );]]>"
+msgstr "<![CDATA[documentEvent.observe( new Observer<Document>() { public void notify(Document doc) { ... } } );]]>"
#. Tag: para
#: events.xml:146
#, no-c-format
-msgid ""
-"Event binding types may be specified by the event notifier injection point "
-"or by passing event binding type instances to the <literal>observe()</"
-"literal> method:"
+msgid "Event binding types may be specified by the event notifier injection point or by passing event binding type instances to the <literal>observe()</literal> method:"
msgstr ""
#. Tag: programlisting
#: events.xml:149
#, no-c-format
msgid ""
-"<![CDATA[documentEvent.observe( new Observer<Document>() { public void notify"
-"(Document doc) { ... } }, \n"
-" new "
-"AnnotationLiteral<Updated>(){} );]]>"
+"<![CDATA[documentEvent.observe( new Observer<Document>() { public void notify(Document doc) { ... } }, \n"
+" new AnnotationLiteral<Updated>(){} );]]>"
msgstr ""
+"<![CDATA[documentEvent.observe( new Observer<Document>() { public void notify(Document doc) { ... } }, \n"
+" new AnnotationLiteral<Updated>(){} );]]>"
#. Tag: title
#: events.xml:154
@@ -352,43 +285,41 @@
" RoleType value();\n"
"}]]>"
msgstr ""
+"<![CDATA[@BindingType\n"
+"@Target({PARAMETER, FIELD})\n"
+"@Retention(RUNTIME)\n"
+"public @interface Role {\n"
+" RoleType value();\n"
+"}]]>"
#. Tag: para
#: events.xml:160
#, no-c-format
-msgid ""
-"The member value is used to narrow the messages delivered to the observer:"
+msgid "The member value is used to narrow the messages delivered to the observer:"
msgstr ""
#. Tag: programlisting
#: events.xml:162
#, no-c-format
-msgid ""
-"<![CDATA[public void adminLoggedIn(@Observes @Role(ADMIN) LoggedIn event) "
-"{ ... }]]>"
-msgstr ""
+msgid "<![CDATA[public void adminLoggedIn(@Observes @Role(ADMIN) LoggedIn event) { ... }]]>"
+msgstr "<![CDATA[public void adminLoggedIn(@Observes @Role(ADMIN) LoggedIn event) { ... }]]>"
#. Tag: para
#: events.xml:164
#, no-c-format
-msgid ""
-"Event binding type members may be specified statically by the event "
-"producer, via annotations at the event notifier injection point:"
+msgid "Event binding type members may be specified statically by the event producer, via annotations at the event notifier injection point:"
msgstr ""
#. Tag: programlisting
#: events.xml:167
#, no-c-format
msgid "<![CDATA[@Observable @Role(ADMIN) Event<LoggedIn> LoggedInEvent;}}]]>"
-msgstr ""
+msgstr "<![CDATA[@Observable @Role(ADMIN) Event<LoggedIn> LoggedInEvent;}}]]>"
#. Tag: para
#: events.xml:169
#, no-c-format
-msgid ""
-"Alternatively, the value of the event binding type member may be determined "
-"dynamically by the event producer. We start by writing an abstract subclass "
-"of <literal>AnnotationLiteral</literal>:"
+msgid "Alternatively, the value of the event binding type member may be determined dynamically by the event producer. We start by writing an abstract subclass of <literal>AnnotationLiteral</literal>:"
msgstr ""
#. Tag: programlisting
@@ -399,22 +330,21 @@
" extends AnnotationLiteral<Role> \n"
" implements Role {}]]>"
msgstr ""
+"<![CDATA[abstract class RoleBinding \n"
+" extends AnnotationLiteral<Role> \n"
+" implements Role {}]]>"
#. Tag: para
#: events.xml:174
#, no-c-format
-msgid ""
-"The event producer passes an instance of this class to <literal>fire()</"
-"literal>:"
+msgid "The event producer passes an instance of this class to <literal>fire()</literal>:"
msgstr ""
#. Tag: programlisting
#: events.xml:176
#, no-c-format
-msgid ""
-"<![CDATA[documentEvent.fire( document, new RoleBinding() { public void value"
-"() { return user.getRole(); } } );]]>"
-msgstr ""
+msgid "<![CDATA[documentEvent.fire( document, new RoleBinding() { public void value() { return user.getRole(); } } );]]>"
+msgstr "<![CDATA[documentEvent.fire( document, new RoleBinding() { public void value() { return user.getRole(); } } );]]>"
#. Tag: title
#: events.xml:181
@@ -434,66 +364,53 @@
msgid ""
"<![CDATA[@Observable @Blog Event<Document> blogEvent;\n"
"...\n"
-"if (document.isBlog()) blogEvent.fire(document, new "
-"AnnotationLiteral<Updated>(){});]]>"
+"if (document.isBlog()) blogEvent.fire(document, new AnnotationLiteral<Updated>(){});]]>"
msgstr ""
+"<![CDATA[@Observable @Blog Event<Document> blogEvent;\n"
+"...\n"
+"if (document.isBlog()) blogEvent.fire(document, new AnnotationLiteral<Updated>(){});]]>"
#. Tag: para
#: events.xml:187
#, no-c-format
-msgid ""
-"When this event occurs, all of the following observer methods will be "
-"notified:"
+msgid "When this event occurs, all of the following observer methods will be notified:"
msgstr ""
#. Tag: programlisting
#: events.xml:189
#, no-c-format
-msgid ""
-"<![CDATA[public void afterBlogUpdate(@Observes @Updated @Blog Document "
-"document) { ... }]]>"
-msgstr ""
+msgid "<![CDATA[public void afterBlogUpdate(@Observes @Updated @Blog Document document) { ... }]]>"
+msgstr "<![CDATA[public void afterBlogUpdate(@Observes @Updated @Blog Document document) { ... }]]>"
#. Tag: programlisting
#: events.xml:191
#, no-c-format
-msgid ""
-"<![CDATA[public void onAnyBlogEvent(@Observes @Blog Document document) "
-"{ ... }]]>"
-msgstr ""
+msgid "<![CDATA[public void onAnyBlogEvent(@Observes @Blog Document document) { ... }]]>"
+msgstr "<![CDATA[public void onAnyBlogEvent(@Observes @Blog Document document) { ... }]]>"
#. Tag: programlisting
#: events.xml:192
#, no-c-format
-msgid ""
-"<![CDATA[public void onAnyDocumentEvent(@Observes Document document) "
-"{ ... }}}]]>"
-msgstr ""
+msgid "<![CDATA[public void onAnyDocumentEvent(@Observes Document document) { ... }}}]]>"
+msgstr "<![CDATA[public void onAnyDocumentEvent(@Observes Document document) { ... }}}]]>"
#. Tag: title
#: events.xml:197
#, no-c-format
msgid "Transactional observers"
-msgstr ""
+msgstr "Osservatori transazionali"
#. Tag: para
#: events.xml:199
#, no-c-format
-msgid ""
-"Transactional observers receive their event notifications during the before "
-"or after completion phase of the transaction in which the event was raised. "
-"For example, the following observer method needs to refresh a query result "
-"set that is cached in the application context, but only when transactions "
-"that update the <literal>Category</literal> tree succeed:"
+msgid "Transactional observers receive their event notifications during the before or after completion phase of the transaction in which the event was raised. For example, the following observer method needs to refresh a query result set that is cached in the application context, but only when transactions that update the <literal>Category</literal> tree succeed:"
msgstr ""
#. Tag: programlisting
#: events.xml:205
#, no-c-format
-msgid ""
-"<![CDATA[public void refreshCategoryTree(@AfterTransactionSuccess @Observes "
-"CategoryUpdateEvent event) { ... }]]>"
-msgstr ""
+msgid "<![CDATA[public void refreshCategoryTree(@AfterTransactionSuccess @Observes CategoryUpdateEvent event) { ... }]]>"
+msgstr "<![CDATA[public void refreshCategoryTree(@AfterTransactionSuccess @Observes CategoryUpdateEvent event) { ... }]]>"
#. Tag: para
#: events.xml:207
@@ -504,51 +421,37 @@
#. Tag: para
#: events.xml:211
#, no-c-format
-msgid ""
-"<literal>@AfterTransactionSuccess</literal> observers are called during the "
-"after completion phase of the transaction, but only if the transaction "
-"completes successfully"
+msgid "<literal>@AfterTransactionSuccess</literal> observers are called during the after completion phase of the transaction, but only if the transaction completes successfully"
msgstr ""
#. Tag: para
#: events.xml:216
#, no-c-format
-msgid ""
-"<literal>@AfterTransactionFailure</literal> observers are called during the "
-"after completion phase of the transaction, but only if the transaction fails "
-"to complete successfully"
+msgid "<literal>@AfterTransactionFailure</literal> observers are called during the after completion phase of the transaction, but only if the transaction fails to complete successfully"
msgstr ""
#. Tag: para
#: events.xml:221
#, no-c-format
-msgid ""
-"<literal>@AfterTransactionCompletion</literal> observers are called during "
-"the after completion phase of the transaction"
+msgid "<literal>@AfterTransactionCompletion</literal> observers are called during the after completion phase of the transaction"
msgstr ""
#. Tag: para
#: events.xml:225
#, no-c-format
-msgid ""
-"<literal>@BeforeTransactionCompletion</literal> observers are called during "
-"the before completion phase of the transaction"
+msgid "<literal>@BeforeTransactionCompletion</literal> observers are called during the before completion phase of the transaction"
msgstr ""
#. Tag: para
#: events.xml:230
#, no-c-format
-msgid ""
-"Transactional observers are very important in a stateful object model like "
-"Web Beans, because state is often held for longer than a single atomic "
-"transaction."
+msgid "Transactional observers are very important in a stateful object model like Web Beans, because state is often held for longer than a single atomic transaction."
msgstr ""
#. Tag: para
#: events.xml:233
#, no-c-format
-msgid ""
-"Imagine that we have cached a JPA query result set in the application scope:"
+msgid "Imagine that we have cached a JPA query result set in the application scope:"
msgstr ""
#. Tag: programlisting
@@ -565,8 +468,7 @@
" @Produces @Catalog \n"
" List<Product> getCatalog() {\n"
" if (products==null) {\n"
-" products = em.createQuery(\"select p from Product p where p."
-"deleted = false\")\n"
+" products = em.createQuery(\"select p from Product p where p.deleted = false\")\n"
" .getResultList();\n"
" }\n"
" return products;\n"
@@ -574,23 +476,34 @@
" \n"
"}]]>"
msgstr ""
+"<![CDATA[@ApplicationScoped @Singleton\n"
+"public class Catalog {\n"
+"\n"
+" @PersistenceContext EntityManager em;\n"
+" \n"
+" List<Product> products;\n"
+"\n"
+" @Produces @Catalog \n"
+" List<Product> getCatalog() {\n"
+" if (products==null) {\n"
+" products = em.createQuery(\"select p from Product p where p.deleted = false\")\n"
+" .getResultList();\n"
+" }\n"
+" return products;\n"
+" }\n"
+" \n"
+"}]]>"
#. Tag: para
#: events.xml:237
#, no-c-format
-msgid ""
-"From time to time, a <literal>Product</literal> is created or deleted. When "
-"this occurs, we need to refresh the <literal>Product</literal> catalog. But "
-"we should wait until <emphasis>after</emphasis> the transaction completes "
-"successfully before performing this refresh!"
+msgid "From time to time, a <literal>Product</literal> is created or deleted. When this occurs, we need to refresh the <literal>Product</literal> catalog. But we should wait until <emphasis>after</emphasis> the transaction completes successfully before performing this refresh!"
msgstr ""
#. Tag: para
#: events.xml:242
#, no-c-format
-msgid ""
-"The Web Bean that creates and deletes <literal>Product</literal>s could "
-"raise events, for example:"
+msgid "The Web Bean that creates and deletes <literal>Product</literal>s could raise events, for example:"
msgstr ""
#. Tag: programlisting
@@ -617,13 +530,30 @@
" \n"
"}]]>"
msgstr ""
+"<![CDATA[@Stateless\n"
+"public class ProductManager {\n"
+"\n"
+" @PersistenceContext EntityManager em;\n"
+" @Observable Event<Product> productEvent;\n"
+"\n"
+" public void delete(Product product) {\n"
+" em.delete(product);\n"
+" productEvent.fire(product, new AnnotationLiteral<Deleted>(){});\n"
+" }\n"
+" \n"
+" public void persist(Product product) {\n"
+" em.persist(product);\n"
+" productEvent.fire(product, new AnnotationLiteral<Created>(){});\n"
+" }\n"
+" \n"
+" ...\n"
+" \n"
+"}]]>"
#. Tag: para
#: events.xml:247
#, no-c-format
-msgid ""
-"And now <literal>Catalog</literal> can observe the events after successful "
-"completion of the transaction:"
+msgid "And now <literal>Catalog</literal> can observe the events after successful completion of the transaction:"
msgstr ""
#. Tag: programlisting
@@ -635,15 +565,28 @@
"\n"
" ...\n"
" \n"
-" void addProduct(@AfterTransactionSuccess @Observes @Created Product "
-"product) {\n"
+" void addProduct(@AfterTransactionSuccess @Observes @Created Product product) {\n"
" products.add(product);\n"
" }\n"
" \n"
-" void addProduct(@AfterTransactionSuccess @Observes @Deleted Product "
-"product) {\n"
+" void addProduct(@AfterTransactionSuccess @Observes @Deleted Product product) {\n"
" products.remove(product);\n"
" }\n"
" \n"
"}]]>"
msgstr ""
+"<![CDATA[@ApplicationScoped @Singleton\n"
+"public class Catalog {\n"
+"\n"
+" ...\n"
+" \n"
+" void addProduct(@AfterTransactionSuccess @Observes @Created Product product) {\n"
+" products.add(product);\n"
+" }\n"
+" \n"
+" void addProduct(@AfterTransactionSuccess @Observes @Deleted Product product) {\n"
+" products.remove(product);\n"
+" }\n"
+" \n"
+"}]]>"
+
Modified: doc/trunk/reference/it-IT/modules/intro.po
===================================================================
--- doc/trunk/reference/it-IT/modules/intro.po 2008-12-19 22:42:07 UTC (rev 611)
+++ doc/trunk/reference/it-IT/modules/intro.po 2008-12-19 23:40:34 UTC (rev 612)
@@ -3,11 +3,11 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: master.xml \n"
+"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-12-19 20:26+0000\n"
-"PO-Revision-Date: 2008-12-19 20:26+0000\n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2008-12-19 23:43+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"
@@ -22,12 +22,7 @@
#. Tag: para
#: intro.xml:6
#, no-c-format
-msgid ""
-"So you're already keen to get started writing your first Web Bean? Or "
-"perhaps you're skeptical, wondering what kinds of hoops the Web Beans "
-"specification will make you jump through! The good news is that you've "
-"probably already written and used hundreds, perhaps thousands of Web Beans. "
-"You might not even remember the first Web Bean you wrote."
+msgid "So you're already keen to get started writing your first Web Bean? Or perhaps you're skeptical, wondering what kinds of hoops the Web Beans specification will make you jump through! The good news is that you've probably already written and used hundreds, perhaps thousands of Web Beans. You might not even remember the first Web Bean you wrote."
msgstr ""
#. Tag: title
@@ -39,25 +34,13 @@
#. Tag: para
#: intro.xml:15
#, no-c-format
-msgid ""
-"With certain, very special exceptions, every Java class with a constructor "
-"that accepts no parameters is a Web Bean. That includes every JavaBean. "
-"Furthermore, every EJB 3-style session bean is a Web Bean. Sure, the "
-"JavaBeans and EJBs you've been writing every day have not been able to take "
-"advantage of the new services defined by the Web Beans specification, but "
-"you'll be able to use every one of them as Web Beans—injecting them "
-"into other Web Beans, configuring them via the Web Beans XML configuration "
-"facility, even adding interceptors and decorators to them—without "
-"touching your existing code."
+msgid "With certain, very special exceptions, every Java class with a constructor that accepts no parameters is a Web Bean. That includes every JavaBean. Furthermore, every EJB 3-style session bean is a Web Bean. Sure, the JavaBeans and EJBs you've been writing every day have not been able to take advantage of the new services defined by the Web Beans specification, but you'll be able to use every one of them as Web Beans—injecting them into other Web Beans, configuring them via the Web Beans XML configuration facility, even adding interceptors and decorators to them—without touching your existing code."
msgstr ""
#. Tag: para
#: intro.xml:25
#, no-c-format
-msgid ""
-"Suppose that we have two existing Java classes, that we've been using for "
-"years in various applications. The first class parses a string into a list "
-"of sentences:"
+msgid "Suppose that we have two existing Java classes, that we've been using for years in various applications. The first class parses a string into a list of sentences:"
msgstr ""
#. Tag: programlisting
@@ -68,14 +51,14 @@
" public List<String> parse(String text) { ... }\n"
"}]]>"
msgstr ""
+"<![CDATA[public class SentenceParser {\n"
+" public List<String> parse(String text) { ... }\n"
+"}]]>"
#. Tag: para
#: intro.xml:31
#, no-c-format
-msgid ""
-"The second existing class is a stateless session bean front-end for an "
-"external system that is able to translate sentences from one language to "
-"another:"
+msgid "The second existing class is a stateless session bean front-end for an external system that is able to translate sentences from one language to another:"
msgstr ""
#. Tag: programlisting
@@ -87,6 +70,10 @@
" public String translate(String sentence) { ... }\n"
"}]]>"
msgstr ""
+"<![CDATA[@Stateless\n"
+"public class SentenceTranslator implements Translator {\n"
+" public String translate(String sentence) { ... }\n"
+"}]]>"
#. Tag: para
#: intro.xml:37
@@ -103,13 +90,15 @@
" public String translate(String sentence);\n"
"}]]>"
msgstr ""
+"<![CDATA[@Local\n"
+"public interface Translator {\n"
+" public String translate(String sentence);\n"
+"}]]>"
#. Tag: para
#: intro.xml:41
#, no-c-format
-msgid ""
-"Unfortunately, we don't have a preexisting class that translates whole text "
-"documents. So let's write a Web Bean that does this job:"
+msgid "Unfortunately, we don't have a preexisting class that translates whole text documents. So let's write a Web Bean that does this job:"
msgstr ""
#. Tag: programlisting
@@ -122,8 +111,7 @@
" private Translator sentenceTranslator;\n"
" \n"
" @Initializer\n"
-" TextTranslator(SentenceParser sentenceParser, Translator "
-"sentenceTranslator) {\n"
+" TextTranslator(SentenceParser sentenceParser, Translator sentenceTranslator) {\n"
" this.sentenceParser = sentenceParser;\n"
" this.sentenceTranslator = sentenceTranslator;\n"
" }\n"
@@ -138,13 +126,31 @@
" \n"
"}]]>"
msgstr ""
+"<![CDATA[public class TextTranslator {\n"
+" \n"
+" private SentenceParser sentenceParser;\n"
+" private Translator sentenceTranslator;\n"
+" \n"
+" @Initializer\n"
+" TextTranslator(SentenceParser sentenceParser, Translator sentenceTranslator) {\n"
+" this.sentenceParser = sentenceParser;\n"
+" this.sentenceTranslator = sentenceTranslator;\n"
+" }\n"
+" \n"
+" public String translate(String text) {\n"
+" StringBuilder sb = new StringBuilder();\n"
+" for (String sentence: sentenceParser.parse(text)) {\n"
+" sb.append(sentenceTranslator.translate(sentence));\n"
+" }\n"
+" return sb.toString();\n"
+" }\n"
+" \n"
+"}]]>"
#. Tag: para
#: intro.xml:46
#, no-c-format
-msgid ""
-"We may obtain an instance of <literal>TextTranslator</literal> by injecting "
-"it into a Web Bean, Servlet or EJB:"
+msgid "We may obtain an instance of <literal>TextTranslator</literal> by injecting it into a Web Bean, Servlet or EJB:"
msgstr ""
#. Tag: programlisting
@@ -156,57 +162,39 @@
" this.textTranslator = textTranslator;\n"
"}]]>"
msgstr ""
+"<![CDATA[@Initializer\n"
+"public setTextTranslator(TextTranslator textTranslator) {\n"
+" this.textTranslator = textTranslator;\n"
+"}]]>"
#. Tag: para
#: intro.xml:51
#, no-c-format
-msgid ""
-"Alternatively, we may obtain an instance by directly calling a method of the "
-"Web Bean manager:"
+msgid "Alternatively, we may obtain an instance by directly calling a method of the Web Bean manager:"
msgstr ""
#. Tag: programlisting
#: intro.xml:54
#, no-c-format
-msgid ""
-"<![CDATA[TextTranslator tt = manager.getInstanceByType(TextTranslator."
-"class);]]>"
-msgstr ""
+msgid "<![CDATA[TextTranslator tt = manager.getInstanceByType(TextTranslator.class);]]>"
+msgstr "<![CDATA[TextTranslator tt = manager.getInstanceByType(TextTranslator.class);]]>"
#. Tag: para
#: intro.xml:56
#, no-c-format
-msgid ""
-"But wait: <literal>TextTranslator</literal> does not have a constructor with "
-"no parameters! Is it still a Web Bean? Well, a class that does not have a "
-"constructor with no parameters can still be a Web Bean if it has a "
-"constructor annotated <literal>@Initializer</literal>."
+msgid "But wait: <literal>TextTranslator</literal> does not have a constructor with no parameters! Is it still a Web Bean? Well, a class that does not have a constructor with no parameters can still be a Web Bean if it has a constructor annotated <literal>@Initializer</literal>."
msgstr ""
#. Tag: para
#: intro.xml:61
#, no-c-format
-msgid ""
-"As you've guessed, the <literal>@Initializer</literal> annotation has "
-"something to do with dependency injection! <literal>@Initializer</literal> "
-"may be applied to a constructor or method of a Web Bean, and tells the Web "
-"Bean manager to call that constructor or method when instantiating the Web "
-"Bean. The Web Bean manager will inject other Web Beans to the parameters of "
-"the constructor or method."
+msgid "As you've guessed, the <literal>@Initializer</literal> annotation has something to do with dependency injection! <literal>@Initializer</literal> may be applied to a constructor or method of a Web Bean, and tells the Web Bean manager to call that constructor or method when instantiating the Web Bean. The Web Bean manager will inject other Web Beans to the parameters of the constructor or method."
msgstr ""
#. Tag: para
#: intro.xml:68
#, no-c-format
-msgid ""
-"At system initialization time, the Web Bean manager must validate that "
-"exactly one Web Bean exists which satisfies each injection point. In our "
-"example, if no implementation of <literal>Translator</literal> "
-"available—if the <literal>SentenceTranslator</literal> EJB was not "
-"deployed—the Web Bean manager would throw an "
-"<literal>UnsatisfiedDependencyException</literal>. If more than one "
-"implementation of <literal>Translator</literal> was available, the Web Bean "
-"manager would throw an <literal>AmbiguousDependencyException</literal>."
+msgid "At system initialization time, the Web Bean manager must validate that exactly one Web Bean exists which satisfies each injection point. In our example, if no implementation of <literal>Translator</literal> available—if the <literal>SentenceTranslator</literal> EJB was not deployed—the Web Bean manager would throw an <literal>UnsatisfiedDependencyException</literal>. If more than one implementation of <literal>Translator</literal> was available, the Web Bean manager would throw an <literal>AmbiguousDependencyException</literal>."
msgstr ""
#. Tag: title
@@ -224,36 +212,19 @@
#. Tag: para
#: intro.xml:84
#, no-c-format
-msgid ""
-"A Web Bean is an application class that contains business logic. A Web Bean "
-"may be called directly from Java code, or it may be invoked via Unified EL. "
-"A Web Bean may access transactional resources. Dependencies between Web "
-"Beans are managed automatically by the Web Bean manager. Most Web Beans are "
-"<emphasis>stateful</emphasis> and <emphasis>contextual</emphasis>. The "
-"lifecycle of a Web Bean is always managed by the Web Bean manager."
+msgid "A Web Bean is an application class that contains business logic. A Web Bean may be called directly from Java code, or it may be invoked via Unified EL. A Web Bean may access transactional resources. Dependencies between Web Beans are managed automatically by the Web Bean manager. Most Web Beans are <emphasis>stateful</emphasis> and <emphasis>contextual</emphasis>. The lifecycle of a Web Bean is always managed by the Web Bean manager."
msgstr ""
#. Tag: para
#: intro.xml:91
#, no-c-format
-msgid ""
-"Let's back up a second. What does it really mean to be \"contextual\"? Since "
-"Web Beans may be stateful, it matters <emphasis>which</emphasis> bean "
-"instance I have. Unlike a stateless component model (for example, stateless "
-"session beans) or a singleton component model (such as servlets, or "
-"singleton beans), different clients of a Web Bean see the Web Bean in "
-"different states. The client-visible state depends upon which instance of "
-"the Web Bean the client has a reference to."
+msgid "Let's back up a second. What does it really mean to be \"contextual\"? Since Web Beans may be stateful, it matters <emphasis>which</emphasis> bean instance I have. Unlike a stateless component model (for example, stateless session beans) or a singleton component model (such as servlets, or singleton beans), different clients of a Web Bean see the Web Bean in different states. The client-visible state depends upon which instance of the Web Bean the client has a reference to."
msgstr ""
#. Tag: para
#: intro.xml:98
#, no-c-format
-msgid ""
-"However, like a stateless or singleton model, but <emphasis>unlike</"
-"emphasis> stateful session beans, the client does not control the lifecycle "
-"of the instance by explicitly creating and destroying it. Instead, the "
-"<emphasis>scope</emphasis> of the Web Bean determines:"
+msgid "However, like a stateless or singleton model, but <emphasis>unlike</emphasis> stateful session beans, the client does not control the lifecycle of the instance by explicitly creating and destroying it. Instead, the <emphasis>scope</emphasis> of the Web Bean determines:"
msgstr ""
#. Tag: para
@@ -265,41 +236,25 @@
#. Tag: para
#: intro.xml:108
#, no-c-format
-msgid ""
-"which clients share a reference to a particular instance of the Web Bean."
+msgid "which clients share a reference to a particular instance of the Web Bean."
msgstr ""
#. Tag: para
#: intro.xml:113
#, no-c-format
-msgid ""
-"For a given thread in a Web Beans application, there may be an "
-"<emphasis>active context</emphasis> associated with the scope of the Web "
-"Bean. This context may be unique to the thread (for example, if the Web Bean "
-"is request scoped), or it may be shared with certain other threads (for "
-"example, if the Web Bean is session scoped) or even all other threads (if it "
-"is application scoped)."
+msgid "For a given thread in a Web Beans application, there may be an <emphasis>active context</emphasis> associated with the scope of the Web Bean. This context may be unique to the thread (for example, if the Web Bean is request scoped), or it may be shared with certain other threads (for example, if the Web Bean is session scoped) or even all other threads (if it is application scoped)."
msgstr ""
#. Tag: para
#: intro.xml:119
#, no-c-format
-msgid ""
-"Clients (for example, other Web Beans) executing in the same context will "
-"see the same instance of the Web Bean. But clients in a different context "
-"will see a different instance."
+msgid "Clients (for example, other Web Beans) executing in the same context will see the same instance of the Web Bean. But clients in a different context will see a different instance."
msgstr ""
#. Tag: para
#: intro.xml:123
#, no-c-format
-msgid ""
-"One great advantage of the contextual model is that it allows stateful Web "
-"Beans to be treated like services! The client need not concern itself with "
-"managing the lifecycle of the Web Bean it is using, <emphasis>nor does it "
-"even need to know what that lifecyle is.</emphasis> Web Beans interact by "
-"passing messages, and the Web Bean implementations define the lifecycle of "
-"their own state. The Web Beans are loosely coupled because:"
+msgid "One great advantage of the contextual model is that it allows stateful Web Beans to be treated like services! The client need not concern itself with managing the lifecycle of the Web Bean it is using, <emphasis>nor does it even need to know what that lifecyle is.</emphasis> Web Beans interact by passing messages, and the Web Bean implementations define the lifecycle of their own state. The Web Beans are loosely coupled because:"
msgstr ""
#. Tag: para
@@ -317,21 +272,13 @@
#. Tag: para
#: intro.xml:139
#, no-c-format
-msgid ""
-"We can replace one Web Bean with a different Web Bean that implements the "
-"same API and has a different lifecycle (a different scope) without affecting "
-"the other Web Bean implementation. In fact, Web Beans defines a "
-"sophisticated facility for overriding Web Bean implementations at deployment "
-"time, as we will see in <xref linkend=\"deploymenttypes\"/>."
+msgid "We can replace one Web Bean with a different Web Bean that implements the same API and has a different lifecycle (a different scope) without affecting the other Web Bean implementation. In fact, Web Beans defines a sophisticated facility for overriding Web Bean implementations at deployment time, as we will see in <xref linkend=\"deploymenttypes\"/>."
msgstr ""
#. Tag: para
#: intro.xml:145
#, no-c-format
-msgid ""
-"Note that not all clients of a Web Bean are Web Beans. Other objects such as "
-"Servlets or Message-Driven Beans—which are by nature not injectable, "
-"contextual objects—may also obtain references to Web Beans by injection."
+msgid "Note that not all clients of a Web Bean are Web Beans. Other objects such as Servlets or Message-Driven Beans—which are by nature not injectable, contextual objects—may also obtain references to Web Beans by injection."
msgstr ""
#. Tag: para
@@ -403,10 +350,7 @@
#. Tag: para
#: intro.xml:172
#, no-c-format
-msgid ""
-"Web Beans usually acquire references to other Web Beans via dependency "
-"injection. Any injected attribute specifies a \"contract\" that must be "
-"satisfied by the Web Bean to be injected. The contract is:"
+msgid "Web Beans usually acquire references to other Web Beans via dependency injection. Any injected attribute specifies a \"contract\" that must be satisfied by the Web Bean to be injected. The contract is:"
msgstr ""
#. Tag: para
@@ -424,54 +368,37 @@
#. Tag: para
#: intro.xml:181
#, no-c-format
-msgid ""
-"An API is a user-defined class or interface. (If the Web Bean is an EJB "
-"session bean, the API type is the <literal>@Local</literal> interface or "
-"bean-class local view). A binding type represents some client-visible "
-"semantic that is satisfied by some implementations of the API and not by "
-"others."
+msgid "An API is a user-defined class or interface. (If the Web Bean is an EJB session bean, the API type is the <literal>@Local</literal> interface or bean-class local view). A binding type represents some client-visible semantic that is satisfied by some implementations of the API and not by others."
msgstr ""
#. Tag: para
#: intro.xml:186
#, no-c-format
-msgid ""
-"Binding types are represented by user-defined annotations that are "
-"themselves annotated <literal>@BindingType</literal>. For example, the "
-"following injection point has API type <literal>PaymentProcessor</literal> "
-"and binding type <literal>@CreditCard</literal>:"
+msgid "Binding types are represented by user-defined annotations that are themselves annotated <literal>@BindingType</literal>. For example, the following injection point has API type <literal>PaymentProcessor</literal> and binding type <literal>@CreditCard</literal>:"
msgstr ""
#. Tag: programlisting
#: intro.xml:191
#, no-c-format
msgid "<![CDATA[@CreditCard PaymentProcessor paymentProcessor]]>"
-msgstr ""
+msgstr "<![CDATA[@CreditCard PaymentProcessor paymentProcessor]]>"
#. Tag: para
#: intro.xml:193
#, no-c-format
-msgid ""
-"If no binding type is explicitly specified at an injection point, the "
-"default binding type <literal>@Current</literal> is assumed."
+msgid "If no binding type is explicitly specified at an injection point, the default binding type <literal>@Current</literal> is assumed."
msgstr ""
#. Tag: para
#: intro.xml:196
#, no-c-format
-msgid ""
-"For each injection point, the Web Bean manager searches for a Web Bean which "
-"satisfies the contract (implements the API, and has all the binding types), "
-"and injects that Web Bean."
+msgid "For each injection point, the Web Bean manager searches for a Web Bean which satisfies the contract (implements the API, and has all the binding types), and injects that Web Bean."
msgstr ""
#. Tag: para
#: intro.xml:200
#, no-c-format
-msgid ""
-"The following Web Bean has the binding type <literal>@CreditCard</literal> "
-"and implements the API type <literal>PaymentProcessor</literal>. It could "
-"therefore be injected to the example injection point:"
+msgid "The following Web Bean has the binding type <literal>@CreditCard</literal> and implements the API type <literal>PaymentProcessor</literal>. It could therefore be injected to the example injection point:"
msgstr ""
#. Tag: programlisting
@@ -482,24 +409,20 @@
"public class CreditCardPaymentProcessor \n"
" implements PaymentProcessor { ... }]]>"
msgstr ""
+"<![CDATA[@CreditCard\n"
+"public class CreditCardPaymentProcessor \n"
+" implements PaymentProcessor { ... }]]>"
#. Tag: para
#: intro.xml:206
#, no-c-format
-msgid ""
-"If a Web Bean does not explicitly specify a set of binding types, it has "
-"exactly one binding type: the default binding type <literal>@Current</"
-"literal>."
+msgid "If a Web Bean does not explicitly specify a set of binding types, it has exactly one binding type: the default binding type <literal>@Current</literal>."
msgstr ""
#. Tag: para
#: intro.xml:209
#, no-c-format
-msgid ""
-"Web Beans defines a sophisticated but intuitive <emphasis>resolution "
-"algorithm</emphasis> that helps the container decide what to do if there is "
-"more than one Web Bean that satisfies a particular contract. We'll get into "
-"the details in <xref linkend=\"injection\"/>."
+msgid "Web Beans defines a sophisticated but intuitive <emphasis>resolution algorithm</emphasis> that helps the container decide what to do if there is more than one Web Bean that satisfies a particular contract. We'll get into the details in <xref linkend=\"injection\"/>."
msgstr ""
#. Tag: title
@@ -511,32 +434,19 @@
#. Tag: para
#: intro.xml:219
#, no-c-format
-msgid ""
-"<emphasis>Deployment types</emphasis> let us classify our Web Beans by "
-"deployment scenario. A deployment type is an annotation that represents a "
-"particular deployment scenario, for example <literal>@Mock</literal>, "
-"<literal>@Staging</literal> or <literal>@AustralianTaxLaw</literal>. We "
-"apply the annotation to Web Beans which should be deployed in that scenario. "
-"A deployment type allows a whole set of Web Beans to be conditionally "
-"deployed, with a just single line of configuration."
+msgid "<emphasis>Deployment types</emphasis> let us classify our Web Beans by deployment scenario. A deployment type is an annotation that represents a particular deployment scenario, for example <literal>@Mock</literal>, <literal>@Staging</literal> or <literal>@AustralianTaxLaw</literal>. We apply the annotation to Web Beans which should be deployed in that scenario. A deployment type allows a whole set of Web Beans to be conditionally deployed, with a just single line of configuration."
msgstr ""
#. Tag: para
#: intro.xml:226
#, no-c-format
-msgid ""
-"Many Web Beans just use the default deployment type <literal>@Production</"
-"literal>, in which case no deployment type need be explicitly specified. All "
-"three Web Bean in our example have the deployment type <literal>@Production</"
-"literal>."
+msgid "Many Web Beans just use the default deployment type <literal>@Production</literal>, in which case no deployment type need be explicitly specified. All three Web Bean in our example have the deployment type <literal>@Production</literal>."
msgstr ""
#. Tag: para
#: intro.xml:230
#, no-c-format
-msgid ""
-"In a testing environment, we might want to replace the "
-"<literal>SentenceTranslator</literal> Web Bean with a \"mock object\":"
+msgid "In a testing environment, we might want to replace the <literal>SentenceTranslator</literal> Web Bean with a \"mock object\":"
msgstr ""
#. Tag: programlisting
@@ -550,22 +460,23 @@
" }\n"
"}]]>"
msgstr ""
+"<![CDATA[@Mock\n"
+"public class MockSentenceTranslator implements Translator {\n"
+" public String translate(String sentence) {\n"
+" return \"Lorem ipsum dolor sit amet\";\n"
+" }\n"
+"}]]>"
#. Tag: para
#: intro.xml:236
#, no-c-format
-msgid ""
-"We would enable the deployment type <literal>@Mock</literal> in our testing "
-"environment, to indicate that <literal>MockSentenceTranslator</literal> and "
-"any other Web Bean annotated <literal>@Mock</literal> should be used."
+msgid "We would enable the deployment type <literal>@Mock</literal> in our testing environment, to indicate that <literal>MockSentenceTranslator</literal> and any other Web Bean annotated <literal>@Mock</literal> should be used."
msgstr ""
#. Tag: para
#: intro.xml:240
#, no-c-format
-msgid ""
-"We'll talk more about this unique and powerful feature in <xref linkend="
-"\"deploymenttypes\"/>."
+msgid "We'll talk more about this unique and powerful feature in <xref linkend=\"deploymenttypes\"/>."
msgstr ""
#. Tag: title
@@ -577,20 +488,13 @@
#. Tag: para
#: intro.xml:248
#, no-c-format
-msgid ""
-"The <emphasis>scope</emphasis> defines the lifecycle and visibility of "
-"instances of the Web Bean. The Web Beans context model is extensible, "
-"accommodating arbitrary scopes. However, certain important scopes are built-"
-"in to the specification, and provided by the Web Bean manager. A scope is "
-"represented by an annotation type."
+msgid "The <emphasis>scope</emphasis> defines the lifecycle and visibility of instances of the Web Bean. The Web Beans context model is extensible, accommodating arbitrary scopes. However, certain important scopes are built-in to the specification, and provided by the Web Bean manager. A scope is represented by an annotation type."
msgstr ""
#. Tag: para
#: intro.xml:254
#, no-c-format
-msgid ""
-"For example, any web application may have <emphasis>session scoped</"
-"emphasis> Web Beans:"
+msgid "For example, any web application may have <emphasis>session scoped</emphasis> Web Beans:"
msgstr ""
#. Tag: programlisting
@@ -600,23 +504,19 @@
"<![CDATA[@SessionScoped\n"
"public class ShoppingCart { ... }]]>"
msgstr ""
+"<![CDATA[@SessionScoped\n"
+"public class ShoppingCart { ... }]]>"
#. Tag: para
#: intro.xml:259
#, no-c-format
-msgid ""
-"An instance of a session scoped Web Bean is bound to a user session and is "
-"shared by all requests that execute in the context of that session."
+msgid "An instance of a session scoped Web Bean is bound to a user session and is shared by all requests that execute in the context of that session."
msgstr ""
#. Tag: para
#: intro.xml:262
#, no-c-format
-msgid ""
-"By default, Web Beans belong to a special scope called the "
-"<emphasis>dependent pseudo-scope</emphasis>. Web Beans with this scope are "
-"pure dependent objects of the object into which they are injected, and their "
-"lifecycle is bound to the lifecycle of that object."
+msgid "By default, Web Beans belong to a special scope called the <emphasis>dependent pseudo-scope</emphasis>. Web Beans with this scope are pure dependent objects of the object into which they are injected, and their lifecycle is bound to the lifecycle of that object."
msgstr ""
#. Tag: para
@@ -634,9 +534,7 @@
#. Tag: para
#: intro.xml:274
#, no-c-format
-msgid ""
-"A Web Bean may have a <emphasis>name</emphasis>, allowing it to be used in "
-"Unified EL expressions. It's easy to specify the name of a Web Bean:"
+msgid "A Web Bean may have a <emphasis>name</emphasis>, allowing it to be used in Unified EL expressions. It's easy to specify the name of a Web Bean:"
msgstr ""
#. Tag: programlisting
@@ -646,6 +544,8 @@
"<![CDATA[@SessionScoped @Named(\"cart\")\n"
"public class ShoppingCart { ... }]]>"
msgstr ""
+"<![CDATA[@SessionScoped @Named(\"cart\")\n"
+"public class ShoppingCart { ... }]]>"
#. Tag: para
#: intro.xml:280
@@ -661,12 +561,14 @@
" ....\n"
"</h:dataTable>]]>"
msgstr ""
+"<![CDATA[<h:dataTable value=\"#{cart.lineItems}\" var=\"item\">\n"
+" ....\n"
+"</h:dataTable>]]>"
#. Tag: para
#: intro.xml:284
#, no-c-format
-msgid ""
-"It's even easier to just let the name be defaulted by the Web Bean manager:"
+msgid "It's even easier to just let the name be defaulted by the Web Bean manager:"
msgstr ""
#. Tag: programlisting
@@ -676,13 +578,13 @@
"<![CDATA[@SessionScoped @Named\n"
"public class ShoppingCart { ... }]]>"
msgstr ""
+"<![CDATA[@SessionScoped @Named\n"
+"public class ShoppingCart { ... }]]>"
#. Tag: para
#: intro.xml:289
#, no-c-format
-msgid ""
-"In this case, the name defaults to <literal>shoppingCart</literal>—the "
-"unqualified class name, with the first character changed to lowercase."
+msgid "In this case, the name defaults to <literal>shoppingCart</literal>—the unqualified class name, with the first character changed to lowercase."
msgstr ""
#. Tag: title
@@ -694,19 +596,13 @@
#. Tag: para
#: intro.xml:297
#, no-c-format
-msgid ""
-"Web Beans supports the interceptor functionality defined by EJB 3, not only "
-"for EJB beans, but also for plain Java classes. In addition, Web Beans "
-"provides a new approach to binding interceptors to EJB beans and other Web "
-"Beans."
+msgid "Web Beans supports the interceptor functionality defined by EJB 3, not only for EJB beans, but also for plain Java classes. In addition, Web Beans provides a new approach to binding interceptors to EJB beans and other Web Beans."
msgstr ""
#. Tag: para
#: intro.xml:302
#, no-c-format
-msgid ""
-"It remains possible to directly specify the interceptor class via use of the "
-"<literal>@Interceptors</literal> annotation:"
+msgid "It remains possible to directly specify the interceptor class via use of the <literal>@Interceptors</literal> annotation:"
msgstr ""
#. Tag: programlisting
@@ -717,13 +613,14 @@
"@Interceptors(TransactionInterceptor.class)\n"
"public class ShoppingCart { ... }]]>"
msgstr ""
+"<![CDATA[@SessionScoped \n"
+"@Interceptors(TransactionInterceptor.class)\n"
+"public class ShoppingCart { ... }]]>"
#. Tag: para
#: intro.xml:307
#, no-c-format
-msgid ""
-"However, it is more elegant, and better practice, to indirect the "
-"interceptor binding through an <emphasis>interceptor binding type</emphasis>:"
+msgid "However, it is more elegant, and better practice, to indirect the interceptor binding through an <emphasis>interceptor binding type</emphasis>:"
msgstr ""
#. Tag: programlisting
@@ -733,13 +630,13 @@
"<![CDATA[@SessionScoped @Transactional\n"
"public class ShoppingCart { ... }]]>"
msgstr ""
+"<![CDATA[@SessionScoped @Transactional\n"
+"public class ShoppingCart { ... }]]>"
#. Tag: para
#: intro.xml:313
#, no-c-format
-msgid ""
-"We'll discuss Web Beans interceptors and decorators in <xref linkend="
-"\"interceptors\"/> and <xref linkend=\"decorators\"/>."
+msgid "We'll discuss Web Beans interceptors and decorators in <xref linkend=\"interceptors\"/> and <xref linkend=\"decorators\"/>."
msgstr ""
#. Tag: title
@@ -751,9 +648,7 @@
#. Tag: para
#: intro.xml:323
#, no-c-format
-msgid ""
-"We've already seen that JavaBeans, EJBs and some other Java classes can be "
-"Web Beans. But exactly what kinds of objects are Web Beans?"
+msgid "We've already seen that JavaBeans, EJBs and some other Java classes can be Web Beans. But exactly what kinds of objects are Web Beans?"
msgstr ""
#. Tag: title
@@ -765,17 +660,13 @@
#. Tag: para
#: intro.xml:329
#, no-c-format
-msgid ""
-"The Web Beans specification says that a concrete Java class is a "
-"<emphasis>simple</emphasis> Web Bean if:"
+msgid "The Web Beans specification says that a concrete Java class is a <emphasis>simple</emphasis> Web Bean if:"
msgstr ""
#. Tag: para
#: intro.xml:334
#, no-c-format
-msgid ""
-"it is not an EE container-managed component, like an EJB, a Servlet or a JPA "
-"entity,"
+msgid "it is not an EE container-managed component, like an EJB, a Servlet or a JPA entity,"
msgstr ""
#. Tag: para
@@ -793,9 +684,7 @@
#. Tag: para
#: intro.xml:344
#, no-c-format
-msgid ""
-"it has a constructor with no parameters, or a constructor annotated "
-"<literal>@Initializer</literal>."
+msgid "it has a constructor with no parameters, or a constructor annotated <literal>@Initializer</literal>."
msgstr ""
#. Tag: para
@@ -807,10 +696,7 @@
#. Tag: para
#: intro.xml:351
#, no-c-format
-msgid ""
-"Every interface implemented directly or indirectly by a simple Web Bean is "
-"an API type of the simple Web Bean. The class and its superclasses are also "
-"API types."
+msgid "Every interface implemented directly or indirectly by a simple Web Bean is an API type of the simple Web Bean. The class and its superclasses are also API types."
msgstr ""
#. Tag: title
@@ -822,34 +708,19 @@
#. Tag: para
#: intro.xml:360
#, no-c-format
-msgid ""
-"The specification says that all EJB 3-style session and singleton beans are "
-"<emphasis>enterprise</emphasis> Web Beans. Message driven beans are not Web "
-"Beans—since they are not intended to be injected into other "
-"objects—but they can take advantage of most of the functionality of Web "
-"Beans, including dependency injection and interceptors."
+msgid "The specification says that all EJB 3-style session and singleton beans are <emphasis>enterprise</emphasis> Web Beans. Message driven beans are not Web Beans—since they are not intended to be injected into other objects—but they can take advantage of most of the functionality of Web Beans, including dependency injection and interceptors."
msgstr ""
#. Tag: para
#: intro.xml:366
#, no-c-format
-msgid ""
-"Every local interface of an enterprise Web Bean that does not have a "
-"wildcard type parameter or type variable, and every one of its "
-"superinterfaces, is an API type of the enterprise Web Bean. If the EJB bean "
-"has a bean class local view, the bean class, and every one of its "
-"superclasses, is also an API type."
+msgid "Every local interface of an enterprise Web Bean that does not have a wildcard type parameter or type variable, and every one of its superinterfaces, is an API type of the enterprise Web Bean. If the EJB bean has a bean class local view, the bean class, and every one of its superclasses, is also an API type."
msgstr ""
#. Tag: para
#: intro.xml:372
#, no-c-format
-msgid ""
-"Stateful session beans should declare a remove method with no parameters or "
-"a remove method annotated <literal>@Destructor</literal>. The Web Bean "
-"manager calls this method to destroy the stateful session bean instance at "
-"the end of its lifecycle. This method is called the <emphasis>destructor</"
-"emphasis> method of the enterprise Web Bean."
+msgid "Stateful session beans should declare a remove method with no parameters or a remove method annotated <literal>@Destructor</literal>. The Web Bean manager calls this method to destroy the stateful session bean instance at the end of its lifecycle. This method is called the <emphasis>destructor</emphasis> method of the enterprise Web Bean."
msgstr ""
#. Tag: programlisting
@@ -866,14 +737,20 @@
"\n"
"}]]>"
msgstr ""
+"<![CDATA[@Stateful @SessionScoped\n"
+"public class ShoppingCart {\n"
+"\n"
+" ...\n"
+" \n"
+" @Remove\n"
+" public void destroy() {}\n"
+"\n"
+"}]]>"
#. Tag: para
#: intro.xml:380
#, no-c-format
-msgid ""
-"So when should we use an enterprise Web Bean instead of a simple Web Bean? "
-"Well, whenever we need the advanced enterprise services offered by EJB, such "
-"as:"
+msgid "So when should we use an enterprise Web Bean instead of a simple Web Bean? Well, whenever we need the advanced enterprise services offered by EJB, such as:"
msgstr ""
#. Tag: para
@@ -891,9 +768,7 @@
#. Tag: para
#: intro.xml:393
#, no-c-format
-msgid ""
-"instance-level passivation for stateful session beans and instance-pooling "
-"for stateless session beans,"
+msgid "instance-level passivation for stateful session beans and instance-pooling for stateless session beans,"
msgstr ""
#. Tag: para
@@ -911,48 +786,31 @@
#. Tag: para
#: intro.xml:404
#, no-c-format
-msgid ""
-"we should use an enterprise Web Bean. When we don't need any of these "
-"things, a simple Web Bean will serve just fine."
+msgid "we should use an enterprise Web Bean. When we don't need any of these things, a simple Web Bean will serve just fine."
msgstr ""
#. Tag: para
#: intro.xml:407
#, no-c-format
-msgid ""
-"Many Web Beans (including any session or application scoped Web Bean) are "
-"available for concurrent access. Therefore, the concurrency management "
-"provided by EJB 3.1 is especially useful. Most session and application "
-"scoped Web Beans should be EJBs."
+msgid "Many Web Beans (including any session or application scoped Web Bean) are available for concurrent access. Therefore, the concurrency management provided by EJB 3.1 is especially useful. Most session and application scoped Web Beans should be EJBs."
msgstr ""
#. Tag: para
#: intro.xml:412
#, no-c-format
-msgid ""
-"Web Beans which hold references to heavy-weight resources, or hold a lot of "
-"internal state benefit from the advanced container-managed lifecycle defined "
-"by the EJB <literal>@Stateless</literal>/<literal>@Stateful</literal>/"
-"<literal>@Singleton</literal> model, with its support for passivation and "
-"instance pooling."
+msgid "Web Beans which hold references to heavy-weight resources, or hold a lot of internal state benefit from the advanced container-managed lifecycle defined by the EJB <literal>@Stateless</literal>/<literal>@Stateful</literal>/<literal>@Singleton</literal> model, with its support for passivation and instance pooling."
msgstr ""
#. Tag: para
#: intro.xml:417
#, no-c-format
-msgid ""
-"Finally, it's usually obvious when method-level transaction management, "
-"method-level security, timers, remote methods or asynchronous methods are "
-"needed."
+msgid "Finally, it's usually obvious when method-level transaction management, method-level security, timers, remote methods or asynchronous methods are needed."
msgstr ""
#. Tag: para
#: intro.xml:420
#, no-c-format
-msgid ""
-"It's usually easy to start with simple Web Bean, and then turn it into an "
-"EJB, just by adding an annotation: <literal>@Stateless</literal>, "
-"<literal>@Stateful</literal> or <literal>@Singleton</literal>."
+msgid "It's usually easy to start with simple Web Bean, and then turn it into an EJB, just by adding an annotation: <literal>@Stateless</literal>, <literal>@Stateful</literal> or <literal>@Singleton</literal>."
msgstr ""
#. Tag: title
@@ -964,12 +822,7 @@
#. Tag: para
#: intro.xml:429
#, no-c-format
-msgid ""
-"A <emphasis>producer method</emphasis> is a method that is called by the Web "
-"Bean manager to obtain an instance of the Web Bean when no instance exists "
-"in the current context. A producer method lets the application take full "
-"control of the instantiation process, instead of leaving instantiation to "
-"the Web Bean manager. For example:"
+msgid "A <emphasis>producer method</emphasis> is a method that is called by the Web Bean manager to obtain an instance of the Web Bean when no instance exists in the current context. A producer method lets the application take full control of the instantiation process, instead of leaving instantiation to the Web Bean manager. For example:"
msgstr ""
#. Tag: programlisting
@@ -987,27 +840,33 @@
"\n"
"}]]>"
msgstr ""
+"<![CDATA[@ApplicationScoped\n"
+"public class Generator {\n"
+"\n"
+" private Random random = new Random( System.currentTimeMillis() );\n"
+" \n"
+" @Produces @Random int next() {\n"
+" return random.nextInt(100);\n"
+" }\n"
+"\n"
+"}]]>"
#. Tag: para
#: intro.xml:437
#, no-c-format
-msgid ""
-"The result of a producer method is injected just like any other Web Bean."
+msgid "The result of a producer method is injected just like any other Web Bean."
msgstr ""
#. Tag: programlisting
#: intro.xml:439
#, no-c-format
msgid "<![CDATA[@Random int randomNumber]]>"
-msgstr ""
+msgstr "<![CDATA[@Random int randomNumber]]>"
#. Tag: para
#: intro.xml:441
#, no-c-format
-msgid ""
-"The method return type and all interfaces it extends/implements directly or "
-"indirectly are API types of the producer method. If the return type is a "
-"class, all superclasses are also API types."
+msgid "The method return type and all interfaces it extends/implements directly or indirectly are API types of the producer method. If the return type is a class, all superclasses are also API types."
msgstr ""
#. Tag: para
@@ -1024,13 +883,14 @@
" return createConnection( user.getId(), user.getPassword() );\n"
"}]]>"
msgstr ""
+"<![CDATA[@Produces @RequestScoped Connection connect(User user) {\n"
+" return createConnection( user.getId(), user.getPassword() );\n"
+"}]]>"
#. Tag: para
#: intro.xml:449
#, no-c-format
-msgid ""
-"These producer methods may define matching <emphasis>disposal methods</"
-"emphasis>:"
+msgid "These producer methods may define matching <emphasis>disposal methods</emphasis>:"
msgstr ""
#. Tag: programlisting
@@ -1041,21 +901,20 @@
" connection.close();\n"
"}]]>"
msgstr ""
+"<![CDATA[void close(@Disposes Connection connection) {\n"
+" connection.close();\n"
+"}]]>"
#. Tag: para
#: intro.xml:453
#, no-c-format
-msgid ""
-"This disposal method is called automatically by the Web Bean manager at the "
-"end of the request."
+msgid "This disposal method is called automatically by the Web Bean manager at the end of the request."
msgstr ""
#. Tag: para
#: intro.xml:456
#, no-c-format
-msgid ""
-"We'll talk much more about producer methods in <xref linkend="
-"\"producermethods\"/>."
+msgid "We'll talk much more about producer methods in <xref linkend=\"producermethods\"/>."
msgstr ""
#. Tag: title
@@ -1067,9 +926,6 @@
#. Tag: para
#: intro.xml:463
#, no-c-format
-msgid ""
-"Finally, a JMS queue or topic can be a Web Bean. Web Beans relieves the "
-"developer from the tedium of managing the lifecycles of all the various JMS "
-"objects required to send messages to queues and topics. We'll discuss JMS "
-"endpoints in <xref linkend=\"jms\"/>."
+msgid "Finally, a JMS queue or topic can be a Web Bean. Web Beans relieves the developer from the tedium of managing the lifecycles of all the various JMS objects required to send messages to queues and topics. We'll discuss JMS endpoints in <xref linkend=\"jms\"/>."
msgstr ""
+
Modified: doc/trunk/reference/it-IT/modules/next.po
===================================================================
--- doc/trunk/reference/it-IT/modules/next.po 2008-12-19 22:42:07 UTC (rev 611)
+++ doc/trunk/reference/it-IT/modules/next.po 2008-12-19 23:40:34 UTC (rev 612)
@@ -3,11 +3,11 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: master.xml \n"
+"Project-Id-Version: master.xml\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-12-19 20:26+0000\n"
-"PO-Revision-Date: 2008-12-19 20:26+0000\n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2008-12-19 23:55+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,33 +17,23 @@
#: next.xml:4
#, no-c-format
msgid "Next steps"
-msgstr ""
+msgstr "Prossimi passi"
#. Tag: para
#: next.xml:6
#, no-c-format
-msgid ""
-"Because Web Beans is so new, there's not yet a lot of information available "
-"online."
-msgstr ""
+msgid "Because Web Beans is so new, there's not yet a lot of information available online."
+msgstr "Poiché Web Beans è così nuova, non è ancora disponibile molta informazione online."
#. Tag: para
#: next.xml:9
#, no-c-format
-msgid ""
-"Of course, the Web Beans specification is the best source of more "
-"information about Web Beans. The spec is about 100 pages long, only twice "
-"the length of this article, and almost as readable. But, of course, it "
-"covers many details that we've skipped over. The spec is available from "
-"<literal>http://jcp.org/en/jsr/detail?id=299</literal>."
-msgstr ""
+msgid "Of course, the Web Beans specification is the best source of more information about Web Beans. The spec is about 100 pages long, only twice the length of this article, and almost as readable. But, of course, it covers many details that we've skipped over. The spec is available from <literal>http://jcp.org/en/jsr/detail?id=299</literal>."
+msgstr "Certamente la specifica Web Beans è la migliore fonte per avere informazioni su Web Beans. La specifica è lunga circa 100 pagine, solo il doppio di quest'articolo e per lo più leggibile altrettanto facilmente. Ma sicuramente copre molti dettagli che sono stati saltati qua. La specifica è disponibile da <literal>http://jcp.org/en/jsr/detail?id=299</literal>."
#. Tag: para
#: next.xml:15
#, no-c-format
-msgid ""
-"The Web Beans Reference implementation is being developed at <literal>http://"
-"seamframework.org/WebBeans</literal>. The RI development team and the Web "
-"Beans spec lead blog at <literal>http://in.relation.to</literal>. This "
-"article is substantially based upon a series of blog entries published there."
-msgstr ""
+msgid "The Web Beans Reference implementation is being developed at <literal>http://seamframework.org/WebBeans</literal>. The RI development team and the Web Beans spec lead blog at <literal>http://in.relation.to</literal>. This article is substantially based upon a series of blog entries published there."
+msgstr "L'implementazione della documentazione Web Beans è stata sviluppata in <literal>http://seamframework.org/WebBeans</literal>. Il team di sviluppo di RI ed il blog per la specifica Web Beans si trova in <literal>http://in.relation.to</literal>. Quest'articolo è sostanzialmente basato su una serie di articoli pubblicati sul blog."
+
16 years, 1 month
[webbeans-commits] Webbeans SVN: r611 - doc/trunk/reference.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-12-19 17:42:07 -0500 (Fri, 19 Dec 2008)
New Revision: 611
Modified:
doc/trunk/reference/pom.xml
Log:
enable italian translation
Modified: doc/trunk/reference/pom.xml
===================================================================
--- doc/trunk/reference/pom.xml 2008-12-19 22:36:21 UTC (rev 610)
+++ doc/trunk/reference/pom.xml 2008-12-19 22:42:07 UTC (rev 611)
@@ -67,6 +67,7 @@
<sourceDocumentName>master.xml</sourceDocumentName>
<masterTranslation>en</masterTranslation>
<translations>
+ <translation>it-IT</translation>
</translations>
<imageResource>
<directory>${pom.basedir}/en</directory>
16 years, 1 month
[webbeans-commits] Webbeans SVN: r609 - ri/trunk/jboss-as.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-12-19 17:11:26 -0500 (Fri, 19 Dec 2008)
New Revision: 609
Modified:
ri/trunk/jboss-as/build.xml
Log:
improvements
Modified: ri/trunk/jboss-as/build.xml
===================================================================
--- ri/trunk/jboss-as/build.xml 2008-12-19 21:30:57 UTC (rev 608)
+++ ri/trunk/jboss-as/build.xml 2008-12-19 22:11:26 UTC (rev 609)
@@ -36,7 +36,10 @@
<copy todir="target/webbeans.deployer">
<fileset refid="jboss5.deployer.fileset"/>
- <flattenmapper />
+ <chainedmapper>
+ <mapper classpathref="maven-ant-tasks.classpath" classname="org.apache.maven.artifact.ant.VersionMapper" from="${jboss5.deployer.versions}" to="flatten" />
+ <flattenmapper />
+ </chainedmapper>
</copy>
<mkdir dir="target/webbeans.deployer/META-INF" />
@@ -54,7 +57,6 @@
<include name="webbeans-*.jar" />
<include name="google*.jar" />
</fileset>
- <mapper classpathref="maven-ant-tasks.classpath" classname="org.apache.maven.artifact.ant.VersionMapper" from="${jboss5.deployer.versions}" to="flatten" />
</copy>
</target>
16 years, 1 month
[webbeans-commits] Webbeans SVN: r608 - ri/trunk.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-12-19 16:30:57 -0500 (Fri, 19 Dec 2008)
New Revision: 608
Added:
ri/trunk/build.xml
Log:
add dist script
Added: ri/trunk/build.xml
===================================================================
--- ri/trunk/build.xml (rev 0)
+++ ri/trunk/build.xml 2008-12-19 21:30:57 UTC (rev 608)
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+<project name="DistributionBuilder" default="dist" basedir="." xmlns:artifact="urn:maven-artifact-ant">
+
+ <path id="maven-ant-tasks.classpath" path="lib/maven-ant-tasks.jar" />
+ <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant" classpathref="maven-ant-tasks.classpath" />
+
+ <property name="maven.dir" location="${basedir}/lib/maven" />
+
+ <property name="dist.dir" value="dist" />
+ <property name="dist.doc.dir" value="${dist.dir}/doc" />
+ <property name="dist.src.dir" value="${dist.dir}/src" />
+ <property name="dist.src.doc.dir" value="${dist.src.dir}/reference" />
+
+ <property name="refdoc.dir" value="reference-guide" />
+
+ <target name="dist" description="Build the distribution">
+ <maven target="clean" basedir="${basedir}" />
+ <maven target="clean" basedir="${refdoc.dir}" />
+ <delete dir="${dist.dir}" failonerror="false"/>
+ <mkdir dir="${dist.dir}"/>
+
+ <mkdir dir="${dist.src.dir}" />
+
+ <copy todir="${dist.src.dir}">
+ <fileset dir="${basedir}">
+ <include name="webbeans-ri/**" />
+ <include name="webbeans-api/**" />
+ <include name="pom.xml" />
+ </fileset>
+ </copy>
+
+ <copy todir="${dist.src.doc.dir}">
+ <fileset dir="${refdoc.dir}"/>
+ </copy>
+
+ <copy todir="${dist.dir}">
+ <fileset dir="${basedir}">
+ <include name="examples/**"/>
+ <include name="jboss-as/**"/>
+ <include name="lib/**"/>
+ </fileset>
+ </copy>
+
+ <maven target="package" basedir="${refdoc.dir}" />
+ <mkdir dir="${dist.doc.dir}" />
+ <copy todir="${dist.doc.dir}">
+ <fileset dir="${refdoc.dir}/target/docbook/publish" />
+ </copy>
+ <maven target="clean" basedir="${refdoc.dir}" />
+
+ </target>
+
+ <macrodef name="maven">
+ <attribute name="target" />
+ <attribute name="basedir" />
+ <element name="args" implicit="true" optional="true" />
+ <sequential>
+ <java classname="org.codehaus.classworlds.Launcher" fork="true" dir="@{basedir}">
+ <classpath>
+ <fileset dir="${maven.dir}/boot">
+ <include name="*.jar" />
+ </fileset>
+ <fileset dir="${maven.dir}/bin">
+ <include name="*.*" />
+ </fileset>
+ </classpath>
+ <sysproperty key="classworlds.conf" value="${maven.dir}/bin/m2.conf" />
+ <sysproperty key="maven.home" value="${maven.dir}" />
+ <args />
+ <arg line="@{target}" />
+ </java>
+ </sequential>
+ </macrodef>
+
+</project>
\ No newline at end of file
16 years, 1 month
[webbeans-commits] Webbeans SVN: r607 - in ri/trunk: examples and 2 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-12-19 16:29:19 -0500 (Fri, 19 Dec 2008)
New Revision: 607
Added:
ri/trunk/lib/maven/
Removed:
ri/trunk/maven/
Modified:
ri/trunk/examples/build.xml
ri/trunk/jboss-as/build.xml
Log:
add dist script, move maven to lib dir
Modified: ri/trunk/examples/build.xml
===================================================================
--- ri/trunk/examples/build.xml 2008-12-19 21:26:24 UTC (rev 606)
+++ ri/trunk/examples/build.xml 2008-12-19 21:29:19 UTC (rev 607)
@@ -2,7 +2,7 @@
<dirname property="wbri.dir" file="${ant.file.example.build.script}/../" />
- <property name="maven.dir" location="${wbri.dir}/maven" />
+ <property name="maven.dir" location="${wbri.dir}/lib/maven" />
<property file="${wbri.dir}/jboss-as/build.properties"/>
Modified: ri/trunk/jboss-as/build.xml
===================================================================
--- ri/trunk/jboss-as/build.xml 2008-12-19 21:26:24 UTC (rev 606)
+++ ri/trunk/jboss-as/build.xml 2008-12-19 21:29:19 UTC (rev 607)
@@ -4,7 +4,7 @@
<path id="maven-ant-tasks.classpath" path="../lib/maven-ant-tasks.jar" />
<typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant" classpathref="maven-ant-tasks.classpath" />
- <property name="maven.dir" location="${basedir}/maven" />
+ <property name="maven.dir" location="${basedir}/lib/maven" />
<property file="build.properties" />
@@ -17,6 +17,7 @@
<fail unless="jboss.home" message="Please pass in -Djboss.home=..."/>
<delete dir="${jboss.home}/server/default/deployers/webbeans.deployer" failonerror="false" />
+ <delete dir="target/webbeans.deployer" failonerror="false"/>
<mkdir dir="target/webbeans.deployer"/>
@@ -102,4 +103,4 @@
</sequential>
</macrodef>
-</project>
\ No newline at end of file
+</project>
Copied: ri/trunk/lib/maven (from rev 602, ri/trunk/maven)
16 years, 1 month
[webbeans-commits] Webbeans SVN: r606 - doc/trunk/reference/en.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-12-19 16:26:24 -0500 (Fri, 19 Dec 2008)
New Revision: 606
Modified:
doc/trunk/reference/en/master.xml
Log:
minor
Modified: doc/trunk/reference/en/master.xml
===================================================================
--- doc/trunk/reference/en/master.xml 2008-12-19 20:43:18 UTC (rev 605)
+++ doc/trunk/reference/en/master.xml 2008-12-19 21:26:24 UTC (rev 606)
@@ -4,7 +4,7 @@
<book lang="en">
- <xi:include href="Book_Info" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<toc/>
16 years, 1 month
[webbeans-commits] Webbeans SVN: r605 - ri/trunk/examples.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-12-19 15:43:18 -0500 (Fri, 19 Dec 2008)
New Revision: 605
Modified:
ri/trunk/examples/build.xml
Log:
new location for build.properties
Modified: ri/trunk/examples/build.xml
===================================================================
--- ri/trunk/examples/build.xml 2008-12-19 20:42:42 UTC (rev 604)
+++ ri/trunk/examples/build.xml 2008-12-19 20:43:18 UTC (rev 605)
@@ -4,7 +4,7 @@
<property name="maven.dir" location="${wbri.dir}/maven" />
- <property file="${wbri.dir}/build.properties"/>
+ <property file="${wbri.dir}/jboss-as/build.properties"/>
<property name="final.url" value="http://localhost:8080/${example.name}" />
16 years, 1 month