Package org.hibernate.validator.internal.util.privilegedactions
Implementations of PrivilegedAction in order to execute reflection operations in a security manager.
-
Class Summary Class Description ConstructorInstance<T> Execute instance creation as privileged action.GetAnnotationAttribute<T> GetAnnotationAttributes GetClassLoader GetDeclaredConstructor<T> Returns the declared constructor with the specified parameter types ornullif it does not exist.GetDeclaredConstructors Returns the declared constructors of the specified class.GetDeclaredField Returns the declared field with the specified name ornullif it does not exist.GetDeclaredFields Returns the fields of the specified class.GetDeclaredMethod Returns the declared method with the specified name and parameter types ornullif it does not exist.GetDeclaredMethodHandle Returns the declared method with the specified name and parameter types in the form of aMethodHandleornullif it does not exist or cannot be accessed.GetDeclaredMethods Returns the declared methods of the specified class.GetInstancesFromServiceLoader<T> GetMethod Returns the method with the specified name ornullif it does not exist.GetMethodFromGetterNameCandidates Returns the method with the specified property name ornullif it does not exist.GetMethods Returns the methods of the specified class (include inherited methods).GetResolvedMemberMethods Returns the member methods - with resolved type parameters - of a given type.GetResource Loads the given resource.GetResources APrivilegedActionwrapping aroundClassLoader.getResources(String).IsClassPresent Checks if an external class is present in the provided class loader.LoadClass Loads a class specified by name.NewInstance<T> Execute instance creation as privileged action.NewProxyInstance<T> Execute proxy creation as privileged action.NewSchema Loads a given XML schema.SetContextClassLoader Privileged action used to set the Thread context class loader.