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 ObjectFactory
ObjectFactory.ObjectInfo -
Field Summary
Fields inherited from class ObjectFactory
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final @NonNull jakarta.jms.ConnectionFactoryAllow implementing classes to augment the looked up object class 'O'.protected @NonNull jakarta.jms.ConnectionFactoryaugmentConnectionFactory(@NonNull jakarta.jms.ConnectionFactory cf, @NonNull String objectName) Allow implementing classes to augment the ConnectionFactory.@NonNull jakarta.jms.ConnectionFactorygetConnectionFactory(@NonNull String connectionFactoryName, @Nullable 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 @NonNull ObjectFactory.ObjectInfotoObjectInfo(@NonNull String name) Mapping fromto a information object, used for logging and console actions. Methods inherited from class ObjectFactory
add, afterPropertiesSet, destroy, destroyObject, get, getObjectInfo, getObjectNames, postDestroyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IConnectionFactoryFactory
getConnectionFactory
-
Constructor Details
-
JmsConnectionFactoryFactory
public JmsConnectionFactoryFactory()
-
-
Method Details
-
augmentConnectionFactory
protected @NonNull jakarta.jms.ConnectionFactory augmentConnectionFactory(@NonNull jakarta.jms.ConnectionFactory cf, @NonNull String objectName) Allow implementing classes to augment the ConnectionFactory. Seeaugment(ConnectionFactory, String). -
augment
protected final @NonNull 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
public @NonNull 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>
-