Fix broken links in Javadoc
This commit removes several links that were broken due to the removal of various APIs in 6.0. See gh-27480
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2020 the original author or authors.
|
||||
* Copyright 2002-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -39,21 +39,22 @@ import org.springframework.util.Assert;
|
||||
*
|
||||
* <pre class="code">
|
||||
* <bean class="org.springframework.jca.endpoint.GenericMessageEndpointManager">
|
||||
* <property name="resourceAdapter" ref="resourceAdapter"/>
|
||||
* <property name="messageEndpointFactory">
|
||||
* <bean class="org.springframework.jca.endpoint.GenericMessageEndpointFactory">
|
||||
* <property name="messageListener" ref="messageListener"/>
|
||||
* </bean>
|
||||
* </property>
|
||||
* <property name="activationSpec">
|
||||
* <bean class="org.apache.activemq.ra.ActiveMQActivationSpec">
|
||||
* <property name="destination" value="myQueue"/>
|
||||
* <property name="destinationType" value="jakarta.jms.Queue"/>
|
||||
* </bean>
|
||||
* </property>
|
||||
* </bean></pre>
|
||||
* <property name="resourceAdapter" ref="resourceAdapter"/>
|
||||
* <property name="messageEndpointFactory">
|
||||
* <bean class="org.springframework.jca.endpoint.GenericMessageEndpointFactory">
|
||||
* <property name="messageListener" ref="messageListener"/>
|
||||
* </bean>
|
||||
* </property>
|
||||
* <property name="activationSpec">
|
||||
* <bean class="org.apache.activemq.ra.ActiveMQActivationSpec">
|
||||
* <property name="destination" value="myQueue"/>
|
||||
* <property name="destinationType" value="jakarta.jms.Queue"/>
|
||||
* </bean>
|
||||
* </property>
|
||||
* </bean>
|
||||
* </pre>
|
||||
*
|
||||
* In this example, Spring's own {@link GenericMessageEndpointFactory} is used
|
||||
* <p>In this example, Spring's own {@link GenericMessageEndpointFactory} is used
|
||||
* to point to a standard message listener object that happens to be supported
|
||||
* by the specified target ResourceAdapter: in this case, a JMS
|
||||
* {@link jakarta.jms.MessageListener} object as supported by the ActiveMQ
|
||||
@@ -61,37 +62,38 @@ import org.springframework.util.Assert;
|
||||
*
|
||||
* <pre class="code">
|
||||
* <bean id="messageListener" class="com.myorg.messaging.myMessageListener">
|
||||
* ...
|
||||
* </bean></pre>
|
||||
* <!-- ... -->
|
||||
* </bean>
|
||||
* </pre>
|
||||
*
|
||||
* The target ResourceAdapter may be configured as a local Spring bean as well
|
||||
* <p>The target ResourceAdapter may be configured as a local Spring bean as well
|
||||
* (the typical case) or obtained from JNDI (e.g. on WebLogic). For the
|
||||
* example above, a local ResourceAdapter bean could be defined as follows
|
||||
* (matching the "resourceAdapter" bean reference above):
|
||||
*
|
||||
* <pre class="code">
|
||||
* <bean id="resourceAdapter" class="org.springframework.jca.support.ResourceAdapterFactoryBean">
|
||||
* <property name="resourceAdapter">
|
||||
* <bean class="org.apache.activemq.ra.ActiveMQResourceAdapter">
|
||||
* <property name="serverUrl" value="tcp://localhost:61616"/>
|
||||
* </bean>
|
||||
* </property>
|
||||
* <property name="workManager">
|
||||
* <bean class="org.springframework.jca.work.SimpleTaskWorkManager"/>
|
||||
* </property>
|
||||
* </bean></pre>
|
||||
* <property name="resourceAdapter">
|
||||
* <bean class="org.apache.activemq.ra.ActiveMQResourceAdapter">
|
||||
* <property name="serverUrl" value="tcp://localhost:61616"/>
|
||||
* </bean>
|
||||
* </property>
|
||||
* <property name="workManager">
|
||||
* <bean class="..."/>
|
||||
* </property>
|
||||
* </bean>
|
||||
* </pre>
|
||||
*
|
||||
* For a different target resource, the configuration would simply point to a
|
||||
* <p>For a different target resource, the configuration would simply point to a
|
||||
* different ResourceAdapter and a different ActivationSpec object (which are
|
||||
* both specific to the resource provider), and possibly a different message
|
||||
* listener (e.g. a CCI {@link jakarta.resource.cci.MessageListener} for a
|
||||
* resource adapter which is based on the JCA Common Client Interface).
|
||||
*
|
||||
* <p>The asynchronous execution strategy can be customized through the
|
||||
* "workManager" property on the ResourceAdapterFactoryBean (as shown above).
|
||||
* Check out {@link org.springframework.jca.work.SimpleTaskWorkManager}'s
|
||||
* javadoc for its configuration options; alternatively, any other
|
||||
* JCA-compliant WorkManager can be used (e.g. Geronimo's).
|
||||
* "workManager" property on the ResourceAdapterFactoryBean as shown above,
|
||||
* where {@code <bean class="..."/>} should be replaced with configuration for
|
||||
* any JCA-compliant {@code WorkManager}.
|
||||
*
|
||||
* <p>Transactional execution is a responsibility of the concrete message endpoint,
|
||||
* as built by the specified MessageEndpointFactory. {@link GenericMessageEndpointFactory}
|
||||
@@ -101,43 +103,45 @@ import org.springframework.util.Assert;
|
||||
*
|
||||
* <pre class="code">
|
||||
* <bean class="org.springframework.jca.endpoint.GenericMessageEndpointManager">
|
||||
* <property name="resourceAdapter" ref="resourceAdapter"/>
|
||||
* <property name="messageEndpointFactory">
|
||||
* <bean class="org.springframework.jca.endpoint.GenericMessageEndpointFactory">
|
||||
* <property name="messageListener" ref="messageListener"/>
|
||||
* <property name="transactionManager" ref="transactionManager"/>
|
||||
* </bean>
|
||||
* </property>
|
||||
* <property name="activationSpec">
|
||||
* <bean class="org.apache.activemq.ra.ActiveMQActivationSpec">
|
||||
* <property name="destination" value="myQueue"/>
|
||||
* <property name="destinationType" value="jakarta.jms.Queue"/>
|
||||
* </bean>
|
||||
* </property>
|
||||
* <property name="resourceAdapter" ref="resourceAdapter"/>
|
||||
* <property name="messageEndpointFactory">
|
||||
* <bean class="org.springframework.jca.endpoint.GenericMessageEndpointFactory">
|
||||
* <property name="messageListener" ref="messageListener"/>
|
||||
* <property name="transactionManager" ref="transactionManager"/>
|
||||
* </bean>
|
||||
* </property>
|
||||
* <property name="activationSpec">
|
||||
* <bean class="org.apache.activemq.ra.ActiveMQActivationSpec">
|
||||
* <property name="destination" value="myQueue"/>
|
||||
* <property name="destinationType" value="jakarta.jms.Queue"/>
|
||||
* </bean>
|
||||
* </property>
|
||||
* </bean>
|
||||
*
|
||||
* <bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager"/></pre>
|
||||
* <bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager"/>
|
||||
* </pre>
|
||||
*
|
||||
* Alternatively, check out your resource provider's ActivationSpec object,
|
||||
* <p>Alternatively, check out your resource provider's ActivationSpec object,
|
||||
* which should support local transactions through a provider-specific config flag,
|
||||
* e.g. ActiveMQActivationSpec's "useRAManagedTransaction" bean property.
|
||||
*
|
||||
* <pre class="code">
|
||||
* <bean class="org.springframework.jca.endpoint.GenericMessageEndpointManager">
|
||||
* <property name="resourceAdapter" ref="resourceAdapter"/>
|
||||
* <property name="messageEndpointFactory">
|
||||
* <bean class="org.springframework.jca.endpoint.GenericMessageEndpointFactory">
|
||||
* <property name="messageListener" ref="messageListener"/>
|
||||
* </bean>
|
||||
* </property>
|
||||
* <property name="activationSpec">
|
||||
* <bean class="org.apache.activemq.ra.ActiveMQActivationSpec">
|
||||
* <property name="destination" value="myQueue"/>
|
||||
* <property name="destinationType" value="jakarta.jms.Queue"/>
|
||||
* <property name="useRAManagedTransaction" value="true"/>
|
||||
* </bean>
|
||||
* </property>
|
||||
* </bean></pre>
|
||||
* <property name="resourceAdapter" ref="resourceAdapter"/>
|
||||
* <property name="messageEndpointFactory">
|
||||
* <bean class="org.springframework.jca.endpoint.GenericMessageEndpointFactory">
|
||||
* <property name="messageListener" ref="messageListener"/>
|
||||
* </bean>
|
||||
* </property>
|
||||
* <property name="activationSpec">
|
||||
* <bean class="org.apache.activemq.ra.ActiveMQActivationSpec">
|
||||
* <property name="destination" value="myQueue"/>
|
||||
* <property name="destinationType" value="jakarta.jms.Queue"/>
|
||||
* <property name="useRAManagedTransaction" value="true"/>
|
||||
* </bean>
|
||||
* </property>
|
||||
* </bean>
|
||||
* </pre>
|
||||
*
|
||||
* @author Juergen Hoeller
|
||||
* @since 2.5
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
* Copyright 2002-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -57,9 +57,8 @@ import org.springframework.lang.Nullable;
|
||||
* order to make the connector interact with an XA transaction coordinator.
|
||||
* Alternatively, simply use the native local transaction facilities of the
|
||||
* exposed API (e.g. CCI local transactions), or use a corresponding
|
||||
* implementation of Spring's PlatformTransactionManager SPI
|
||||
* (e.g. {@link org.springframework.jca.cci.connection.CciLocalTransactionManager})
|
||||
* to drive local transactions.
|
||||
* implementation of Spring's PlatformTransactionManager SPI to drive local
|
||||
* transactions.
|
||||
*
|
||||
* @author Juergen Hoeller
|
||||
* @since 1.2
|
||||
@@ -67,7 +66,6 @@ import org.springframework.lang.Nullable;
|
||||
* @see #setConnectionManager
|
||||
* @see jakarta.resource.cci.ConnectionFactory
|
||||
* @see jakarta.resource.cci.Connection#getLocalTransaction
|
||||
* @see org.springframework.jca.cci.connection.CciLocalTransactionManager
|
||||
*/
|
||||
public class LocalConnectionFactoryBean implements FactoryBean<Object>, InitializingBean {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user