Class PrivilegedLookup<T>
java.lang.Object
org.glassfish.security.services.common.PrivilegedLookup<T>
- All Implemented Interfaces:
PrivilegedAction<T>
-
Constructor Summary
ConstructorsConstructorDescriptionPrivilegedLookup
(org.glassfish.hk2.api.ServiceLocator serviceLocator, Class<T> serviceClass) PrivilegedLookup
(org.glassfish.hk2.api.ServiceLocator serviceLocator, Class<T> serviceClass, String serviceName) -
Method Summary
-
Constructor Details
-
PrivilegedLookup
public PrivilegedLookup(org.glassfish.hk2.api.ServiceLocator serviceLocator, Class<T> serviceClass, String serviceName) - Parameters:
serviceLocator
- the HK2 service locatorserviceClass
- the protected HK2 service to be looked upserviceName
- the name of the service to be looked
-
PrivilegedLookup
- Parameters:
serviceLocator
- the HK2 service locatorserviceClass
- the protected HK2 service to be looked up
-
-
Method Details
-
run
- Specified by:
run
in interfacePrivilegedAction<T>
-