Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.objexcel.chataddin
Interface IAddInLoader

public abstract interface IAddInLoader

IAddInLoader makes it possible to provide addin support for different languages. Design based on the JDBC Driver pattern.

Method Summary
`boolean` | `acceptsAddIn(java.lang.String type)` Returns true if this loader accepts this type of addin.
`void` | `loadAddIn(java.lang.String name, ZipClassLoader classLoader)` load the addin (e.g add the classes to the classloader or compile addin source)
`void` | `runAddIn(IAddInApp context, ZipClassLoader classLoader)` execute the addin

Method Detail

### acceptsAddIn

    public boolean acceptsAddIn(java.lang.String type)

  Returns true if this loader accepts this type of addin.
  Parameters:
    `type` - is the type of addin being loaded. So far 'PY' and 'J' for Java are recognised
  Returns:
    true if the loader will parse and run the give addin.

### runAddIn

    public void runAddIn(IAddInApp context,
                         ZipClassLoader classLoader)

  execute the addin

### loadAddIn

    public void loadAddIn(java.lang.String name,
                          ZipClassLoader classLoader)

  load the addin (e.g add the classes to the classloader or compile addin source)
  Parameters:
    `name` - is the name of the addin file (e.g. a Python file name) or a location containing java classes (e.g a directory, a class file, a zip file, or even a jar pointed to by an URL!!!)
    `class` - loader is the class loader to use. It may contain classes other than the system ones (i.e. ones loaded at runtime by user or other addins).

Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD