public interface SandboxedModule
It provides APIs to control access to resources used by the module. A module can be an application or the kernel itself.
It allows to:
A module whose resources usage should be controlled must implement this interface.
This interface is implemented by ApplicationModule
.
Modifier and Type | Method and Description |
---|---|
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.
|
FileSystemResourcesController getFileSystemResourceController()
String getIdentifier()
Module getModule()
Feature
for an application module or Kernel
for the kernel
module.NetResourcesController getNetworkResourceController()
Feature.State getState()