Class ApplicationAccessWLS

java.lang.Object
org.eclipse.persistence.sdo.helper.ApplicationAccessWLS

public class ApplicationAccessWLS extends Object
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 Details

    • ApplicationAccessWLS

      public ApplicationAccessWLS()
      Create and initialize.
  • Method Details

    • getApplicationName

      public String getApplicationName(ClassLoader classLoader)
      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.