Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


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.


Field Summary
private  java.lang.String applicationName
           
private  java.lang.ClassLoader classLoader
           

 

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

 

Field Detail

applicationName

private java.lang.String applicationName

classLoader

private java.lang.ClassLoader classLoader

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:

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.