Package net.sf.jasperreports.repo
Class DefaultRepositoryPersistenceServiceFactory
- java.lang.Object
-
- net.sf.jasperreports.repo.DefaultRepositoryPersistenceServiceFactory
-
- All Implemented Interfaces:
PersistenceServiceFactory
public class DefaultRepositoryPersistenceServiceFactory extends Object implements PersistenceServiceFactory
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description DefaultRepositoryPersistenceServiceFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultRepositoryPersistenceServiceFactory
getInstance()
<K extends RepositoryService,L extends Resource>
PersistenceServicegetPersistenceService(JasperReportsContext jasperReportsContext, Class<K> repositoryServiceType, Class<L> resourceType)
-
-
-
Method Detail
-
getInstance
public static DefaultRepositoryPersistenceServiceFactory getInstance()
-
getPersistenceService
public <K extends RepositoryService,L extends Resource> PersistenceService getPersistenceService(JasperReportsContext jasperReportsContext, Class<K> repositoryServiceType, Class<L> resourceType)
- Specified by:
getPersistenceService
in interfacePersistenceServiceFactory
-
-