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.
  • 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. See augment(ConnectionFactory, String).
    • augment

      @Nonnull protected final jakarta.jms.ConnectionFactory augment(@Nonnull jakarta.jms.ConnectionFactory connectionFactory, @Nonnull String objectName)
      Description copied from class: ObjectFactory
      Allow 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:
      augment in class ObjectFactory<jakarta.jms.ConnectionFactory,jakarta.jms.ConnectionFactory>
    • getConnectionFactory

      @Nonnull public jakarta.jms.ConnectionFactory getConnectionFactory(@Nonnull String connectionFactoryName, @Nullable Properties environment)
      Description copied from interface: IConnectionFactoryFactory
      Lookup a JMS ConnectionFactory by name, with optional JNDI environment or other additional properties to be used for the lookup of the datasource.
      Specified by:
      getConnectionFactory in interface IConnectionFactoryFactory
      See Also:
    • getConnectionFactoryNames

      @Nonnull public List<String> getConnectionFactoryNames()
      Description copied from interface: IConnectionFactoryFactory
      Return all known/registered ConnectionFactories
      Specified by:
      getConnectionFactoryNames in interface IConnectionFactoryFactory
    • toObjectInfo

      @Nonnull protected ObjectFactory.ObjectInfo toObjectInfo(@Nonnull String name)
      Description copied from class: ObjectFactory
      Mapping from to a information object, used for logging and console actions.
      Overrides:
      toObjectInfo in class ObjectFactory<jakarta.jms.ConnectionFactory,jakarta.jms.ConnectionFactory>