| Package | Description |
|---|---|
| io.apigee.trireme.core | |
| io.apigee.trireme.core.internal | |
| io.apigee.trireme.core.modules | |
| io.apigee.trireme.core.spi |
| Modifier and Type | Interface and Description |
|---|---|
interface |
InternalNodeModule
A subclass of NodeModule that denotes modules that are loaded using the "process.binding"
method.
|
interface |
NativeNodeModule
A native Node module is similar to a regular module in that it exposes a JavaScript object.
|
| Modifier and Type | Method and Description |
|---|---|
NodeModule |
RootModuleRegistry.get(String name) |
NodeModule |
ChildModuleRegistry.get(String name) |
abstract NodeModule |
AbstractModuleRegistry.get(String name)
Get a "regular" module, loadable via "require".
|
NodeModule |
RootModuleRegistry.getInternal(String name) |
NodeModule |
ChildModuleRegistry.getInternal(String name) |
abstract NodeModule |
AbstractModuleRegistry.getInternal(String name)
Get an "internal" module, loadable via "process.binding".
|
NodeModule |
RootModuleRegistry.getNative(String name) |
NodeModule |
ChildModuleRegistry.getNative(String name) |
abstract NodeModule |
AbstractModuleRegistry.getNative(String name)
Get a "native" module -- a replacement for native code, loadable via "dlopen".
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractModuleRegistry.addNativeModule(NodeModule mod) |
protected void |
RootModuleRegistry.putRegularModule(String name,
NodeModule mod) |
protected void |
ChildModuleRegistry.putRegularModule(String name,
NodeModule mod) |
protected abstract void |
AbstractModuleRegistry.putRegularModule(String name,
NodeModule mod) |
| Modifier and Type | Class and Description |
|---|---|
class |
Buffer |
class |
Constants
Includes all the constants from the built-in "constants" module in Node.
|
class |
Crypto
This class implements the internal "crypto" module.
|
class |
Evals
This implements the same "evals" module as regular Node.
|
class |
HTTPWrap
This is a special module that wraps the generic HTTP adapter so that it may be accessed from
JavaScript modules.
|
class |
ModuleLoader
This internal module is used when using the "executeModule" method of NodeScript, so
that we can notify the runtime when the module that we're running is ready.
|
class |
NativeModule
This class implements the NativeModule, which is normally part of "node.js" itself.
|
class |
Natives
In regular node, "natives" is an internal module that contains the source code for all the built-in modules.
|
class |
OS |
class |
TriremeNativeSupport |
class |
UDPWrap |
| Modifier and Type | Method and Description |
|---|---|
Collection<Class<? extends NodeModule>> |
NodeImplementation.getNativeModules()
Return a set of NodeModule class names that represent Java code built in to this implementation
that should appear as the result of a "require" or "process.binding" call.
|
Copyright © 2016 Apigee Corporation. All Rights Reserved.