All Packages Class Hierarchy This Package Previous Next Index
Class calypso.platform.ServiceClassLoader
java.lang.Object
|
+----java.lang.ClassLoader
|
+----calypso.platform.ServiceClassLoader
- final class ServiceClassLoader
- extends ClassLoader
ClassLoader for Calypso services. Loads the classes using following
algorithm:
- If the class is already loaded, do nothing.
- If the class is a system class (java.*), call findSystemClass.
- If the class belongs to the package of this service, load the
class file and define it as a class loader would normally do.
- If the class belongs to the platform package (as defined by
PLATFORM_PACKAGE constant), load it using the class loader that
was used to load this ClassLoader, ie. use Class.forName method.
- If the class belongs to another service, check the attached
ServiceCertificate and if it returns OK, get the ServiceClassloader
of the other service from the ServiceLoader and use it to load the
class.
- Version:
- $Revision: 1.7 $
- Author:
- Juhana Räsänen
- See Also:
- ServiceLoader, ServiceCertificate
This class is not public and therefore cannot be used outside this package.
All Packages Class Hierarchy This Package Previous Next Index