#
# ServletContextListeners for Vitro, to be instantiated and run by the StartupManager.
# 
# For more information, 
#     https://wiki.duraspace.org/display/VIVO/The+StartupManager
#

edu.cornell.mannlib.vitro.webapp.servlet.setup.JvmSmokeTests

edu.cornell.mannlib.vitro.webapp.application.ApplicationSetup

edu.cornell.mannlib.vitro.webapp.config.ConfigurationPropertiesSetup

edu.cornell.mannlib.vitro.webapp.config.ConfigurationPropertiesSmokeTests

edu.cornell.mannlib.vitro.webapp.utils.developer.DeveloperSettings$Setup

edu.cornell.mannlib.vitro.webapp.application.ApplicationImpl$ComponentsSetup

edu.cornell.mannlib.vitro.webapp.config.RevisionInfoSetup

edu.cornell.mannlib.vitro.webapp.email.FreemarkerEmailFactory$Setup

edu.cornell.mannlib.vitro.webapp.servlet.setup.ConfigurationModelsSetup
edu.cornell.mannlib.vitro.webapp.servlet.setup.ContentModelSetup

edu.cornell.mannlib.vitro.webapp.web.images.PlaceholderUtil$Setup

edu.cornell.mannlib.vitro.webapp.servlet.setup.FileGraphSetup

edu.cornell.mannlib.vitro.webapp.application.ApplicationImpl$ReasonersSetup
edu.cornell.mannlib.vitro.webapp.servlet.setup.SimpleReasonerSetup

# Must run after JenaDataSourceSetup
edu.cornell.mannlib.vitro.webapp.servlet.setup.ThemeInfoSetup

edu.cornell.mannlib.vitro.webapp.auth.permissions.PermissionRegistry$Setup

edu.cornell.mannlib.vitro.webapp.auth.permissions.PermissionSetsSmokeTest

edu.cornell.mannlib.vitro.webapp.auth.policy.bean.PropertyRestrictionBean$Setup

edu.cornell.mannlib.vitro.webapp.auth.policy.setup.CommonPolicyFamilySetup

edu.cornell.mannlib.vitro.webapp.auth.policy.RootUserPolicy$Setup

edu.cornell.mannlib.vitro.webapp.auth.policy.RestrictHomeMenuItemEditingPolicy$Setup

edu.cornell.mannlib.vitro.webapp.services.shortview.ShortViewServiceSetup

edu.ucsf.vitro.opensocial.OpenSocialSmokeTests

# For multiple language support
edu.cornell.mannlib.vitro.webapp.i18n.selection.LocaleSelectionSetup

# The search indexer uses a "public" permission, so the PropertyRestrictionPolicyHelper 
#   and the PermissionRegistry must already be set up.
edu.cornell.mannlib.vitro.webapp.searchindex.SearchIndexerSetup

edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerSetup
edu.cornell.mannlib.vitro.webapp.freemarker.config.FreemarkerConfiguration$Setup

# On shutdown, this will kill the background thread started by Apache Commons File Upload
org.apache.commons.fileupload.servlet.FileCleanerCleanup

# The VClassGroupCache index uses a "public" permission, so the PropertyRestrictionPolicyHelper 
#   and the PermissionRegistry must already be set up.
edu.cornell.mannlib.vitro.webapp.dao.jena.VClassGroupCache$Setup

# This should be near the end, because it will issue a warning if the connection to Solr times out.
edu.cornell.mannlib.vitro.webapp.servlet.setup.SolrSmokeTest
