br.gov.frameworkdemoiselle.internal.producer
Class DataSourceProducer

java.lang.Object
  extended by br.gov.frameworkdemoiselle.internal.producer.DataSourceProducer
All Implemented Interfaces:
Serializable

@ApplicationScoped
public class DataSourceProducer
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
DataSourceProducer()
           
 
Method Summary
 void close()
           
 DataSource create(String dataSourceName)
           
 Map<String,DataSource> getCache()
           
 void loadDataSources()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceProducer

public DataSourceProducer()
Method Detail

loadDataSources

@PostConstruct
public void loadDataSources()

create

public DataSource create(String dataSourceName)

close

@PreDestroy
public void close()

getCache

public Map<String,DataSource> getCache()


Copyright © 2013 SERPRO - Serviço Federal de Processamento de Dados. All Rights Reserved.