jiface.util

add-err-handler

(add-err-handler handled-fn excep)(add-err-handler handled-fn excep msg)

A wrapper for generating a specific dire error handler.

convert-class-name

(convert-class-name name-symbol)

A helper function for use when creating Erlang class wrappers.

dynamic-init

(dynamic-init name-gen-fn name-part & args)

Dynamically instantiates classes based upon a transformation function and a symbol used by the transformation function to create a class name that is ultimately resolvable.

get-hostname

(get-hostname)

Get the hostname for the machine that this JVM is running on.

Uses the java.net.InetAddress methods getLocalHost and getHostName.

make-jinterface-name

(make-jinterface-name prefix name-symbol)

A helper function for use when defining constructor macros.

start-epmd

(start-epmd)

Start the Erlang Port Mapper Daemon external (OS) process needed by JInterface for creating nodes and communicating with other nodes.