Package org.ow2.joram.spring
Class JoramConnectionFactory
- java.lang.Object
-
- org.ow2.joram.spring.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).
-
-
Field Summary
Fields Modifier and Type Field Description private ConnectionFactoryconnectionFactorystatic Loggerlogger
-
Constructor Summary
Constructors Constructor Description JoramConnectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()ObjectgetObject()ClassgetObjectType()booleanisSingleton()voidsetConnectionFactory(ConnectionFactory connectionFactory)
-
-
-
Field Detail
-
logger
public static final Logger logger
-
connectionFactory
private ConnectionFactory connectionFactory
-
-
Method Detail
-
setConnectionFactory
public void setConnectionFactory(ConnectionFactory connectionFactory)
- Parameters:
connectionFactory- the connection factory to set
-
getObject
public Object getObject() throws Exception
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean- Throws:
Exception
-
getObjectType
public Class getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean
-
-