Class | Description |
---|---|
Console |
Simple LuaJava console.
|
JavaFunction |
JavaFunction is a class that can be used to implement a Lua function in Java.
|
LuaInvocationHandler |
Class that implements the InvocationHandler interface.
|
LuaObject |
This class represents a Lua object of any type.
|
LuaState |
LuaState if the main class of LuaJava for the Java developer.
|
LuaStateFactory |
This class is responsible for instantiating new LuaStates.
|
Exception | Description |
---|---|
LuaException |
LuaJava exception
|
LuaJava is a scripting tool for Java. The goal of this tool is to allow scripts written in Lua to manipulate components developed in Java.
LuaJava allows Java components to be accessed from Lua using the same syntax that is used for accessing Lua`s native objects, without any need for declarations or any kind of preprocessing. For this check LuaJava's Lua Reference.
LuaJava also allows Java to implement an interface using Lua. This way any interface can be implemented in Lua and passed as parameter to any method, and when called, the equivalent function will be called in Lua, and it's result passed back to Java.