@Transactional public class TenantAwarePluginManagerImpl extends Object implements PluginManager, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.DisposableBean
EVENT, IMPORT, REVIEW
Constructor and Description |
---|
TenantAwarePluginManagerImpl() |
Modifier and Type | Method and Description |
---|---|
protected PluginManager |
createSingleTenantManager() |
void |
destroy() |
List<Plugin> |
getEventPluginList(Integer orgId) |
List<Plugin> |
getImportPluginList(Integer orgId) |
protected PluginManager |
getManagerForCurrentTenant() |
ReportPlugin |
getReportPlugin(Integer id,
Integer reportType) |
List<ReportPlugin> |
getReportPluginList() |
List<Plugin> |
getReviewPluginList(Integer orgId) |
void |
processEvent(com.jamasoftware.contour.service.event.PluginChangeEvent event) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setBackingPluginManagerCache(com.jamasoftware.contour.cache.JamaCache<String,PluginManager> backingPluginManagerCache) |
void |
setPluginEntryDao(PluginEntryDao pluginEntryDao) |
void |
setReportDao(ReportDao reportDao) |
void |
shutdown() |
public List<Plugin> getEventPluginList(Integer orgId)
getEventPluginList
in interface PluginManager
public List<Plugin> getImportPluginList(Integer orgId)
getImportPluginList
in interface PluginManager
public List<Plugin> getReviewPluginList(Integer orgId)
getReviewPluginList
in interface PluginManager
public List<ReportPlugin> getReportPluginList()
getReportPluginList
in interface PluginManager
public ReportPlugin getReportPlugin(Integer id, Integer reportType)
getReportPlugin
in interface PluginManager
public void processEvent(com.jamasoftware.contour.service.event.PluginChangeEvent event)
processEvent
in interface PluginManager
protected PluginManager getManagerForCurrentTenant()
protected PluginManager createSingleTenantManager()
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
public void shutdown()
shutdown
in interface PluginManager
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
public void setReportDao(ReportDao reportDao)
public void setPluginEntryDao(PluginEntryDao pluginEntryDao)
public void setBackingPluginManagerCache(com.jamasoftware.contour.cache.JamaCache<String,PluginManager> backingPluginManagerCache)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.