EclipseLink 2.1.2, build 'v20101206-r8635' API Reference

org.eclipse.persistence.sdo.helper
Class ApplicationResolver

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

public abstract class ApplicationResolver
extends java.lang.Object

This class provides a means for the user to return application-specific information, such as the application name, which will be used when the logic in SDOHelperContext fails.


Constructor Summary
ApplicationResolver()
           
 
Method Summary
abstract  java.lang.String getApplicationName()
          Return the application name for the currently executing application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationResolver

public ApplicationResolver()
Method Detail

getApplicationName

public abstract java.lang.String getApplicationName()
Return the application name for the currently executing application. This method will be utilized if the logic in SDOHelperContext fails to determine the name of the current application, meaning it will be used as a last resort before keying on the currently executing thread's context loader.

Returns:
non-empty String which indicates the application name

EclipseLink 2.1.2, build 'v20101206-r8635' API Reference