Module org.eclipse.persistence.sdo
Class ApplicationResolver
java.lang.Object
org.eclipse.persistence.sdo.helper.ApplicationResolver
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
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
Return the application name for the currently executing application.
-
Constructor Details
-
ApplicationResolver
protected ApplicationResolver()Default constructor.
-
-
Method Details
-
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
-