public interface IlpClassLoaderService extends IlpService
This service is used by the different components to load user-defined classes that are part of the business model or the style sheet configuration.
If you have your own class loader mechanism, implement this interface and register it in your application context as illustrated below:
IlpDefaultContext context = ...; IlpClassLoaderService service = new MyClassLoaderService(); context.addService(IlpClassLoaderService.class, service);
IlpDefaultContext.addService(java.lang.Class, java.lang.Object)
Modifier and Type | Method and Description |
---|---|
Class<?> |
loadClass(String name)
Loads the class with the specified name.
|
Class<?> loadClass(String name) throws ClassNotFoundException
name
- The name of the class.java.lang.Class
object.java.lang.ClassNotFoundException
ClassNotFoundException
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.