Use a component based on the atg.purge.PurgeService class to schedule asset purge operations. The PurgeService class implements the atg.service.scheduler.SingletonSchedulableService interface and invokes an asset purge function. You can use a component based on PurgeService with the scheduler services provided with Oracle ATG Web Commerce. See information about using scheduler services in the Platform Programming Guide.

To schedule an asset purge function:

  1. Configure a component based on the atg.purge.PurgeService class.

  2. Configure additional properties as required by the Oracle ATG Web Commerce scheduler services. See information about scheduler services in the Platform Programming Guide.

The following example shows the asset purge component property values for a scheduling component based on atg.purge.PurgeService.

$class=atg.purge.PurgeService

purgeProducer=/mycompany/purge/OrganizationPurgeProducer
purgeConfiguration=/mycompany/purge/OrganizationPurgeConfiguration

# Configure properties as required by scheduler services

Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices