Class ApplicationAccessWLS
java.lang.Object
org.eclipse.persistence.sdo.helper.ApplicationAccessWLS
INTERNAL:
This class using WLS classed to get unique application ID.
WLS classes are accessed using reflection. It tries to use ComponentInvocationContext (CIC) first, if no success it
tries to use ApplicationAccess.
- Author:
- Dmitry Kornilov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetApplicationName
(ClassLoader classLoader) Gets a unique application name.protected boolean
Initializes ApplicationAccess.protected boolean
Initializes CIC.
-
Constructor Details
-
ApplicationAccessWLS
public ApplicationAccessWLS()Create and initialize.
-
-
Method Details
-
getApplicationName
Gets a unique application name.- Parameters:
classLoader
- the class loader- Returns:
- unique application name.
-
initUsingCic
protected boolean initUsingCic()Initializes CIC. Returns true on success. -
initUsingApplicationAccess
protected boolean initUsingApplicationAccess()Initializes ApplicationAccess.
-