public abstract class BaseNodeModule extends java.lang.Object implements INodeModule
| Modifier and Type | Field and Description |
|---|---|
protected V8ValueObject |
moduleObject |
protected java.lang.String |
name |
| Constructor and Description |
|---|
BaseNodeModule(V8ValueObject moduleObject,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
V8ValueObject |
getModuleObject() |
java.lang.String |
getName() |
boolean |
isClosed()
Is closed.
|
protected V8ValueObject moduleObject
protected java.lang.String name
public BaseNodeModule(V8ValueObject moduleObject, java.lang.String name)
public void close()
throws JavetException
close in interface IJavetClosableclose in interface java.lang.AutoCloseableJavetExceptionpublic V8ValueObject getModuleObject()
getModuleObject in interface INodeModulepublic java.lang.String getName()
getName in interface INodeModulepublic boolean isClosed()
IJavetClosableisClosed in interface IJavetClosable