Package org.frankframework.jndi
Class JndiConnectionFactoryFactory
java.lang.Object
org.frankframework.jdbc.datasource.ObjectFactory<jakarta.jms.ConnectionFactory,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,jakarta.jms.ConnectionFactory>
implements IConnectionFactoryFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class org.frankframework.jdbc.datasource.ObjectFactory
ObjectFactory.ObjectInfo
-
Field Summary
FieldsFields inherited from class org.frankframework.jdbc.datasource.ObjectFactory
log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final jakarta.jms.ConnectionFactory
Allow implementing classes to augment the looked up object class 'O'.protected jakarta.jms.ConnectionFactory
augmentConnectionFactory
(jakarta.jms.ConnectionFactory cf, String objectName) Allow implementing classes to augment the ConnectionFactory.jakarta.jms.ConnectionFactory
getConnectionFactory
(String connectionFactoryName) jakarta.jms.ConnectionFactory
getConnectionFactory
(String connectionFactoryName, Properties environment) Return all known/registered ConnectionFactoriesprotected ObjectFactory.ObjectInfo
toObjectInfo
(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, get, getObjectInfo, getObjectNames, map
-
Field Details
-
CLOSE
- See Also:
-
-
Constructor Details
-
JndiConnectionFactoryFactory
public JndiConnectionFactoryFactory()
-
-
Method Details
-
augmentConnectionFactory
protected jakarta.jms.ConnectionFactory augmentConnectionFactory(jakarta.jms.ConnectionFactory cf, String objectName) Allow implementing classes to augment the ConnectionFactory. Seeaugment(ConnectionFactory, String)
. -
augment
protected final jakarta.jms.ConnectionFactory augment(jakarta.jms.ConnectionFactory connectionFactory, String objectName) Description copied from class:ObjectFactory
Allow implementing classes to augment the looked up object class 'O'.- Overrides:
augment
in classObjectFactory<jakarta.jms.ConnectionFactory,
jakarta.jms.ConnectionFactory>
-
getConnectionFactory
- Specified by:
getConnectionFactory
in interfaceIConnectionFactoryFactory
-
getConnectionFactory
public jakarta.jms.ConnectionFactory getConnectionFactory(String connectionFactoryName, Properties environment) - Specified by:
getConnectionFactory
in interfaceIConnectionFactoryFactory
-
getConnectionFactoryNames
Description copied from interface:IConnectionFactoryFactory
Return all known/registered ConnectionFactories- Specified by:
getConnectionFactoryNames
in interfaceIConnectionFactoryFactory
-
toObjectInfo
Description copied from class:ObjectFactory
Mapping fromto a information object, used for logging and console actions. - Overrides:
toObjectInfo
in classObjectFactory<jakarta.jms.ConnectionFactory,
jakarta.jms.ConnectionFactory>
-