See: Description
Interface | Description |
---|---|
IModulesServiceFactory |
Interface for the
ModulesService plugin for
com.google.appengine.spi.ServiceFactoryFactory . |
ModulesService |
ModulesService allows the application to fetch information about its
own module and version information.
|
Class | Description |
---|---|
IModulesServiceFactoryProvider |
Google App Engine's
FactoryProvider for IModulesServiceFactory . |
ModulesServiceFactory |
Factory for getting an implementation of the
ModulesService . |
ModulesServiceFactoryImpl |
IModulesFactory for Google AppEngine. |
Exception | Description |
---|---|
InvalidInstanceException |
Exception thrown when the given instance value is not valid.
|
InvalidModuleException |
Exception thrown when the given module name is invalid.
|
InvalidVersionException |
Exception thrown when the given module version name is invalid.
|
ModuleAlreadyStartedException |
Thrown when an application tries to start a module that is already started.
|
ModuleAlreadyStoppedException |
Thrown when an application tries to stop a module that is already stopped.
|
ModulesException |
Exception thrown by the
ModulesService . |
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. }
ModulesService