Class MapKeyLookupResult

java.lang.Object
org.eclipse.persistence.sdo.helper.MapKeyLookupResult

public class MapKeyLookupResult extends Object
Class for wrapping cache key lookup results. The result of a key lookup will be an application name and class loader, or a class loader. Note that all instances of this class are expected to have a loader set.
  • Constructor Details

    • MapKeyLookupResult

      public MapKeyLookupResult(ClassLoader classLoader)
      This constructor should be used when caching on class loader.
      Parameters:
      classLoader -
    • MapKeyLookupResult

      public MapKeyLookupResult(String applicationName, ClassLoader classLoader)
      This constructor should be used when caching on application name. The loader will be used to determine if a redeploy has occurred, i.e. same application name but different class loaders.
      Parameters:
      applicationName -
      classLoader -
  • Method Details

    • getApplicationName

      public String getApplicationName()
      Return the applicationName value.
      Returns:
    • getLoader

      public ClassLoader getLoader()
      Return the loader value.
      Returns: