|
Enterprise Workspaces 1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IModuleSettingsFactory
Provides a method to retrieve the module settings (properties). This method can be used only by module instances; other components, such as module templates, cannot use it.
The following example illustrates how to access and use the factory:
IWorkspacesRuntime runtime = RuntimeFactory.getWorkspacesRuntime();
IModuleSettingsFactory settingsFactory = runtime.getService(IModuleSettingsFactory.class);
IModuleSettings settings = settingsFactory.getModuleSettings(moduleContext);
| Method Summary | |
|---|---|
IModuleSettings |
getModuleSettings(IModuleContext moduleContext)
Returns the module settings for the specified module context |
void |
saveModuleSettings(IModuleSettings moduleSettings)
Saves the specified module settings |
| Method Detail |
|---|
IModuleSettings getModuleSettings(IModuleContext moduleContext)
throws WorkspacesRuntimeException
moduleContext - the module context of the module instance to get the settings for.
WorkspacesRuntimeException - if the module context is not valid
void saveModuleSettings(IModuleSettings moduleSettings)
throws WorkspacesRuntimeException
moduleSettings - the settings to save
WorkspacesRuntimeException - if an error occurs
|
Enterprise Workspaces 1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||