Try OpenEdge Now
skip to main content
BP Server Developer's Guide
File class loader : Resource loading

Resource loading

Business Process Server custom classloader also implements the following methods of the java.lang.Classloader class:
*getResource(String name)
*getResourceAsStream(String name)
The rules for loading the resources are the same as those for loading the classes.
Typically, when BP Server loads an adapter class from a JAR file in the application/lib folder, the resources contained in the JAR file also needs to be loaded for the adapter. If Business Process Server custom classloader is used to load the adapter class, then the getResource implementation of the custom classloader is also able to load the Resources.