Class OracleJDBCServiceProducer
- java.lang.Object
-
- hu.icellmobilsoft.roaster.oracle.producer.OracleJDBCServiceProducer
-
@ApplicationScoped public class OracleJDBCServiceProducer extends Object
Producer for OracleJDBCService- Author:
- balazs.joo
-
-
Constructor Summary
Constructors Constructor Description OracleJDBCServiceProducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OracleJDBCSelectorServicegetOracleJDBCSelectorService(javax.enterprise.inject.spi.InjectionPoint injectionPoint)Produces OracleJDBCService for the DB connection specified by the given configKeyvoidreturnResource(OracleJDBCSelectorService oracleJDBCSelectorService)Close connection when disposed
-
-
-
Method Detail
-
getOracleJDBCSelectorService
@Dependent @Produces public OracleJDBCSelectorService getOracleJDBCSelectorService(javax.enterprise.inject.spi.InjectionPoint injectionPoint) throws hu.icellmobilsoft.coffee.dto.exception.BaseException
Produces OracleJDBCService for the DB connection specified by the given configKey- Parameters:
injectionPoint- CDI injection point- Returns:
- created object
- Throws:
hu.icellmobilsoft.coffee.dto.exception.BaseException- exception
-
returnResource
public void returnResource(@Disposes OracleJDBCSelectorService oracleJDBCSelectorService)Close connection when disposed- Parameters:
oracleJDBCSelectorService- disposed object
-
-