Class PrivilegedLookup<T>

java.lang.Object
org.glassfish.security.services.common.PrivilegedLookup<T>
All Implemented Interfaces:
PrivilegedAction<T>

public class PrivilegedLookup<T> extends Object implements PrivilegedAction<T>
  • Constructor Details

    • PrivilegedLookup

      public PrivilegedLookup(org.glassfish.hk2.api.ServiceLocator serviceLocator, Class<T> serviceClass, String serviceName)
      Parameters:
      serviceLocator - the HK2 service locator
      serviceClass - the protected HK2 service to be looked up
      serviceName - the name of the service to be looked
    • PrivilegedLookup

      public PrivilegedLookup(org.glassfish.hk2.api.ServiceLocator serviceLocator, Class<T> serviceClass)
      Parameters:
      serviceLocator - the HK2 service locator
      serviceClass - the protected HK2 service to be looked up
  • Method Details