Class SimpleWebResourcePackage

java.lang.Object
com.foreach.across.modules.web.resource.SimpleWebResourcePackage
All Implemented Interfaces:
WebResourcePackage

@Deprecated public class SimpleWebResourcePackage extends Object implements WebResourcePackage
Deprecated.
Groups a number of WebResources together.
  • Constructor Details

    • SimpleWebResourcePackage

      protected SimpleWebResourcePackage()
      Deprecated.
    • SimpleWebResourcePackage

      public SimpleWebResourcePackage(Collection<WebResource> webResources)
      Deprecated.
  • Method Details

    • setWebResources

      protected void setWebResources(WebResource... webResources)
      Deprecated.
    • setWebResources

      protected void setWebResources(@NonNull @NonNull Collection<WebResource> webResources)
      Deprecated.
    • setDependencies

      protected void setDependencies(Collection<String> packageNames)
      Deprecated.
    • setDependencies

      protected void setDependencies(String... packageNames)
      Deprecated.
    • install

      public void install(WebResourceRegistry registry)
      Deprecated.
      Description copied from interface: WebResourcePackage
      Install the resources contained in the package in the registry.
      Specified by:
      install in interface WebResourcePackage
      Parameters:
      registry - Registry to which to add the resources.
    • uninstall

      public void uninstall(WebResourceRegistry registry)
      Deprecated.
      Description copied from interface: WebResourcePackage
      Uninstall the package from the given registry.
      Specified by:
      uninstall in interface WebResourcePackage
      Parameters:
      registry - Registry where the package resource should be removed.