Class TenantServiceAutoConfiguration
java.lang.Object
com.broadleafcommerce.tenant.service.autoconfigure.TenantServiceAutoConfiguration
@Configuration
@EnableConfigurationProperties({TenantApplicationProperties.class,UrlResolverProperties.class})
public class TenantServiceAutoConfiguration
extends Object
- Author:
- Phillip Verheyden (phillipuniverse)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationCatalogService
(ApplicationService<Application> applicationService, CatalogService<Catalog> catalogService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, org.springframework.transaction.support.TransactionTemplate template, ApplicationCatalogValidator applicationCatalogValidator) applicationSecurityUtil
(com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils) applicationService
(ApplicationRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, TenantApplicationProperties applicationProperties, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper) catalogService
(CatalogRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, ApplicationService<? extends Application> applicationService, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper) defaultMarketplaceDiscoverer
(com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, ApplicationService<? extends Application> applicationService) marketplaceApplicationCatalogService
(MarketplaceApplicationCatalogRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper rsqlHelper, com.broadleafcommerce.data.tracking.core.service.CrudEntityHelper helper, MarketplaceApplicationCatalogValidator validator, CatalogService<Catalog> catalogService) marketplaceApplicationCatalogValidator
(ApplicationService<Application> applicationService) tenantResolver
(ApplicationService<Application> applicationService, TenantService<Tenant> tenantService, UrlResolverProperties props) <R> TenantService<Tenant>
tenantService
(TenantRepository<R> repository, com.broadleafcommerce.data.tracking.core.service.RsqlMappableCrudEntityHelper helper) urlResolver
(UrlResolverProperties props)
-
Constructor Details
-
TenantServiceAutoConfiguration
public TenantServiceAutoConfiguration()
-
-
Method Details
-
catalogService
@Bean @ConditionalOnMissingBean public CatalogService<Catalog> catalogService(CatalogRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, ApplicationService<? extends Application> applicationService, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper) -
applicationService
@Bean @ConditionalOnMissingBean public ApplicationService<Application> applicationService(ApplicationRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, TenantApplicationProperties applicationProperties, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper) -
tenantService
@Bean @ConditionalOnMissingBean public <R> TenantService<Tenant> tenantService(TenantRepository<R> repository, com.broadleafcommerce.data.tracking.core.service.RsqlMappableCrudEntityHelper helper) -
applicationCatalogService
@Bean @ConditionalOnMissingBean public ApplicationCatalogService applicationCatalogService(ApplicationService<Application> applicationService, CatalogService<Catalog> catalogService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, @Nullable @Qualifier("tenantTransactionTemplate") org.springframework.transaction.support.TransactionTemplate template, ApplicationCatalogValidator applicationCatalogValidator) -
marketplaceApplicationCatalogService
@Bean @ConditionalOnMissingBean public MarketplaceApplicationCatalogService<MarketplaceApplicationCatalog> marketplaceApplicationCatalogService(MarketplaceApplicationCatalogRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper rsqlHelper, com.broadleafcommerce.data.tracking.core.service.CrudEntityHelper helper, MarketplaceApplicationCatalogValidator validator, CatalogService<Catalog> catalogService) -
applicationCatalogValidator
-
marketplaceApplicationCatalogValidator
@Bean @ConditionalOnMissingBean public MarketplaceApplicationCatalogValidator marketplaceApplicationCatalogValidator(ApplicationService<Application> applicationService) -
tenantResolver
@Bean @ConditionalOnMissingBean public TenantResolver tenantResolver(ApplicationService<Application> applicationService, TenantService<Tenant> tenantService, UrlResolverProperties props) -
urlResolver
-
defaultMarketplaceDiscoverer
@Bean @ConditionalOnMissingBean public MarketplaceDiscoverer defaultMarketplaceDiscoverer(com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, ApplicationService<? extends Application> applicationService) -
applicationSecurityUtil
@Bean @ConditionalOnMissingBean public ApplicationSecurityUtil applicationSecurityUtil(com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils)
-