Package org.bgerp.custom

# Class Custom

java.lang.Object
org.bgerp.custom.Custom

public class Custom extends Object
Customization manager.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final File`
  `DIR`
  `static final Custom`
  `INSTANCE`
  `static final File`
  `JAR`
  `static final String`
  `PACKAGE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Custom()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CompilationResult`
  `compileJava()`
  Compiles all Java sources in `DIR`/src.
  `URLClassLoader`
  `getClassLoader()`
  `void`
  `webapps(String catalinaHome, org.apache.catalina.core.StandardContext context)`
  Configures custom webapps directory.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### INSTANCE

    public static final Custom INSTANCE

  - ### JAR

    public static final File JAR

  - ### PACKAGE

    public static final String PACKAGE
    See Also:
      - Constant Field Values

  - ### DIR

    public static final File DIR

- ## Constructor Details

  - ### Custom

    public Custom()

- ## Method Details

  - ### webapps

    public void webapps(String catalinaHome, org.apache.catalina.core.StandardContext context)
    Configures custom webapps directory.
    Parameters:
      `catalinaHome` -
      `context` -

  - ### compileJava

    public CompilationResult compileJava() throws IOException, BGMessageException
    Compiles all Java sources in `DIR`/src.
    Returns:
      null or compilation result.
    Throws:
      `IOException`
      `BGMessageException`

  - ### getClassLoader

    public URLClassLoader getClassLoader()
    Returns:
      classloader for `JAR` if it was built in the instance.