| Modifier and Type | Field and Description |
|---|---|
| private static final Map | BSF_LANGUAGE_MAP
A map of languages for which the engine in located in bsf |
| private static final String[] | BSF_LANGUAGES
The following are languages that have scripting engines embedded in bsf.jar. |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | fixClassLoader(ClassLoader
the classloader to fix. loader, String the language to use. language)Check if need to mess about with the classloader. |
| private File | |
| private File |
| BSF_LANGUAGE_MAP | back to summary |
|---|---|
| private static final Map<String, String> BSF_LANGUAGE_MAP A map of languages for which the engine in located in bsf | |
| BSF_LANGUAGES | back to summary |
|---|---|
| private static final String[] BSF_LANGUAGES The following are languages that have scripting engines embedded in bsf.jar. The array is converted to a map of languagename->classname. | |
| BSF_MANAGER | back to summary |
|---|---|
| private static final String BSF_MANAGER | |
| BSF_PACKAGE | back to summary |
|---|---|
| private static final String BSF_PACKAGE | |
| BSF_SCRIPT_RUNNER | back to summary |
|---|---|
| private static final String BSF_SCRIPT_RUNNER | |
| UTIL_OPTIONAL_PACKAGE | back to summary |
|---|---|
| private static final String UTIL_OPTIONAL_PACKAGE | |
| ScriptFixBSFPath | back to summary |
|---|---|
| public ScriptFixBSFPath() | |
| fixClassLoader | back to summary |
|---|---|
| public void fixClassLoader(ClassLoader loader, String language) Check if need to mess about with the classloader. The class loader will need to be modified for two reasons:
| |
| getClassSource | back to summary |
|---|---|
| private File getClassSource(ClassLoader loader, String className) | |
| getClassSource | back to summary |
|---|---|
| private File getClassSource(String className) | |