Service Grid ClassLoader Hierarchy

  GigaSpaces 5.X

Documentation Home
Quick Start Guide
Release Notes

Previous release

  Search Here
Searching GigaSpaces Platform 5.X Documentation

                                               

Summary: The ClassLoader is comprised of the AppCL, the CommonClassLoader, and the Service-nCL.

Overview

The class loader hierarchy in the Service Grid has been created to enable a platform oriented framework conducive towards creating a layered product. The resulting capabilities allow the declaration of JARs that are added to a CommonClassLoader, making the classes accessible by all ClassLoader instances that delegate to the CommonClassLoader. The ClassLoader hierarchy for the Service Grid is as follows:

AppCL
           |
       CommonCL (http:// URLs of common JARs)
           +
           |
   +-------+-------+----...---+
   |               |          |
Service-1CL   Service-2CL  Service-nCL
  • AppCL – Contains the main() class of the container. Main-Class in manifest points to com.gigaspaces.start.SystemBoot.
    Classpath: gs-boot.jar, start.jar, jsk-platform.jar
    Codebase: none
  • CommonClassLoader – Contains the common GigaSpaces (Service Grid) and Jini technology classes (and other declared common platform JARs) to be made available to its children.
    Classpath: Common JARs such as gs-lib.jar.
    Codebase: Context dependent. The codebase returned is the codebase of the specific child CL that is the current context of the request.
  • Service-nCL – Contains the service specific implementation classes.
    Classpath: serviceImpl.jar
    Codebase: "serviceX-dl.jar gs-lib-dl-dl.jar jsk-lib-dl.jar"

RELATED TOPICS

Declaring Elements Globally in Deployment Descriptor
Declaring Service UI in Deployment Descriptor
Deployment Descriptor Codebase Element
Deployment Descriptor DeploymentSchedule Element
Deployment Descriptor Parameters and Configuration Elements
Deployment Descriptor SharedComponent Element
Deployment Descriptor SLA Element
deploy - Service Grid CLI
Fixed and Dynamic ServiceBean ProvisionType
Injecting Deployment Descriptor Properties into POJOs
POJO Lifecycle in Service Grid
Proactive Cache
redeploy - Service Grid CLI
Rio OperationalString
Service Associations
Service Deployment Descriptor
Service Grid ClassLoader Hierarchy
undeploy - Service Grid CLI
Using Service Grid to Deploy Partitioned Space
Using Service Grid to Deploy Partitioned Space with Backup
Using Service Grid to Deploy Replicated Space
Using Service Grid to Deploy Space
Using Service Grid to Deploy Spring Applications
Using System Properties for Deployment Descriptor Element Values

Wiki Content Tree


Your Feedback Needed!

We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com. Please provide a link to the wiki page you are referring to.

Labels