接口 JmsActivationSpecFactory
public interface JmsActivationSpecFactory
Strategy interface for creating JCA 1.5 ActivationSpec objects based on a configuredJmsActivationSpecConfig
object.JCA 1.5 ActivationSpec objects are typically JavaBeans, but unfortunately provider-specific. This strategy interface allows for plugging in any JCA-based JMS provider, creating corresponding ActivationSpec objects based on common JMS configuration settings.
- 从以下版本开始:
- 2.5
- 作者:
- Juergen Hoeller
- 另请参阅:
JmsActivationSpecConfig
,JmsMessageEndpointManager.setActivationSpecFactory(org.springframework.jms.listener.endpoint.JmsActivationSpecFactory)
,ResourceAdapter.endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory, javax.resource.spi.ActivationSpec)
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ActivationSpec
createActivationSpec(ResourceAdapter adapter, JmsActivationSpecConfig config)
Create a JCA 1.5 ActivationSpec object based on the givenJmsActivationSpecConfig
object.
方法详细资料
createActivationSpec
ActivationSpec createActivationSpec(ResourceAdapter adapter, JmsActivationSpecConfig config)
Create a JCA 1.5 ActivationSpec object based on the givenJmsActivationSpecConfig
object.- 参数:
adapter
- the ResourceAdapter to create an ActivationSpec object forconfig
- the configured object holding common JMS settings- 返回:
- the provider-specific JCA ActivationSpec object, representing the same settings