Class PrivilededLookup<T>
- java.lang.Object
-
- org.glassfish.security.services.common.PrivilededLookup<T>
-
- All Implemented Interfaces:
PrivilegedAction<T>
public class PrivilededLookup<T> extends Object implements PrivilegedAction<T>
-
-
Constructor Summary
Constructors Constructor Description PrivilededLookup(org.glassfish.hk2.api.ServiceLocator serviceLocator, Class<T> serviceClass)
PrivilededLookup(org.glassfish.hk2.api.ServiceLocator serviceLocator, Class<T> serviceClass, String serviceName)
-
-
-
Constructor Detail
-
PrivilededLookup
public PrivilededLookup(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
-
-
Method Detail
-
run
public T run()
- Specified by:
run
in interfacePrivilegedAction<T>
-
-