EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.sdo.helper
Class MapKeyLookupResult

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

public class MapKeyLookupResult
extends java.lang.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 Summary
MapKeyLookupResult(java.lang.ClassLoader classLoader)
          This constructor should be used when caching on class loader.
MapKeyLookupResult(java.lang.String applicationName, java.lang.ClassLoader classLoader)
          This constructor should be used when caching on application name.
 
Method Summary
 java.lang.String getApplicationName()
          Return the applicationName value.
 java.lang.ClassLoader getLoader()
          Return the loader value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapKeyLookupResult

public MapKeyLookupResult(java.lang.ClassLoader classLoader)
This constructor should be used when caching on class loader.

Parameters:
loader -

MapKeyLookupResult

public MapKeyLookupResult(java.lang.String applicationName,
                          java.lang.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 -
loader -
Method Detail

getApplicationName

public java.lang.String getApplicationName()
Return the applicationName value.

Returns:

getLoader

public java.lang.ClassLoader getLoader()
Return the loader value.

Returns:

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference