001package systems.dmx.core.impl;
002
003
004
005class StaticResourcesPublication {
006
007    // ---------------------------------------------------------------------------------------------- Instance Variables
008
009    private String uriNamespace;
010
011    private WebPublishingService wpService;
012
013    // ---------------------------------------------------------------------------------------------------- Constructors
014
015    StaticResourcesPublication(String uriNamespace, WebPublishingService wpService) {
016        this.uriNamespace = uriNamespace;
017        this.wpService = wpService;
018    }
019
020    // -------------------------------------------------------------------------------------------------- Public Methods
021
022    void unpublish() {
023        wpService.unpublishStaticResources(uriNamespace);
024    }
025}