Class PurgeObsoleteSandboxDataAutoConfiguration
java.lang.Object
com.broadleafcommerce.data.tracking.core.messaging.autoconfigure.PurgeObsoleteSandboxDataAutoConfiguration
@Configuration
@ConditionalOnPropertyOrGroup(name="broadleaf.tracking.sandbox.purge.enabled",
group="broadleaf.basic.messaging.enabled",
matchIfMissing=true)
@EnableConfigurationProperties(PurgeObsoleteSandboxDataConfigurationProperties.class)
@EnableBinding(PurgeSandboxTriggeredJobEventConsumer.class)
public class PurgeObsoleteSandboxDataAutoConfiguration
extends Object
Configuration pertaining to handling the scheduled job for purging obsolete sandbox data.
- Author:
- Samarth Dhruva (samarthd)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpurgeObsoleteSandboxDataHandler
(List<TrackableRepository<Trackable>> trackableRepositories, PurgeObsoleteSandboxDataConfigurationProperties configurationProperties) purgeObsoleteSandboxDataListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, PurgeObsoleteSandboxDataHandler purgeObsoleteSandboxDataHandler, com.broadleafcommerce.common.extension.data.DataRouteReference reference)
-
Constructor Details
-
PurgeObsoleteSandboxDataAutoConfiguration
public PurgeObsoleteSandboxDataAutoConfiguration()
-
-
Method Details
-
purgeObsoleteSandboxDataListener
@Bean @ConditionalOnMissingBean public PurgeObsoleteSandboxDataListener purgeObsoleteSandboxDataListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, PurgeObsoleteSandboxDataHandler purgeObsoleteSandboxDataHandler, @Nullable com.broadleafcommerce.common.extension.data.DataRouteReference reference) -
purgeObsoleteSandboxDataHandler
@Bean @ConditionalOnMissingBean public PurgeObsoleteSandboxDataHandler purgeObsoleteSandboxDataHandler(@Autowired(required=false) List<TrackableRepository<Trackable>> trackableRepositories, PurgeObsoleteSandboxDataConfigurationProperties configurationProperties)
-