[jboss-cvs] JBossAS SVN: r71445 - projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Mar 30 07:41:14 EDT 2008
Author: xhuang at jboss.com
Date: 2008-03-30 07:41:12 -0400 (Sun, 30 Mar 2008)
New Revision: 71445
Modified:
projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_EJBs_On_JBOSS.po
Log:
update
Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_EJBs_On_JBOSS.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_EJBs_On_JBOSS.po 2008-03-30 05:14:01 UTC (rev 71444)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/J2EE_EJBs_On_JBOSS.po 2008-03-30 11:41:12 UTC (rev 71445)
@@ -9,7 +9,7 @@
"Project-Id-Version: J2EE_EJBs_On_JBOSS\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2007-12-03 00:52+0000\n"
-"PO-Revision-Date: 2008-03-28 15:58+1000\n"
+"PO-Revision-Date: 2008-03-30 11:24+1000\n"
"Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
@@ -168,28 +168,29 @@
"(<literal>org.jboss.proxy.Interceptor</literal>). The "
"<literal>InvocationContext</literal> contains:"
msgstr ""
+"代理把通过它的任何接口进行的调用委托给 <literal>ClientContainer</literal> handler。这个 handler 所需的唯一方法是:<literal>public Object invoke(Object proxy, Method m, Object"
+"[] args) throws Throwable</literal>。<literal>EJBProxyFactory</literal> 创建一个 <literal>ClientContainer</literal> 并把它作为 <literal>ProxyHandler</literal> 分配。<literal>ClientContainer</literal> 的状态由 <literal>InvocationContext</literal> (<literal>org."
+"jboss.invocation.InvocationContext</literal>) 和一个拦截器链(<literal>org.jboss.proxy.Interceptor</literal>)组成。<literal>InvocationContext</literal> 包括:"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:59
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"the JMX <literal>ObjectName</literal> of the EJB container MBean the "
"<literal>Proxy</literal> is associated with"
-msgstr ""
-"<literal>cascade</literal>(可选 — 默认是<literal>none</literal>):级联的类"
-"型。"
+msgstr "这个<literal>代理</literal>所关联的 EJB 容器 MBean 的 JMX <literal>ObjectName</literal>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:64
#, no-c-format
msgid "the <literal>javax.ejb.EJBMetaData</literal> for the EJB"
-msgstr ""
+msgstr "EJB 的 <literal>javax.ejb.EJBMetaData</literal>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:69
#, no-c-format
msgid "the JNDI name of the EJB home interface"
-msgstr ""
+msgstr "EJB home 接口的 JNDI 名称"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:74
@@ -198,6 +199,8 @@
"the transport specific invoker (<literal>org.jboss.invocation.Invoker</"
"literal>)"
msgstr ""
+"和传输相关的调用者(<literal>org.jboss.invocation.Invoker</"
+"literal>)"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:79
@@ -210,7 +213,7 @@
"metadata. Interceptors (<literal>org.jboss.proxy.Interceptor</literal>) "
"handle the different EJB types, security, transactions and transport. You "
"can add your own interceptors as well."
-msgstr ""
+msgstr "拦截器链由实现 EJB home 或 remote 接口行为的功能单元组成。在我们讨论 <literal>jboss.xml</literal> 描述符时,我们将看到这是 EJB 的一个可配置特性,而拦截器描述包含在 <literal>EJBModule</literal> 元数据里。拦截器(<literal>org.jboss.proxy.Interceptor</literal>)处理不同的 EJB 类型、安全性、事务和传输。你也可以添加自己的拦截器。"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:84
@@ -220,7 +223,7 @@
"to the server side detached invoker that handles the transport details of "
"the EJB method invocation. The detached invoker is a JBoss server side "
"component."
-msgstr ""
+msgstr "和代理关联的传输专有的调用者和服务器端处理 EJB 方法调用传输细节的脱管调用者(detached invoker)相关联。脱管调用者是一个 JBoss 服务器端的组件。"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:89
@@ -235,6 +238,8 @@
"transport handler that knows how to send the request to the server and "
"obtain the reply, taking care of the transport specific details."
msgstr ""
+"客户端拦截器的配置可通过 <literal>jboss.xml</literal> 的 <literal>client-interceptors</literal> 元素来完成。当 <literal>ClientContainer</literal> 被调用时,它创建一个无类型的 <literal>Invocation</literal>(<literal>org.jboss."
+"invocation.Invocation</literal>)来封装请求。然后这被传递给拦截器链。链里的最后一个拦截器将是传输处理者,它知道如何把请求发送到服务器并获得响应、以及处理传输相关的细节。"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:92
@@ -248,6 +253,11 @@
"\"/> shows the <literal>stateless-rmi-invoker</literal> client interceptors "
"configuration referenced by the Standard Stateless SessionBean."
msgstr ""
+"作为客户端拦截器配置的示例,请参考 <literal>server/"
+"default/standardjboss.xml</literal> 描述符里 stateless session bean 的缺省配置。<xref linkend="
+"\"The_EJB_Client_Side_View-"
+"The_client_interceptors_from_the_Standard_Stateless_SessionBean_configuration."
+"\"/> 展示了 Standard Stateless SessionBean 所引用的 <literal>stateless-rmi-invoker</literal> 客户端拦截器配置。"
#. Tag: title
#: J2EE_EJBs_On_JBOSS.xml:95
@@ -255,11 +265,11 @@
msgid ""
"The client-interceptors from the Standard Stateless SessionBean "
"configuration."
-msgstr ""
+msgstr "Standard Stateless SessionBean 配置里的客户端拦截器配置。"
#. Tag: programlisting
#: J2EE_EJBs_On_JBOSS.xml:96
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<invoker-proxy-binding>\n"
" <name>stateless-rmi-invoker</"
@@ -304,68 +314,48 @@
" </proxy-factory-config>\n"
" </invoker-proxy-binding>"
msgstr ""
-"<jboss>\n"
-" <session>\n"
-" <ejb-name>nextgen_RetryInterceptorStatelessSession</ejb-"
+"<invoker-proxy-binding>\n"
+" <name>stateless-rmi-invoker</"
"name>\n"
-" <invoker-bindings>\n"
-" <invoker>\n"
-" <invoker-proxy-binding-name>\n"
-" clustered-retry-stateless-rmi-invoker\n"
-" </invoker-proxy-binding-name>\n"
-" <jndi-name>\n"
-" nextgen_RetryInterceptorStatelessSession\n"
-" </jndi-name>\n"
-" </invoker>\n"
-" </invoker-bindings>\n"
-" <clustered>true</clustered>\n"
-" </session>\n"
-"\n"
-" <invoker-proxy-binding>\n"
-" <name>clustered-retry-stateless-rmi-invoker</name>\n"
-" <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-"
-"mbean>\n"
-" <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-"
-"factory>\n"
-" <proxy-factory-config>\n"
-" <client-interceptors>\n"
-" <home>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.HomeInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.SecurityInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.TransactionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.RetryInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.invocation.InvokerInterceptor\n"
-" </interceptor>\n"
-" </home>\n"
-" <bean>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.StatelessSessionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.SecurityInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.TransactionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.RetryInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.invocation.InvokerInterceptor\n"
-" </interceptor>\n"
-" </bean>\n"
-" </client-interceptors>\n"
-" </proxy-factory-config>\n"
-" </invoker-proxy-binding>"
+" <invoker-mbean>jboss:service=invoker,"
+"type=jrmp</invoker-mbean>\n"
+" <proxy-factory>org.jboss.proxy.ejb."
+"ProxyFactory</proxy-factory>\n"
+" <proxy-factory-config>\n"
+" <client-interceptors>\n"
+" <home>\n"
+" <interceptor>org.jboss.proxy.ejb."
+"HomeInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"SecurityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"TransactionInterceptor</interceptor>\n"
+" <interceptor call-by-value=\"false\">\n"
+" org.jboss.invocation.InvokerInterceptor\n"
+" </interceptor>\n"
+" <interceptor call-by-value=\"true\">\n"
+" org.jboss.invocation."
+"MarshallingInvokerInterceptor\n"
+" </interceptor>\n"
+" </home>\n"
+" <bean>\n"
+" <interceptor>org.jboss.proxy.ejb."
+"StatelessSessionInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"SecurityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"TransactionInterceptor</interceptor>\n"
+" <interceptor call-by-value=\"false\">\n"
+" org.jboss.invocation.InvokerInterceptor\n"
+" </interceptor>\n"
+" <interceptor call-by-value=\"true\">\n"
+" org.jboss.invocation."
+"MarshallingInvokerInterceptor\n"
+" </interceptor>\n"
+" </bean>\n"
+" </client-interceptors>\n"
+" </proxy-factory-config>\n"
+" </invoker-proxy-binding>"
#. Tag: programlisting
#: J2EE_EJBs_On_JBOSS.xml:97
@@ -381,6 +371,15 @@
" <!-- ... -->\n"
" </container-configuration>"
msgstr ""
+"<container-configuration>\n"
+" <container-name>Standard Stateless "
+"SessionBean</container-name>\n"
+" <call-logging>false</call-"
+"logging>\n"
+" <invoker-proxy-binding-name>stateless-"
+"rmi-invoker</invoker-proxy-binding-name>\n"
+" <!-- ... -->\n"
+" </container-configuration>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:98
@@ -391,6 +390,8 @@
"literal> configuration that overrides these settings. The functionality "
"provided by each client interceptor is:"
msgstr ""
+"这是在没有覆盖这些设置的 EJB JAR <literal>META-INF/jboss.xml</"
+"literal> 时所使用的用于 stateless session bean 的客户端拦截器配置。每个客户端拦截器所提供的功能是:"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:103
@@ -402,6 +403,8 @@
"locally in the client VM. Any other methods are propagated to the next "
"interceptor."
msgstr ""
+"<emphasis role=\"bold\">org.jboss.proxy.ejb.HomeInterceptor</emphasis>:处理 <literal>getHomeHandle</literal>、<literal>getEJBMetaData</"
+"literal> 并删除客户端 VM 里的 <literal>EJBHome</literal> 接口方法。任何其他方法都被传递到下一个拦截器。"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:108
@@ -414,6 +417,10 @@
"the <literal>EJBObject</literal> interface locally in the client VM. Any "
"other methods are propagated to the next interceptor."
msgstr ""
+"<emphasis role=\"bold\">org.jboss.proxy.ejb.StatelessSessionInterceptor</"
+"emphasis>:处理 <literal>toString</literal>、<literal>equals</"
+"literal>、<literal>hashCode</literal>、<literal>getHandle</literal>、"
+"<literal>getEJBHome</literal> 和客户端 VM 里的 <literal>EJBObject</literal> 接口的 <literal>isIdentical</literal> 方法。任何其他方法都被传递到下一个拦截器。"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:113
@@ -422,7 +429,7 @@
"<emphasis role=\"bold\">org.jboss.proxy.SecurityInterceptor</emphasis>: "
"associates the current security context with the method invocation for use "
"by other interceptors or the server."
-msgstr ""
+msgstr "<emphasis role=\"bold\">org.jboss.proxy.SecurityInterceptor</emphasis>:把当前安全性上下文和其他服务器或拦截器使用的方法调用进行关联。"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:118
@@ -431,7 +438,7 @@
"<emphasis role=\"bold\">org.jboss.proxy.TransactionInterceptor</emphasis>: "
"associates any active transaction with the invocation method invocation for "
"use by other interceptors."
-msgstr ""
+msgstr "<emphasis role=\"bold\">org.jboss.proxy.TransactionInterceptor</emphasis>:把任何活动事务和其他拦截器使用的方法调用相关联。"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:123
@@ -450,6 +457,10 @@
"<literal>jboss:service=invoker,type=jrmp</literal>, the "
"<literal>JRMPInvoker</literal> service."
msgstr ""
+"<emphasis role=\"bold\">org.jboss.invocation.InvokerInterceptor</emphasis>:封装对传输相关的调用者的调用的分发。如果客户和服务器在相同的 VM 里运行,它将把最优的调用分发至调用者。当客户在服务器 VM 之外运行时,这个拦截器把调用委托给和调用上下文相关联的传输调用者。在 <xref linkend="
+"\"The_EJB_Client_Side_View-"
+"The_client_interceptors_from_the_Standard_Stateless_SessionBean_configuration."
+"\"/> 配置里,这将是和 <literal>jboss:service=invoker,type=jrmp</literal>,<literal>JRMPInvoker</literal> 服务相关联的调用者 stub。"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:126
@@ -717,7 +728,7 @@
#. Tag: programlisting
#: J2EE_EJBs_On_JBOSS.xml:269
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<proxy-factory-config>\n"
" <client-interceptors>\n"
@@ -769,68 +780,55 @@
" </client-interceptors>\n"
" </proxy-factory-config>"
msgstr ""
-"<jboss>\n"
-" <session>\n"
-" <ejb-name>nextgen_RetryInterceptorStatelessSession</ejb-"
-"name>\n"
-" <invoker-bindings>\n"
-" <invoker>\n"
-" <invoker-proxy-binding-name>\n"
-" clustered-retry-stateless-rmi-invoker\n"
-" </invoker-proxy-binding-name>\n"
-" <jndi-name>\n"
-" nextgen_RetryInterceptorStatelessSession\n"
-" </jndi-name>\n"
-" </invoker>\n"
-" </invoker-bindings>\n"
-" <clustered>true</clustered>\n"
-" </session>\n"
-"\n"
-" <invoker-proxy-binding>\n"
-" <name>clustered-retry-stateless-rmi-invoker</name>\n"
-" <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-"
-"mbean>\n"
-" <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-"
-"factory>\n"
-" <proxy-factory-config>\n"
-" <client-interceptors>\n"
-" <home>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.HomeInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.SecurityInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.TransactionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.RetryInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.invocation.InvokerInterceptor\n"
-" </interceptor>\n"
-" </home>\n"
-" <bean>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.StatelessSessionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.SecurityInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.TransactionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.RetryInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.invocation.InvokerInterceptor\n"
-" </interceptor>\n"
-" </bean>\n"
-" </client-interceptors>\n"
-" </proxy-factory-config>\n"
-" </invoker-proxy-binding>"
+"<proxy-factory-config>\n"
+" <client-interceptors>\n"
+" <home>\n"
+" <interceptor>org.jboss.proxy.ejb."
+"HomeInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"SecurityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"TransactionInterceptor</interceptor>\n"
+" <interceptor call-by-value=\"false\">\n"
+" org.jboss.invocation.InvokerInterceptor\n"
+" </interceptor>\n"
+" <interceptor call-by-value=\"true\">\n"
+" org.jboss.invocation."
+"MarshallingInvokerInterceptor\n"
+" </interceptor>\n"
+" </home>\n"
+" <bean>\n"
+" <interceptor>org.jboss.proxy.ejb."
+"EntityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"SecurityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"TransactionInterceptor</interceptor>\n"
+" <interceptor call-by-value=\"false\">\n"
+" org.jboss.invocation.InvokerInterceptor\n"
+" </interceptor>\n"
+" <interceptor call-by-value=\"true\">\n"
+" org.jboss.invocation."
+"MarshallingInvokerInterceptor\n"
+" </interceptor>\n"
+" </bean>\n"
+" <list-entity>\n"
+" <interceptor>org.jboss.proxy.ejb."
+"ListEntityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"SecurityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"TransactionInterceptor</interceptor>\n"
+" <interceptor call-by-value=\"false\">\n"
+" org.jboss.invocation.InvokerInterceptor\n"
+" </interceptor>\n"
+" <interceptor call-by-value=\"true\">\n"
+" org.jboss.invocation."
+"MarshallingInvokerInterceptor\n"
+" </interceptor>\n"
+" </list-entity>\n"
+" </client-interceptors>\n"
+" </proxy-factory-config>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:270
@@ -899,6 +897,14 @@
" <jnp-context>iiop</jnp-context>\n"
" </proxy-factory-config>"
msgstr ""
+"<proxy-factory-config>\n"
+" <web-class-loader>org.jboss.iiop."
+"WebCL</web-class-loader>\n"
+" <poa>per-servant</poa>\n"
+" <register-ejbs-in-jnp-context>true</"
+"register-ejbs-in-jnp-context>\n"
+" <jnp-context>iiop</jnp-context>\n"
+" </proxy-factory-config>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:304
@@ -1058,6 +1064,32 @@
" </MDBConfig>\n"
" </proxy-factory-config>"
msgstr ""
+"<proxy-factory-config>\n"
+" <JMSProviderAdapterJNDI>"
+"DefaultJMSProvider</JMSProviderAdapterJNDI>\n"
+" <ServerSessionPoolFactoryJNDI>"
+"StdJMSPool</ServerSessionPoolFactoryJNDI>\n"
+" <MinimumSize>1</"
+"MinimumSize>\n"
+" <MaximumSize>15</"
+"MaximumSize>\n"
+" <KeepAliveMillis>30000</"
+"KeepAliveMillis>\n"
+" <MaxMessages>1</"
+"MaxMessages>\n"
+" <MDBConfig>\n"
+" <ReconnectIntervalSec>10</"
+"ReconnectIntervalSec>\n"
+" <DLQConfig>\n"
+" <DestinationQueue>queue/"
+"DLQ</DestinationQueue>\n"
+" <MaxTimesRedelivered>10</"
+"MaxTimesRedelivered>\n"
+" <TimeToLive>0</"
+"TimeToLive>\n"
+" </DLQConfig>\n"
+" </MDBConfig>\n"
+" </proxy-factory-config>"
#. Tag: title
#: J2EE_EJBs_On_JBOSS.xml:372
@@ -1165,6 +1197,25 @@
" </mbean>\n"
" </server>"
msgstr ""
+"<server>\n"
+" <mbean code=\"org.jboss.invocation.jrmp."
+"server.JRMPInvoker\"\n"
+" name=\"jboss:service=invoker,type=jrmp,"
+"socketType=CompressionSocketFactory\">\n"
+" <attribute name=\"RMIObjectPort"
+"\">4445</attribute>\n"
+" <attribute name=\"RMIClientSocketFactory"
+"\">\n"
+" org.jboss.test.jrmp.ejb."
+"CompressionClientSocketFactory\n"
+" </attribute>\n"
+" <attribute name=\"RMIServerSocketFactory"
+"\">\n"
+" org.jboss.test.jrmp.ejb."
+"CompressionServerSocketFactory\n"
+" </attribute>\n"
+" </mbean>\n"
+" </server>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:399
@@ -1177,7 +1228,7 @@
#. Tag: programlisting
#: J2EE_EJBs_On_JBOSS.xml:402
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<?xml version=\"1.0\"?>\n"
" <!DOCTYPE jboss PUBLIC\n"
@@ -1245,68 +1296,71 @@
" </invoker-proxy-bindings>\n"
" </jboss>"
msgstr ""
-"<jboss>\n"
-" <session>\n"
-" <ejb-name>nextgen_RetryInterceptorStatelessSession</ejb-"
+"<?xml version=\"1.0\"?>\n"
+" <!DOCTYPE jboss PUBLIC\n"
+" \"-//JBoss//DTD JBOSS 3.2//EN\"\n"
+" \"http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd"
+"\">\n"
+" <!-- The jboss.xml descriptor for the "
+"jrmp-comp.jar ejb unit -->\n"
+" <jboss>\n"
+" <enterprise-beans>\n"
+" <session>\n"
+" <ejb-name>StatelessSession</ejb-"
"name>\n"
-" <invoker-bindings>\n"
-" <invoker>\n"
-" <invoker-proxy-binding-name>\n"
-" clustered-retry-stateless-rmi-invoker\n"
-" </invoker-proxy-binding-name>\n"
-" <jndi-name>\n"
-" nextgen_RetryInterceptorStatelessSession\n"
-" </jndi-name>\n"
-" </invoker>\n"
-" </invoker-bindings>\n"
-" <clustered>true</clustered>\n"
-" </session>\n"
-"\n"
-" <invoker-proxy-binding>\n"
-" <name>clustered-retry-stateless-rmi-invoker</name>\n"
-" <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-"
-"mbean>\n"
-" <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-"
-"factory>\n"
-" <proxy-factory-config>\n"
-" <client-interceptors>\n"
-" <home>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.HomeInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.SecurityInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.TransactionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.RetryInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.invocation.InvokerInterceptor\n"
-" </interceptor>\n"
-" </home>\n"
-" <bean>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.StatelessSessionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.SecurityInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.TransactionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.RetryInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.invocation.InvokerInterceptor\n"
-" </interceptor>\n"
-" </bean>\n"
-" </client-interceptors>\n"
-" </proxy-factory-config>\n"
-" </invoker-proxy-binding>"
+" <configuration-name>Standard Stateless "
+"SessionBean</configuration-name>\n"
+" <invoker-bindings>\n"
+" <invoker>\n"
+" <invoker-proxy-binding-name>\n"
+" stateless-compression-invoker\n"
+" </invoker-proxy-binding-name>\n"
+" <jndi-name>jrmp-compressed/"
+"StatelessSession</jndi-name>\n"
+" </invoker>\n"
+" </invoker-bindings>\n"
+" </session>\n"
+" </enterprise-beans>\n"
+" \n"
+" <invoker-proxy-bindings>\n"
+" <invoker-proxy-binding>\n"
+" <name>stateless-compression-"
+"invoker</name>\n"
+" <invoker-mbean>\n"
+" jboss:service=invoker,type=jrmp,"
+"socketType=CompressionSocketFactory\n"
+" </invoker-mbean>\n"
+" <proxy-factory>org.jboss.proxy.ejb."
+"ProxyFactory</proxy-factory>\n"
+" <proxy-factory-config>\n"
+" <client-interceptors>\n"
+" <home>\n"
+" <interceptor>org.jboss.proxy.ejb."
+"HomeInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"SecurityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"TransactionInterceptor</interceptor>\n"
+" <interceptor>org.jboss.invocation."
+"InvokerInterceptor</interceptor>\n"
+" </home>\n"
+" <bean>\n"
+" <interceptor>\n"
+" org.jboss.proxy.ejb."
+"StatelessSessionInterceptor\n"
+" </interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"SecurityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"TransactionInterceptor</interceptor>\n"
+" <interceptor>org.jboss.invocation."
+"InvokerInterceptor</interceptor>\n"
+" </bean>\n"
+" </client-interceptors>\n"
+" </proxy-factory-config>\n"
+" </invoker-proxy-binding>\n"
+" </invoker-proxy-bindings>\n"
+" </jboss>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:403
@@ -1331,7 +1385,7 @@
#. Tag: programlisting
#: J2EE_EJBs_On_JBOSS.xml:409
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
" <!DOCTYPE jboss PUBLIC\n"
@@ -1394,68 +1448,66 @@
" </invoker-proxy-bindings>\n"
" </jboss>"
msgstr ""
-"<jboss>\n"
-" <session>\n"
-" <ejb-name>nextgen_RetryInterceptorStatelessSession</ejb-"
+"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+" <!DOCTYPE jboss PUBLIC\n"
+" \"-//JBoss//DTD JBOSS 3.2//EN\"\n"
+" \"http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd"
+"\">\n"
+" <jboss>\n"
+" <enterprise-beans>\n"
+" <session>\n"
+" <ejb-name>HelloWorldViaHTTP</ejb-"
"name>\n"
-" <invoker-bindings>\n"
-" <invoker>\n"
-" <invoker-proxy-binding-name>\n"
-" clustered-retry-stateless-rmi-invoker\n"
-" </invoker-proxy-binding-name>\n"
-" <jndi-name>\n"
-" nextgen_RetryInterceptorStatelessSession\n"
-" </jndi-name>\n"
-" </invoker>\n"
-" </invoker-bindings>\n"
-" <clustered>true</clustered>\n"
-" </session>\n"
-"\n"
-" <invoker-proxy-binding>\n"
-" <name>clustered-retry-stateless-rmi-invoker</name>\n"
-" <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-"
-"mbean>\n"
-" <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-"
-"factory>\n"
-" <proxy-factory-config>\n"
-" <client-interceptors>\n"
-" <home>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.HomeInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.SecurityInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.TransactionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.RetryInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.invocation.InvokerInterceptor\n"
-" </interceptor>\n"
-" </home>\n"
-" <bean>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.StatelessSessionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.SecurityInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.TransactionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.RetryInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.invocation.InvokerInterceptor\n"
-" </interceptor>\n"
-" </bean>\n"
-" </client-interceptors>\n"
-" </proxy-factory-config>\n"
-" </invoker-proxy-binding>"
+" <jndi-name>helloworld/HelloHTTP</"
+"jndi-name>\n"
+" <invoker-bindings>\n"
+" <invoker>\n"
+" <invoker-proxy-binding-name>\n"
+" stateless-http-invoker\n"
+" </invoker-proxy-binding-name>\n"
+" </invoker>\n"
+" </invoker-bindings>\n"
+" </session>\n"
+" </enterprise-beans>\n"
+" <invoker-proxy-bindings>\n"
+" <!-- A custom invoker for RMI/HTTP --"
+">\n"
+" <invoker-proxy-binding>\n"
+" <name>stateless-http-invoker</"
+"name>\n"
+" <invoker-mbean>jboss:service=invoker,"
+"type=http</invoker-mbean>\n"
+" <proxy-factory>org.jboss.proxy.ejb."
+"ProxyFactory</proxy-factory>\n"
+" <proxy-factory-config>\n"
+" <client-interceptors>\n"
+" <home>\n"
+" <interceptor>org.jboss.proxy.ejb."
+"HomeInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"SecurityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"TransactionInterceptor</interceptor>\n"
+" <interceptor>org.jboss.invocation."
+"InvokerInterceptor</interceptor>\n"
+" </home>\n"
+" <bean>\n"
+" <interceptor>\n"
+" org.jboss.proxy.ejb."
+"StatelessSessionInterceptor\n"
+" </interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"SecurityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"TransactionInterceptor</interceptor>\n"
+" <interceptor>org.jboss.invocation."
+"InvokerInterceptor</interceptor>\n"
+" </bean>\n"
+" </client-interceptors>\n"
+" </proxy-factory-config>\n"
+" </invoker-proxy-binding>\n"
+" </invoker-proxy-bindings>\n"
+" </jboss>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:410
@@ -1471,7 +1523,7 @@
#. Tag: programlisting
#: J2EE_EJBs_On_JBOSS.xml:413
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<!-- The HTTP invoker service configuration -->\n"
" <mbean code=\"org.jboss.invocation.http."
@@ -1491,19 +1543,23 @@
"true</attribute>\n"
" </mbean>"
msgstr ""
-"<!-- Expose the SRP service interface via HTTP -->\n"
-"<mbean code=\"org.jboss.invocation.http.server.HttpProxyFactory\"\n"
-" name=\"jboss.security.tests:service=SRP/HTTP\">\n"
-" <attribute name=\"InvokerURL\">http://localhost:8080/invoker/"
-"JMXInvokerServlet</attribute>\n"
-" <attribute name=\"InvokerName\">jboss.security.tests:"
-"service=SRPService</attribute>\n"
-" <attribute name=\"ExportedInterface\">\n"
-" org.jboss.security.srp.SRPRemoteServerInterface\n"
-" </attribute>\n"
-" <attribute name=\"JndiName\">srp-test-http/SRPServerInterface</"
-"attribute>\n"
-"</mbean>"
+"<!-- The HTTP invoker service configuration -->\n"
+" <mbean code=\"org.jboss.invocation.http."
+"server.HttpInvoker\"\n"
+" name=\"jboss:service=invoker,type=http"
+"\">\n"
+" <!-- Use a URL of the form http://<"
+"hostname>:8080/invoker/EJBInvokerServlet\n"
+" where <hostname> is InetAddress."
+"getHostname value on which the server\n"
+" is running. -->\n"
+" <attribute name=\"InvokerURLPrefix\">"
+"http://</attribute>\n"
+" <attribute name=\"InvokerURLSuffix"
+"\">:8080/invoker/EJBInvokerServlet</attribute>\n"
+" <attribute name=\"UseHostName\">"
+"true</attribute>\n"
+" </mbean>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:414
@@ -1582,7 +1638,7 @@
#. Tag: programlisting
#: J2EE_EJBs_On_JBOSS.xml:435
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<jboss>\n"
" <enterprise-beans>\n"
@@ -1641,67 +1697,60 @@
" </jboss>"
msgstr ""
"<jboss>\n"
-" <session>\n"
-" <ejb-name>nextgen_RetryInterceptorStatelessSession</ejb-"
-"name>\n"
-" <invoker-bindings>\n"
-" <invoker>\n"
-" <invoker-proxy-binding-name>\n"
-" clustered-retry-stateless-rmi-invoker\n"
-" </invoker-proxy-binding-name>\n"
-" <jndi-name>\n"
-" nextgen_RetryInterceptorStatelessSession\n"
-" </jndi-name>\n"
-" </invoker>\n"
-" </invoker-bindings>\n"
-" <clustered>true</clustered>\n"
-" </session>\n"
-"\n"
-" <invoker-proxy-binding>\n"
-" <name>clustered-retry-stateless-rmi-invoker</name>\n"
-" <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-"
-"mbean>\n"
-" <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-"
-"factory>\n"
-" <proxy-factory-config>\n"
-" <client-interceptors>\n"
-" <home>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.HomeInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.SecurityInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.TransactionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.RetryInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.invocation.InvokerInterceptor\n"
-" </interceptor>\n"
-" </home>\n"
-" <bean>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.StatelessSessionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.SecurityInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.TransactionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.RetryInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.invocation.InvokerInterceptor\n"
-" </interceptor>\n"
-" </bean>\n"
-" </client-interceptors>\n"
-" </proxy-factory-config>\n"
-" </invoker-proxy-binding>"
+" <enterprise-beans>\n"
+" <session>\n"
+" <ejb-name>"
+"HelloWorldViaClusteredHTTP</ejb-name>\n"
+" <jndi-name>helloworld/HelloHA-"
+"HTTP</jndi-name>\n"
+" <invoker-bindings>\n"
+" <invoker>\n"
+" <invoker-proxy-binding-name>\n"
+" stateless-httpHA-invoker\n"
+" </invoker-proxy-binding-name>\n"
+" </invoker>\n"
+" </invoker-bindings>\n"
+" <clustered>true</"
+"clustered>\n"
+" </session>\n"
+" </enterprise-beans>\n"
+" <invoker-proxy-bindings>\n"
+" <invoker-proxy-binding>\n"
+" <name>stateless-httpHA-"
+"invoker</name>\n"
+" <invoker-mbean>jboss:"
+"service=invoker,type=httpHA</invoker-mbean>\n"
+" <proxy-factory>org.jboss.proxy."
+"ejb.ProxyFactoryHA</proxy-factory>\n"
+" <proxy-factory-config>\n"
+" <client-interceptors>\n"
+" <home>\n"
+" <interceptor>org.jboss.proxy."
+"ejb.HomeInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"SecurityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"TransactionInterceptor</interceptor>\n"
+" <interceptor>org.jboss."
+"invocation.InvokerInterceptor</interceptor>\n"
+" </home>\n"
+" <bean>\n"
+" <interceptor>\n"
+" org.jboss.proxy.ejb."
+"StatelessSessionInterceptor\n"
+" </interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"SecurityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.proxy."
+"TransactionInterceptor</interceptor>\n"
+" <interceptor>org.jboss."
+"invocation.InvokerInterceptor</interceptor>\n"
+" </bean>\n"
+" </client-interceptors>\n"
+" </proxy-factory-config>\n"
+" </invoker-proxy-binding>\n"
+" </invoker-proxy-bindings>\n"
+" </jboss>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:436
@@ -1714,7 +1763,7 @@
#. Tag: programlisting
#: J2EE_EJBs_On_JBOSS.xml:439
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<mbean code=\"org.jboss.invocation.http.server.HttpInvokerHA\"\n"
" name=\"jboss:service=invoker,type=httpHA"
@@ -1734,19 +1783,23 @@
"true</attribute>\n"
" </mbean>"
msgstr ""
-"<!-- Expose the SRP service interface via HTTP -->\n"
-"<mbean code=\"org.jboss.invocation.http.server.HttpProxyFactory\"\n"
-" name=\"jboss.security.tests:service=SRP/HTTP\">\n"
-" <attribute name=\"InvokerURL\">http://localhost:8080/invoker/"
-"JMXInvokerServlet</attribute>\n"
-" <attribute name=\"InvokerName\">jboss.security.tests:"
-"service=SRPService</attribute>\n"
-" <attribute name=\"ExportedInterface\">\n"
-" org.jboss.security.srp.SRPRemoteServerInterface\n"
-" </attribute>\n"
-" <attribute name=\"JndiName\">srp-test-http/SRPServerInterface</"
-"attribute>\n"
-"</mbean>"
+"<mbean code=\"org.jboss.invocation.http.server.HttpInvokerHA\"\n"
+" name=\"jboss:service=invoker,type=httpHA"
+"\">\n"
+" <!-- Use a URL of the form\n"
+" http://<hostname>:8080/invoker/"
+"EJBInvokerHAServlet\n"
+" where <hostname> is InetAddress."
+"getHostname value on which the server\n"
+" is running.\n"
+" -->\n"
+" <attribute name=\"InvokerURLPrefix\">"
+"http://</attribute>\n"
+" <attribute name=\"InvokerURLSuffix"
+"\">:8080/invoker/EJBInvokerHAServlet</attribute>\n"
+" <attribute name=\"UseHostName\">"
+"true</attribute>\n"
+" </mbean>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:440
@@ -2133,6 +2186,89 @@
"option>\n"
" </container-configuration>"
msgstr ""
+"<container-configuration>\n"
+" <container-name>Standard CMP 2."
+"x EntityBean</container-name>\n"
+" <call-logging>false</call-"
+"logging>\n"
+" <invoker-proxy-binding-name>"
+"entity-rmi-invoker</invoker-proxy-binding-name>\n"
+" <sync-on-commit-only>false</"
+"sync-on-commit-only>\n"
+" <insert-after-ejb-post-create>"
+"false</insert-after-ejb-post-create>\n"
+" <call-ejb-store-on-clean>"
+"true</call-ejb-store-on-clean>\n"
+" <container-interceptors>\n"
+" <interceptor>org.jboss.ejb."
+"plugins.ProxyFactoryFinderInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb."
+"plugins.LogInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb."
+"plugins.SecurityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb."
+"plugins.TxInterceptorCMT</interceptor>\n"
+" <interceptor>org.jboss.ejb."
+"plugins.CallValidationInterceptor</interceptor>\n"
+" <interceptor metricsEnabled=\"true"
+"\">\n"
+" org.jboss.ejb.plugins."
+"MetricsInterceptor\n"
+" </interceptor>\n"
+" <interceptor>org.jboss.ejb."
+"plugins.EntityCreationInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb."
+"plugins.EntityLockInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb."
+"plugins.EntityInstanceInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb."
+"plugins.EntityReentranceInterceptor</interceptor>\n"
+" <interceptor>\n"
+" org.jboss.resource.connectionmanager."
+"CachedConnectionInterceptor\n"
+" </interceptor>\n"
+" <interceptor>org.jboss.ejb."
+"plugins.EntitySynchronizationInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb."
+"plugins.cmp.jdbc.JDBCRelationInterceptor</interceptor>\n"
+" </container-interceptors>\n"
+" <instance-pool>org.jboss.ejb."
+"plugins.EntityInstancePool</instance-pool>\n"
+" <instance-cache>org.jboss.ejb."
+"plugins.InvalidableEntityInstanceCache</instance-cache>\n"
+" <persistence-manager>org.jboss."
+"ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>\n"
+" <locking-policy>org.jboss.ejb."
+"plugins.lock.QueuedPessimisticEJBLock</locking-policy>\n"
+" <container-cache-conf>\n"
+" <cache-policy>org.jboss.ejb."
+"plugins.LRUEnterpriseContextCachePolicy</cache-policy>\n"
+" <cache-policy-conf>\n"
+" <min-capacity>50</min-"
+"capacity>\n"
+" <max-capacity>1000000</max-"
+"capacity>\n"
+" <overager-period>300</"
+"overager-period>\n"
+" <max-bean-age>600</max-bean-"
+"age>\n"
+" <resizer-period>400</"
+"resizer-period>\n"
+" <max-cache-miss-period>60</"
+"max-cache-miss-period>\n"
+" <min-cache-miss-period>1</"
+"min-cache-miss-period>\n"
+" <cache-load-factor>0.75</"
+"cache-load-factor>\n"
+" </cache-policy-conf>\n"
+" </container-cache-conf>\n"
+" <container-pool-conf>\n"
+" <MaximumSize>100</"
+"MaximumSize>\n"
+" </container-pool-conf>\n"
+" <commit-option>B</commit-"
+"option>\n"
+" </container-configuration>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:564
@@ -2218,6 +2354,29 @@
" </container-configurations>\n"
" </jboss>"
msgstr ""
+"<?xml version=\"1.0\"?>\n"
+" <jboss>\n"
+" <enterprise-beans>\n"
+" <session>\n"
+" <ejb-name>EchoBean</ejb-"
+"name>\n"
+" <configuration-name>Secured "
+"Stateless SessionBean</configuration-name>\n"
+" <!-- ... -->\n"
+" </session>\n"
+" </enterprise-beans>\n"
+" <container-configurations>\n"
+" <container-configuration extends="
+"\"Standard Stateless SessionBean\">\n"
+" <container-name>Secured "
+"Stateless SessionBean</container-name>\n"
+" <!-- Override the container "
+"security domain -->\n"
+" <security-domain>java:/jaas/my-"
+"security-domain</security-domain>\n"
+" </container-configuration>\n"
+" </container-configurations>\n"
+" </jboss>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:574
@@ -2313,6 +2472,12 @@
"element) throws Exception;\n"
" }"
msgstr ""
+"import org.w3c.dom.Element;\n"
+" public interface XmlLoadable\n"
+" {\n"
+" public void importXml(Element "
+"element) throws Exception;\n"
+" }"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:619
@@ -3236,6 +3401,21 @@
"(Container con);\n"
" }"
msgstr ""
+"public interface ContainerPlugin\n"
+" extends Service, "
+"AllowedOperationsFlags\n"
+" {\n"
+" /** \n"
+" * This callback is set by "
+"the container so that the plugin\n"
+" * may access its container\n"
+" *\n"
+" * @param con the container "
+"which owns the plugin\n"
+" */\n"
+" public void setContainer"
+"(Container con);\n"
+" }"
#. Tag: title
#: J2EE_EJBs_On_JBOSS.xml:1022
@@ -3278,6 +3458,21 @@
"(Invocation mi) throws Exception;\n"
" }"
msgstr ""
+"import org.jboss.invocation.Invocation;\n"
+" \n"
+" public interface "
+"Interceptor \n"
+" extends ContainerPlugin\n"
+" {\n"
+" public void setNext"
+"(Interceptor interceptor);\n"
+" public Interceptor getNext"
+"();\n"
+" public Object invokeHome"
+"(Invocation mi) throws Exception;\n"
+" public Object invoke"
+"(Invocation mi) throws Exception;\n"
+" }"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:1028
@@ -3423,6 +3618,63 @@
" public int getMaxSize();\n"
" }"
msgstr ""
+"public interface InstancePool\n"
+" extends ContainerPlugin\n"
+" {\n"
+" /** \n"
+" * Get an instance without "
+"identity. Can be used\n"
+" * by finders and create-"
+"methods, or stateless beans\n"
+" *\n"
+" * @return Context /w "
+"instance\n"
+" * @exception "
+"RemoteException\n"
+" */\n"
+" public EnterpriseContext get"
+"() throws Exception;\n"
+" \n"
+" /** Return an anonymous "
+"instance after invocation.\n"
+" *\n"
+" * @param ctx\n"
+" */\n"
+" public void free"
+"(EnterpriseContext ctx);\n"
+" \n"
+" /**\n"
+" * Discard an anonymous "
+"instance after invocation.\n"
+" * This is called if the "
+"instance should not be reused,\n"
+" * perhaps due to some "
+"exception being thrown from it.\n"
+" *\n"
+" * @param ctx\n"
+" */\n"
+" public void discard"
+"(EnterpriseContext ctx);\n"
+" \n"
+" /**\n"
+" * Return the size of the "
+"pool.\n"
+" *\n"
+" * @return the size of the "
+"pool.\n"
+" */\n"
+" public int getCurrentSize"
+"();\n"
+" \n"
+" /**\n"
+" * Get the maximum size of "
+"the pool.\n"
+" *\n"
+" * @return the size of the "
+"pool.\n"
+" */\n"
+" public int getMaxSize();\n"
+" }"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:1052
@@ -3558,6 +3810,92 @@
"(Object id); \n"
" }"
msgstr ""
+"public interface InstanceCache \n"
+" extends ContainerPlugin\n"
+" {\n"
+" /**\n"
+" * Gets a bean instance from "
+"this cache given the identity.\n"
+" * This method may involve "
+"activation if the instance is not\n"
+" * in the cache.\n"
+" * Implementation should have "
+"O(1) complexity.\n"
+" * This method is never "
+"called for stateless session beans.\n"
+" *\n"
+" * @param id the primary key "
+"of the bean\n"
+" * @return the "
+"EnterpriseContext related to the given id\n"
+" * @exception RemoteException "
+"in case of illegal calls\n"
+" * (concurrent / reentrant), "
+"NoSuchObjectException if\n"
+" * the bean cannot be found.\n"
+" * @see #release\n"
+" */\n"
+" public EnterpriseContext get"
+"(Object id)\n"
+" throws RemoteException, "
+"NoSuchObjectException;\n"
+" \n"
+" /**\n"
+" * Inserts an active bean "
+"instance after creation or activation.\n"
+" * Implementation should "
+"guarantee proper locking and O(1) complexity.\n"
+" *\n"
+" * @param ctx the "
+"EnterpriseContext to insert in the cache\n"
+" * @see #remove\n"
+" */\n"
+" public void insert"
+"(EnterpriseContext ctx);\n"
+" \n"
+" /**\n"
+" * Releases the given bean "
+"instance from this cache.\n"
+" * This method may passivate "
+"the bean to get it out of the cache.\n"
+" * Implementation should "
+"return almost immediately leaving the\n"
+" * passivation to be executed "
+"by another thread.\n"
+" *\n"
+" * @param ctx the "
+"EnterpriseContext to release\n"
+" * @see #get\n"
+" */\n"
+" public void release"
+"(EnterpriseContext ctx);\n"
+" \n"
+" /**\n"
+" * Removes a bean instance "
+"from this cache given the identity.\n"
+" * Implementation should have "
+"O(1) complexity and guarantee\n"
+" * proper locking.\n"
+" *\n"
+" * @param id the primary key "
+"of the bean\n"
+" * @see #insert\n"
+" */\n"
+" public void remove(Object "
+"id);\n"
+" \n"
+" /**\n"
+" * Checks whether an instance "
+"corresponding to a particular\n"
+" * id is active\n"
+" *\n"
+" * @param id the primary key "
+"of the bean\n"
+" * @see #insert\n"
+" */\n"
+" public boolean isActive"
+"(Object id); \n"
+" }"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:1067
@@ -3862,6 +4200,233 @@
"RemoveException;\n"
" }"
msgstr ""
+"public interface EntityPersistenceManager \n"
+" extends ContainerPlugin\n"
+" {\n"
+" /**\n"
+" * Returns a new instance of "
+"the bean class or a subclass of the\n"
+" * bean class.\n"
+" *\n"
+" * @return the new instance\n"
+" */\n"
+" Object "
+"createBeanClassInstance() throws Exception;\n"
+" \n"
+" /**\n"
+" * This method is called "
+"whenever an entity is to be created. The\n"
+" * persistence manager is "
+"responsible for calling the ejbCreate method\n"
+" * on the instance and to "
+"handle the results properly wrt the persistent\n"
+" * store.\n"
+" *\n"
+" * @param m the create method "
+"in the home interface that was\n"
+" * called\n"
+" * @param args any create "
+"parameters\n"
+" * @param instance the "
+"instance being used for this create call\n"
+" */\n"
+" void createEntity(Method m,\n"
+" Object[] args,\n"
+" EntityEnterpriseContext "
+"instance)\n"
+" throws Exception;\n"
+" \n"
+" /**\n"
+" * This method is called "
+"whenever an entity is to be created. The\n"
+" * persistence manager is "
+"responsible for calling the ejbPostCreate method\n"
+" * on the instance and to "
+"handle the results properly wrt the persistent\n"
+" * store.\n"
+" *\n"
+" * @param m the create method "
+"in the home interface that was\n"
+" * called\n"
+" * @param args any create "
+"parameters\n"
+" * @param instance the "
+"instance being used for this create call\n"
+" */\n"
+" void postCreateEntity(Method "
+"m,\n"
+" Object[] args,\n"
+" EntityEnterpriseContext "
+"instance)\n"
+" throws Exception;\n"
+" \n"
+" /**\n"
+" * This method is called when "
+"single entities are to be found. The\n"
+" * persistence manager must "
+"find out whether the wanted instance is\n"
+" * available in the "
+"persistence store, and if so it shall use the\n"
+" * ContainerInvoker plugin to "
+"create an EJBObject to the instance, which\n"
+" * is to be returned as "
+"result.\n"
+" *\n"
+" * @param finderMethod the "
+"find method in the home interface that was\n"
+" * called\n"
+" * @param args any finder "
+"parameters\n"
+" * @param instance the "
+"instance to use for the finder call\n"
+" * @return an EJBObject "
+"representing the found entity\n"
+" */\n"
+" Object findEntity(Method "
+"finderMethod,\n"
+" Object[] args,\n"
+" EntityEnterpriseContext "
+"instance)\n"
+" throws Exception;\n"
+" \n"
+" /**\n"
+" * This method is called when "
+"collections of entities are to be\n"
+" * found. The persistence "
+"manager must find out whether the wanted\n"
+" * instances are available in "
+"the persistence store, and if so it\n"
+" * shall use the "
+"ContainerInvoker plugin to create EJBObjects to\n"
+" * the instances, which are "
+"to be returned as result.\n"
+" *\n"
+" * @param finderMethod the "
+"find method in the home interface that was\n"
+" * called\n"
+" * @param args any finder "
+"parameters\n"
+" * @param instance the "
+"instance to use for the finder call\n"
+" * @return an EJBObject "
+"collection representing the found\n"
+" * entities\n"
+" */\n"
+" Collection findEntities"
+"(Method finderMethod,\n"
+" Object[] args,\n"
+" EntityEnterpriseContext "
+"instance)\n"
+" throws Exception;\n"
+" \n"
+" /**\n"
+" * This method is called when "
+"an entity shall be activated. The\n"
+" * persistence manager must "
+"call the ejbActivate method on the\n"
+" * instance.\n"
+" *\n"
+" * @param instance the "
+"instance to use for the activation\n"
+" *\n"
+" * @throws RemoteException "
+"thrown if some system exception occurs\n"
+" */\n"
+" void activateEntity"
+"(EntityEnterpriseContext instance)\n"
+" throws RemoteException;\n"
+" \n"
+" /**\n"
+" * This method is called "
+"whenever an entity shall be load from the\n"
+" * underlying storage. The "
+"persistence manager must load the state\n"
+" * from the underlying "
+"storage and then call ejbLoad on the\n"
+" * supplied instance.\n"
+" *\n"
+" * @param instance the "
+"instance to synchronize\n"
+" *\n"
+" * @throws RemoteException "
+"thrown if some system exception occurs\n"
+" */\n"
+" void loadEntity"
+"(EntityEnterpriseContext instance)\n"
+" throws RemoteException;\n"
+" \n"
+" /**\n"
+" * This method is used to "
+"determine if an entity should be stored.\n"
+" *\n"
+" * @param instance the "
+"instance to check\n"
+" * @return true, if the "
+"entity has been modified\n"
+" * @throws Exception thrown "
+"if some system exception occurs\n"
+" */\n"
+" boolean isModified"
+"(EntityEnterpriseContext instance) throws Exception;\n"
+" \n"
+" /**\n"
+" * This method is called "
+"whenever an entity shall be stored to the\n"
+" * underlying storage. The "
+"persistence manager must call ejbStore\n"
+" * on the supplied instance "
+"and then store the state to the\n"
+" * underlying storage.\n"
+" *\n"
+" * @param instance the "
+"instance to synchronize\n"
+" *\n"
+" * @throws RemoteException "
+"thrown if some system exception occurs\n"
+" */\n"
+" void storeEntity"
+"(EntityEnterpriseContext instance)\n"
+" throws RemoteException;\n"
+" \n"
+" /**\n"
+" * This method is called when "
+"an entity shall be passivate. The\n"
+" * persistence manager must "
+"call the ejbPassivate method on the\n"
+" * instance.\n"
+" *\n"
+" * @param instance the "
+"instance to passivate\n"
+" *\n"
+" * @throws RemoteException "
+"thrown if some system exception occurs\n"
+" */\n"
+" void passivateEntity"
+"(EntityEnterpriseContext instance)\n"
+" throws RemoteException;\n"
+" \n"
+" /**\n"
+" * This method is called when "
+"an entity shall be removed from the\n"
+" * underlying storage. The "
+"persistence manager must call ejbRemove\n"
+" * on the instance and then "
+"remove its state from the underlying\n"
+" * storage.\n"
+" *\n"
+" * @param instance the "
+"instance to remove\n"
+" *\n"
+" * @throws RemoteException "
+"thrown if some system exception occurs\n"
+" * @throws RemoveException "
+"thrown if the instance could not be removed\n"
+" */\n"
+" void removeEntity"
+"(EntityEnterpriseContext instance)\n"
+" throws RemoteException, "
+"RemoveException;\n"
+" }"
#. Tag: title
#: J2EE_EJBs_On_JBOSS.xml:1115
@@ -4140,6 +4705,253 @@
"RemoveException;\n"
" }"
msgstr ""
+"public interface EntityPersistenceStore \n"
+" extends ContainerPlugin\n"
+" {\n"
+" /**\n"
+" * Returns a new instance of "
+"the bean class or a subclass of the\n"
+" * bean class.\n"
+" *\n"
+" * @return the new instance\n"
+" *\n"
+" * @throws Exception\n"
+" */\n"
+" Object "
+"createBeanClassInstance() \n"
+" throws Exception;\n"
+" \n"
+" /**\n"
+" * Initializes the instance "
+"context.\n"
+" *\n"
+" * <p>This method is "
+"called before createEntity, and should\n"
+" * reset the value of all "
+"cmpFields to 0 or null.\n"
+" *\n"
+" * @param ctx\n"
+" *\n"
+" * @throws RemoteException\n"
+" */\n"
+" void initEntity"
+"(EntityEnterpriseContext ctx);\n"
+" \n"
+" /**\n"
+" * This method is called "
+"whenever an entity is to be created. The\n"
+" * persistence manager is "
+"responsible for handling the results\n"
+" * properly wrt the "
+"persistent store.\n"
+" *\n"
+" * @param m the create method "
+"in the home interface that was\n"
+" * called\n"
+" * @param args any create "
+"parameters\n"
+" * @param instance the "
+"instance being used for this create call\n"
+" * @return The primary key "
+"computed by CMP PM or null for BMP\n"
+" *\n"
+" * @throws Exception\n"
+" */\n"
+" Object createEntity(Method "
+"m,\n"
+" Object[] args,\n"
+" EntityEnterpriseContext "
+"instance)\n"
+" throws Exception;\n"
+" \n"
+" /**\n"
+" * This method is called when "
+"single entities are to be found. The\n"
+" * persistence manager must "
+"find out whether the wanted instance\n"
+" * is available in the "
+"persistence store, if so it returns the\n"
+" * primary key of the "
+"object.\n"
+" *\n"
+" * @param finderMethod the "
+"find method in the home interface that was\n"
+" * called\n"
+" * @param args any finder "
+"parameters\n"
+" * @param instance the "
+"instance to use for the finder call\n"
+" * @return a primary key "
+"representing the found entity\n"
+" *\n"
+" * @throws RemoteException "
+"thrown if some system exception occurs\n"
+" * @throws FinderException "
+"thrown if some heuristic problem occurs\n"
+" */\n"
+" Object findEntity(Method "
+"finderMethod,\n"
+" Object[] args,\n"
+" EntityEnterpriseContext "
+"instance)\n"
+" throws Exception;\n"
+" \n"
+" /**\n"
+" * This method is called when "
+"collections of entities are to be\n"
+" * found. The persistence "
+"manager must find out whether the wanted\n"
+" * instances are available in "
+"the persistence store, and if so it\n"
+" * must return a collection "
+"of primaryKeys.\n"
+" *\n"
+" * @param finderMethod the "
+"find method in the home interface that was\n"
+" * called\n"
+" * @param args any finder "
+"parameters\n"
+" * @param instance the "
+"instance to use for the finder call\n"
+" * @return an primary key "
+"collection representing the found\n"
+" * entities\n"
+" *\n"
+" * @throws RemoteException "
+"thrown if some system exception occurs\n"
+" * @throws FinderException "
+"thrown if some heuristic problem occurs\n"
+" */\n"
+" Collection findEntities"
+"(Method finderMethod,\n"
+" Object[] args,\n"
+" EntityEnterpriseContext "
+"instance)\n"
+" throws Exception;\n"
+" \n"
+" /**\n"
+" * This method is called when "
+"an entity shall be activated.\n"
+" *\n"
+" * <p>With the "
+"PersistenceManager factorization most EJB\n"
+" * calls should not exists "
+"However this calls permits us to\n"
+" * introduce optimizations in "
+"the persistence store. Particularly\n"
+" * the context has a "
+"\"PersistenceContext\" that a PersistenceStore\n"
+" * can use (JAWS does for "
+"smart updates) and this is as good a\n"
+" * callback as any other to "
+"set it up.\n"
+" * @param instance the "
+"instance to use for the activation\n"
+" *\n"
+" * @throws RemoteException "
+"thrown if some system exception occurs\n"
+" */\n"
+" void activateEntity"
+"(EntityEnterpriseContext instance)\n"
+" throws RemoteException;\n"
+" \n"
+" /**\n"
+" * This method is called "
+"whenever an entity shall be load from the\n"
+" * underlying storage. The "
+"persistence manager must load the state\n"
+" * from the underlying "
+"storage and then call ejbLoad on the\n"
+" * supplied instance.\n"
+" *\n"
+" * @param instance the "
+"instance to synchronize\n"
+" *\n"
+" * @throws RemoteException "
+"thrown if some system exception occurs\n"
+" */\n"
+" void loadEntity"
+"(EntityEnterpriseContext instance)\n"
+" throws RemoteException;\n"
+" \n"
+" /**\n"
+" * This method is used to "
+"determine if an entity should be stored.\n"
+" *\n"
+" * @param instance the "
+"instance to check\n"
+" * @return true, if the "
+"entity has been modified\n"
+" * @throws Exception thrown "
+"if some system exception occurs\n"
+" */\n"
+" boolean isModified"
+"(EntityEnterpriseContext instance)\n"
+" throws Exception;\n"
+" \n"
+" /**\n"
+" * This method is called "
+"whenever an entity shall be stored to the\n"
+" * underlying storage. The "
+"persistence manager must call ejbStore\n"
+" * on the supplied instance "
+"and then store the state to the\n"
+" * underlying storage.\n"
+" *\n"
+" * @param instance the "
+"instance to synchronize\n"
+" *\n"
+" * @throws RemoteException "
+"thrown if some system exception occurs\n"
+" */\n"
+" void storeEntity"
+"(EntityEnterpriseContext instance)\n"
+" throws RemoteException;\n"
+" \n"
+" /**\n"
+" * This method is called when "
+"an entity shall be passivate. The\n"
+" * persistence manager must "
+"call the ejbPassivate method on the\n"
+" * instance.\n"
+" *\n"
+" * <p>See the activate "
+"discussion for the reason for\n"
+" * exposing EJB callback * "
+"calls to the store.\n"
+" *\n"
+" * @param instance the "
+"instance to passivate\n"
+" *\n"
+" * @throws RemoteException "
+"thrown if some system exception occurs\n"
+" */\n"
+" void passivateEntity"
+"(EntityEnterpriseContext instance)\n"
+" throws RemoteException;\n"
+" \n"
+" /**\n"
+" * This method is called when "
+"an entity shall be removed from the\n"
+" * underlying storage. The "
+"persistence manager must call ejbRemove\n"
+" * on the instance and then "
+"remove its state from the underlying\n"
+" * storage.\n"
+" *\n"
+" * @param instance the "
+"instance to remove\n"
+" *\n"
+" * @throws RemoteException "
+"thrown if some system exception occurs\n"
+" * @throws RemoveException "
+"thrown if the instance could not be removed\n"
+" */\n"
+" void removeEntity"
+"(EntityEnterpriseContext instance)\n"
+" throws RemoteException, "
+"RemoveException;\n"
+" }"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:1121
@@ -4235,6 +5047,31 @@
"(Object key);\n"
" }"
msgstr ""
+"public interface StatefulSessionPersistenceManager \n"
+" extends ContainerPlugin\n"
+" {\n"
+" public void createSession"
+"(Method m, Object[] args,\n"
+" StatefulSessionEnterpriseContext "
+"ctx)\n"
+" throws Exception;\n"
+" \n"
+" public void activateSession"
+"(StatefulSessionEnterpriseContext ctx)\n"
+" throws RemoteException;\n"
+" \n"
+" public void passivateSession"
+"(StatefulSessionEnterpriseContext ctx)\n"
+" throws RemoteException;\n"
+" \n"
+" public void removeSession"
+"(StatefulSessionEnterpriseContext ctx)\n"
+" throws RemoteException, "
+"RemoveException;\n"
+" \n"
+" public void removePassivated"
+"(Object key);\n"
+" }"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:1158
@@ -4437,7 +5274,7 @@
#. Tag: programlisting
#: J2EE_EJBs_On_JBOSS.xml:1241
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<container-interceptors>\n"
" <interceptor>org.jboss.ejb.plugins."
@@ -4468,68 +5305,34 @@
"jdbc.JDBCRelationInterceptor</interceptor>\n"
" </container-interceptors>"
msgstr ""
-"<jboss>\n"
-" <session>\n"
-" <ejb-name>nextgen_RetryInterceptorStatelessSession</ejb-"
-"name>\n"
-" <invoker-bindings>\n"
-" <invoker>\n"
-" <invoker-proxy-binding-name>\n"
-" clustered-retry-stateless-rmi-invoker\n"
-" </invoker-proxy-binding-name>\n"
-" <jndi-name>\n"
-" nextgen_RetryInterceptorStatelessSession\n"
-" </jndi-name>\n"
-" </invoker>\n"
-" </invoker-bindings>\n"
-" <clustered>true</clustered>\n"
-" </session>\n"
-"\n"
-" <invoker-proxy-binding>\n"
-" <name>clustered-retry-stateless-rmi-invoker</name>\n"
-" <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-"
-"mbean>\n"
-" <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-"
-"factory>\n"
-" <proxy-factory-config>\n"
-" <client-interceptors>\n"
-" <home>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.HomeInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.SecurityInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.TransactionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.RetryInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.invocation.InvokerInterceptor\n"
-" </interceptor>\n"
-" </home>\n"
-" <bean>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.StatelessSessionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.SecurityInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.TransactionInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.proxy.ejb.RetryInterceptor\n"
-" </interceptor>\n"
-" <interceptor>\n"
-" org.jboss.invocation.InvokerInterceptor\n"
-" </interceptor>\n"
-" </bean>\n"
-" </client-interceptors>\n"
-" </proxy-factory-config>\n"
-" </invoker-proxy-binding>"
+"<container-interceptors>\n"
+" <interceptor>org.jboss.ejb.plugins."
+"ProxyFactoryFinderInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb.plugins."
+"LogInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb.plugins."
+"SecurityInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb.plugins."
+"TxInterceptorCMT</interceptor>\n"
+" <interceptor>org.jboss.ejb.plugins."
+"CallValidationInterceptor</interceptor>\n"
+" <interceptor metricsEnabled=\"true\">"
+"org.jboss.ejb.plugins.MetricsInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb.plugins."
+"EntityCreationInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb.plugins."
+"EntityLockInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb.plugins."
+"EntityInstanceInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb.plugins."
+"EntityReentranceInterceptor</interceptor>\n"
+" <interceptor>org.jboss.resource."
+"connectionmanager.CachedConnectionInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb.plugins."
+"EntitySynchronizationInterceptor</interceptor>\n"
+" <interceptor>org.jboss.ejb.plugins.cmp."
+"jdbc.JDBCRelationInterceptor</interceptor>\n"
+" </container-interceptors>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:1242
@@ -4737,6 +5540,25 @@
" }\n"
" }"
msgstr ""
+"try {\n"
+" // ...\n"
+" } catch (RemoteException ex) {\n"
+" Throwable cause = null;\n"
+" RemoteException rex = ex;\n"
+" while (rex.detail != null) {\n"
+" cause = rex.detail;\n"
+" if (cause instanceof "
+"ApplicationDeadlockException) {\n"
+" // ... We have deadlock, force a "
+"retry of the transaction.\n"
+" break;\n"
+" }\n"
+" if (cause instanceof "
+"RemoteException) {\n"
+" rex = (RemoteException)cause;\n"
+" }\n"
+" }\n"
+" }"
#. Tag: title
#: J2EE_EJBs_On_JBOSS.xml:1340
@@ -4762,6 +5584,9 @@
" name=\"jboss.monitor:"
"name=EntityLockMonitor\"/>"
msgstr ""
+"<mbean code=\"org.jboss.monitor.EntityLockMonitor\"\n"
+" name=\"jboss.monitor:"
+"name=EntityLockMonitor\"/>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:1345
@@ -4918,7 +5743,7 @@
#. Tag: programlisting
#: J2EE_EJBs_On_JBOSS.xml:1417
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<jboss>\n"
" <enterprise-beans>\n"
@@ -4933,29 +5758,18 @@
" </enterprise-beans>\n"
" </jboss>"
msgstr ""
-"<jboss> \n"
-" <enterprise-beans> \n"
-" <entity> \n"
-" <ejb-name>nextgen.EnterpriseEntity</ejb-"
-"name> \n"
-" <jndi-name>nextgen.EnterpriseEntity</jndi-"
-"name> \n"
-" <clustered>True</clustered> \n"
-" <cluster-config> \n"
-" <partition-name>DefaultPartition</partition-"
-"name> \n"
-" <home-load-balance-policy> \n"
-" org.jboss.ha.framework.interfaces."
-"RoundRobin \n"
-" </home-load-balance-policy> \n"
-" <bean-load-balance-policy> \n"
-" org.jboss.ha.framework.interfaces."
-"FirstAvailable \n"
-" </bean-load-balance-policy> \n"
-" </cluster-config> \n"
-" </entity> \n"
-" </enterprise-beans> \n"
-"</jboss>"
+"<jboss>\n"
+" <enterprise-beans>\n"
+" <entity>\n"
+" <ejb-name>"
+"MyEntityBean</ejb-name>\n"
+" <jndi-name>"
+"MyEntityHomeRemote</jndi-name>\n"
+" <read-only>True</"
+"read-only>\n"
+" </entity>\n"
+" </enterprise-beans>\n"
+" </jboss>"
#. Tag: title
#: J2EE_EJBs_On_JBOSS.xml:1422
@@ -4986,7 +5800,7 @@
#. Tag: programlisting
#: J2EE_EJBs_On_JBOSS.xml:1427
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<jboss>\n"
" <enterprise-beans>\n"
@@ -5013,29 +5827,30 @@
" </enterprise-beans>\n"
" </jboss>"
msgstr ""
-"<jboss> \n"
-" <enterprise-beans> \n"
-" <entity> \n"
-" <ejb-name>nextgen.EnterpriseEntity</ejb-"
-"name> \n"
-" <jndi-name>nextgen.EnterpriseEntity</jndi-"
-"name> \n"
-" <clustered>True</clustered> \n"
-" <cluster-config> \n"
-" <partition-name>DefaultPartition</partition-"
-"name> \n"
-" <home-load-balance-policy> \n"
-" org.jboss.ha.framework.interfaces."
-"RoundRobin \n"
-" </home-load-balance-policy> \n"
-" <bean-load-balance-policy> \n"
-" org.jboss.ha.framework.interfaces."
-"FirstAvailable \n"
-" </bean-load-balance-policy> \n"
-" </cluster-config> \n"
-" </entity> \n"
-" </enterprise-beans> \n"
-"</jboss>"
+"<jboss>\n"
+" <enterprise-beans>\n"
+" <entity>\n"
+" <ejb-name>nextgen."
+"EnterpriseEntity</ejb-name>\n"
+" <jndi-name>nextgen."
+"EnterpriseEntity</jndi-name>\n"
+" <method-attributes>\n"
+" <method>\n"
+" <method-name>get*</"
+"method-name>\n"
+" <read-only>true</"
+"read-only>\n"
+" </method>\n"
+" <method>\n"
+" <method-name>"
+"anotherReadOnlyMethod</method-name>\n"
+" <read-only>true</"
+"read-only>\n"
+" </method>\n"
+" </method-attributes>\n"
+" </entity>\n"
+" </enterprise-beans>\n"
+" </jboss>"
#. Tag: title
#: J2EE_EJBs_On_JBOSS.xml:1432
@@ -5095,7 +5910,7 @@
#. Tag: programlisting
#: J2EE_EJBs_On_JBOSS.xml:1443
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<jboss>\n"
" <enterprise-beans>\n"
@@ -5122,27 +5937,30 @@
" </enterprise-beans>\n"
" </jboss>"
msgstr ""
-"<jboss> \n"
-" <enterprise-beans> \n"
-" <session> \n"
-" <ejb-name>nextgen.StatelessSession</ejb-"
-"name> \n"
-" <jndi-name>nextgen.StatelessSession</jndi-"
-"name> \n"
-" <clustered>True</clustered> \n"
-" <cluster-config> \n"
-" <partition-name>DefaultPartition</partition-"
-"name> \n"
-" <home-load-balance-policy> \n"
-" org.jboss.ha.framework.interfaces.RoundRobin \n"
-" </home-load-balance-policy> \n"
-" <bean-load-balance-policy> \n"
-" org.jboss.ha.framework.interfaces.RoundRobin\n"
-" </bean-load-balance-policy>\n"
-" </cluster-config>\n"
-" </session>\n"
-" </enterprise-beans>\n"
-"</jboss>"
+"<jboss>\n"
+" <enterprise-beans>\n"
+" <entity>\n"
+" <ejb-name>"
+"MyCMP2Bean</ejb-name>\n"
+" <jndi-name>MyCMP2</"
+"jndi-name>\n"
+" <configuration-name>\n"
+" Instance Per Transaction CMP "
+"2.x EntityBean\n"
+" </configuration-name>\n"
+" </entity>\n"
+" <entity>\n"
+" <ejb-name>"
+"MyBMPBean</ejb-name>\n"
+" <jndi-name>MyBMP</"
+"jndi-name>\n"
+" <configuration-name>\n"
+" Instance Per Transaction BMP "
+"EntityBean\n"
+" </configuration-name>\n"
+" </entity>\n"
+" </enterprise-beans>\n"
+" </jboss>"
#. Tag: title
#: J2EE_EJBs_On_JBOSS.xml:1450
@@ -5306,6 +6124,17 @@
"\">org.jboss.ejb.txtimer.TimedObjectInvokerImpl</attribute>\n"
" </mbean>"
msgstr ""
+"<mbean code=\"org.jboss.ejb.txtimer.EJBTimerServiceImpl\" name=\"jboss."
+"ejb:service=EJBTimerService\">\n"
+" <attribute name=\"RetryPolicy\">jboss.ejb:"
+"service=EJBTimerService,retryPolicy=fixedDelay</attribute>\n"
+" <attribute name=\"PersistencePolicy\">jboss."
+"ejb:service=EJBTimerService,persistencePolicy=database</attribute>\n"
+" <attribute name=\"TimerIdGeneratorClassName\">"
+"org.jboss.ejb.txtimer.BigIntegerTimerIdGenerator</attribute>\n"
+" <attribute name=\"TimedObjectInvokerClassName"
+"\">org.jboss.ejb.txtimer.TimedObjectInvokerImpl</attribute>\n"
+" </mbean>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:1512
@@ -5385,6 +6214,12 @@
"attribute>\n"
" </mbean>"
msgstr ""
+"<mbean code=\"org.jboss.ejb.txtimer.FixedDelayRetryPolicy\"\n"
+" name=\"jboss.ejb:service=EJBTimerService,"
+"retryPolicy=fixedDelay\">\n"
+" <attribute name=\"Delay\">100</"
+"attribute>\n"
+" </mbean>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:1541
@@ -5419,6 +6254,9 @@
" name=\"jboss.ejb:service=EJBTimerService,"
"persistencePolicy=noop\"/>"
msgstr ""
+"<mbean code=\"org.jboss.ejb.txtimer.NoopPersistencePolicy\" \n"
+" name=\"jboss.ejb:service=EJBTimerService,"
+"persistencePolicy=noop\"/>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:1555
@@ -5445,6 +6283,18 @@
"attribute>\n"
" </mbean>"
msgstr ""
+"<mbean code=\"org.jboss.ejb.txtimer.DatabasePersistencePolicy\" \n"
+" name=\"jboss.ejb:service=EJBTimerService,"
+"persistencePolicy=database\">\n"
+" <!-- DataSource JNDI name -->\n"
+" <depends optional-attribute-name=\"DataSource"
+"\">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>\n"
+" <!-- The plugin that handles database persistence "
+"-->\n"
+" <attribute name=\"DatabasePersistencePlugin\">"
+"org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin</"
+"attribute>\n"
+" </mbean>"
#. Tag: para
#: J2EE_EJBs_On_JBOSS.xml:1561
More information about the jboss-cvs-commits
mailing list