# Package com.google.appengine.api.modules

Utility functions for working with modules.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  IModulesServiceFactory | Factory interface for use by providers of `ModulesService` for registration with `com.google.appengine.spi.ServiceFactoryFactory`.
  ModulesService | ModulesService allows the application to fetch information about its own module and version information.

- Class Summary
  Class | Description
  --- | ---
  IModulesServiceFactoryProvider | Google App Engine's `FactoryProvider` for `IModulesServiceFactory`.
  ModulesServiceFactory | Factory by which users get an implementation of the `ModulesService`.

- Exception Summary
  Exception | Description
  --- | ---
  ModulesException | Exception thrown by the `ModulesService`.

## Package com.google.appengine.api.modules Description

Utility functions for working with modules.

A common pattern of usage is:

     // Get a handle of the ModulesService.
     ModulesService modules = ModulesServiceFactory.getModulesService();

     // Lookup the versions associated with the current module.
     for (String version : modules.getVersions(modules.getCurrentModule())) {
       // Process version.
     }

See Also:
  `ModulesService`