Class PrivilededLookup<T>

    • Constructor Detail

      • PrivilededLookup

        public PrivilededLookup​(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
      • PrivilededLookup

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