Package org.frankframework.jndi
Class JmsConnectionFactoryFactory
java.lang.Object
org.frankframework.jdbc.datasource.ObjectFactory<jakarta.jms.ConnectionFactory,jakarta.jms.ConnectionFactory>
org.frankframework.jndi.JmsConnectionFactoryFactory
- All Implemented Interfaces:
IConnectionFactoryFactory,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
NarayanaConnectionFactoryFactory
public class JmsConnectionFactoryFactory
extends ObjectFactory<jakarta.jms.ConnectionFactory,jakarta.jms.ConnectionFactory>
implements IConnectionFactoryFactory
A factory for creating JMS ConnectionFactory objects.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.frankframework.jdbc.datasource.ObjectFactory
ObjectFactory.ObjectInfo -
Field Summary
Fields inherited from class org.frankframework.jdbc.datasource.ObjectFactory
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final jakarta.jms.ConnectionFactoryAllow implementing classes to augment the looked up object class 'O'.protected jakarta.jms.ConnectionFactoryaugmentConnectionFactory(jakarta.jms.ConnectionFactory cf, String objectName) Allow implementing classes to augment the ConnectionFactory.jakarta.jms.ConnectionFactorygetConnectionFactory(String connectionFactoryName, Properties environment) Lookup a JMSConnectionFactoryby name, with optional JNDI environment or other additional properties to be used for the lookup of the datasource.Return all known/registered ConnectionFactoriesprotected ObjectFactory.ObjectInfotoObjectInfo(String name) Mapping fromto a information object, used for logging and console actions. Methods inherited from class org.frankframework.jdbc.datasource.ObjectFactory
add, afterPropertiesSet, destroy, destroyObject, get, getObjectInfo, getObjectNames, postDestroyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.frankframework.jms.IConnectionFactoryFactory
getConnectionFactory
-
Constructor Details
-
JmsConnectionFactoryFactory
public JmsConnectionFactoryFactory()
-
-
Method Details
-
augmentConnectionFactory
@Nonnull protected jakarta.jms.ConnectionFactory augmentConnectionFactory(@Nonnull jakarta.jms.ConnectionFactory cf, @Nonnull String objectName) Allow implementing classes to augment the ConnectionFactory. Seeaugment(ConnectionFactory, String). -
augment
@Nonnull protected final jakarta.jms.ConnectionFactory augment(@Nonnull jakarta.jms.ConnectionFactory connectionFactory, @Nonnull String objectName) Description copied from class:ObjectFactoryAllow implementing classes to augment the looked up object class 'O'. Allows the originally created object to be mutated to another object. Useful to generate an object from a filled DTO.- Overrides:
augmentin classObjectFactory<jakarta.jms.ConnectionFactory,jakarta.jms.ConnectionFactory>
-
getConnectionFactory
@Nonnull public jakarta.jms.ConnectionFactory getConnectionFactory(@Nonnull String connectionFactoryName, @Nullable Properties environment) Description copied from interface:IConnectionFactoryFactoryLookup a JMSConnectionFactoryby name, with optional JNDI environment or other additional properties to be used for the lookup of the datasource.- Specified by:
getConnectionFactoryin interfaceIConnectionFactoryFactory- See Also:
-
getConnectionFactoryNames
Description copied from interface:IConnectionFactoryFactoryReturn all known/registered ConnectionFactories- Specified by:
getConnectionFactoryNamesin interfaceIConnectionFactoryFactory
-
toObjectInfo
Description copied from class:ObjectFactoryMapping fromto a information object, used for logging and console actions. - Overrides:
toObjectInfoin classObjectFactory<jakarta.jms.ConnectionFactory,jakarta.jms.ConnectionFactory>
-