Class ClassLoaderIdentifier

java.lang.Object
org.bonitasoft.engine.classloader.ClassLoaderIdentifier
All Implemented Interfaces:
Serializable

public class ClassLoaderIdentifier extends Object implements Serializable
 -            APPLICATION
 -                 |
 -               GLOBAL
 -                 |
 -      ------- TENANT ------
 -     |          |         |
 - PROCESS1 - PROCESS2 - PROCESS3
 
Author:
Baptiste Mesta, Emmanuel Duchastenier
See Also:
  • Field Details

    • GLOBAL_TYPE

      public static final ScopeType GLOBAL_TYPE
    • GLOBAL_ID

      public static final long GLOBAL_ID
      See Also:
    • FIXED_TENANT_ID

      protected static final int FIXED_TENANT_ID
      See Also:
    • APPLICATION

      public static final ClassLoaderIdentifier APPLICATION
      The APPLICATION classloader is the parent classloader of the GLOBAL classloader. It the one in which bonita is bootstrapped
    • GLOBAL

      public static final ClassLoaderIdentifier GLOBAL
      The GLOBAL classloader is the unique one at platform level
    • TENANT

      public static final ClassLoaderIdentifier TENANT
  • Constructor Details

    • ClassLoaderIdentifier

      public ClassLoaderIdentifier()
  • Method Details

    • identifier

      public static ClassLoaderIdentifier identifier(ScopeType scopeType, long id)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isTenantClassloader

      public boolean isTenantClassloader()
    • isGlobalClassloader

      public boolean isGlobalClassloader()