public class ApplicationModule extends Object implements SandboxedModule
| Modifier | Constructor and Description |
|---|---|
protected |
ApplicationModule(Feature feature) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyPolicy() |
void |
applyThreadPriority() |
FileSystemResourcesController |
getFileSystemResourceController()
Returns the file system resource controller of this module.
|
String |
getIdentifier()
Returns the module identifier.
|
Module |
getModule()
|
NetResourcesController |
getNetworkResourceController()
Returns the network resource controller of this module.
|
Feature.State |
getState()
Returns the state of the module.
|
protected ApplicationModule(Feature feature)
public void applyPolicy()
throws JSONException,
IOException
JSONExceptionIOExceptionpublic void applyThreadPriority()
public FileSystemResourcesController getFileSystemResourceController()
SandboxedModulegetFileSystemResourceController in interface SandboxedModulepublic String getIdentifier()
SandboxedModulegetIdentifier in interface SandboxedModulepublic Module getModule()
SandboxedModuleFeature for an application module or Kernel for the kernel
module.getModule in interface SandboxedModulepublic NetResourcesController getNetworkResourceController()
SandboxedModulegetNetworkResourceController in interface SandboxedModulepublic Feature.State getState()
SandboxedModulegetState in interface SandboxedModule