Class JoramConnectionFactory

  • All Implemented Interfaces:
    org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean

    public class JoramConnectionFactory
    extends Object
    implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.DisposableBean
    This class holds the connection factory (local or tcp).
    • Constructor Detail

      • JoramConnectionFactory

        public JoramConnectionFactory()
    • Method Detail

      • setConnectionFactory

        public void setConnectionFactory​(ConnectionFactory connectionFactory)
        Parameters:
        connectionFactory - the connection factory to set
      • getObject

        public Object getObject()
                         throws Exception
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean
        Throws:
        Exception
      • getObjectType

        public Class getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean
      • destroy

        public void destroy()
                     throws Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        Exception