EclipseLink 2.4.2, build 'v20130514-5956486' 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.4.2, build 'v20130514-5956486' API Reference