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
JSONException
IOException
public void applyThreadPriority()
public FileSystemResourcesController getFileSystemResourceController()
SandboxedModule
getFileSystemResourceController
in interface SandboxedModule
public String getIdentifier()
SandboxedModule
getIdentifier
in interface SandboxedModule
public Module getModule()
SandboxedModule
Feature
for an application module or Kernel
for the kernel
module.getModule
in interface SandboxedModule
public NetResourcesController getNetworkResourceController()
SandboxedModule
getNetworkResourceController
in interface SandboxedModule
public Feature.State getState()
SandboxedModule
getState
in interface SandboxedModule