Modules


Modules (or "Extension Modules") are a mechanism for managing sets of funtionality (commands) within xmlsh optionally in their own namespace. The unix shells implemente a simple concept of modules with the PATH variable. With xmlsh, you can still use the PATH variable but only to locate script files (.xsh) and all such scripts are in the default namespace.

Extension Modules allow you to implement commands in either Java or as xmlsh scripts and package them as a .jar file and register the set of commands to the runtime as a module. The commands (both native java and xmlsh scripts) are imported into the current shell in either the default namespace or their own namespace.

See the import module command for how to import modules.

Supported Modules


MarkLogic
Calabash
eXist
Amazon Web Services
JSON

Writing Extension Modules


Extension modules are easy to write and deploy.

Writing Extension Modules




CommandImport
CommandDeclare
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki