Classloader Directive

Nested Elements

Element Occurance Description
classpath 0..1 The classloader classpath descriptor.
library 0..1 Jar file option extensions repository.

Description

An engine directive declares the defintion of a classloader to be used assigned as the context classloader for the container it is defined within.

Example XML

<classloader>
  <classpath>
    <repository>
      <resource id="tutorial:composition-api" version="1.0"/>
    </repository>
  </classpath>
</classloader>