Package org.frankframework.jndi
Class JndiConnectionFactoryFactory
java.lang.Object
org.frankframework.jdbc.datasource.ObjectFactory<jakarta.jms.ConnectionFactory>
org.frankframework.jndi.JndiConnectionFactoryFactory
- All Implemented Interfaces:
IConnectionFactoryFactory
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
NarayanaConnectionFactoryFactory
public class JndiConnectionFactoryFactory
extends ObjectFactory<jakarta.jms.ConnectionFactory>
implements IConnectionFactoryFactory
-
Field Summary
Fields inherited from class org.frankframework.jdbc.datasource.ObjectFactory
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.jms.ConnectionFactory
getConnectionFactory
(String connectionFactoryName) jakarta.jms.ConnectionFactory
getConnectionFactory
(String connectionFactoryName, Properties environment) Return all known/registered ConnectionFactoriesMethods inherited from class org.frankframework.jdbc.datasource.ObjectFactory
add, afterPropertiesSet, augment, destroy, get, getObjectNames, setObjectLocators
-
Constructor Details
-
JndiConnectionFactoryFactory
public JndiConnectionFactoryFactory()
-
-
Method Details
-
getConnectionFactory
public jakarta.jms.ConnectionFactory getConnectionFactory(String connectionFactoryName) throws NamingException - Specified by:
getConnectionFactory
in interfaceIConnectionFactoryFactory
- Throws:
NamingException
-
getConnectionFactory
public jakarta.jms.ConnectionFactory getConnectionFactory(String connectionFactoryName, Properties environment) throws NamingException - Specified by:
getConnectionFactory
in interfaceIConnectionFactoryFactory
- Throws:
NamingException
-
getConnectionFactoryNames
Description copied from interface:IConnectionFactoryFactory
Return all known/registered ConnectionFactories- Specified by:
getConnectionFactoryNames
in interfaceIConnectionFactoryFactory
-