Lines Matching defs:action
156 * <p>If the action performed in your <code>run</code> method could
248 * enabled. The action is performed with <i>all</i> of the permissions
251 * <p> If the action's <code>run</code> method throws an (unchecked)
255 * AccessControlContext will be ignored while the action is performed.
257 * @param action the action to be performed.
259 * @return the value returned by the action's <code>run</code> method.
261 * @exception NullPointerException if the action is <code>null</code>
270 public static native <T> T doPrivileged(PrivilegedAction<T> action);
274 * enabled. The action is performed with <i>all</i> of the permissions
277 * <p> If the action's <code>run</code> method throws an (unchecked)
281 * DomainCombiner (which may be null) while the action is performed.
283 * @param action the action to be performed.
285 * @return the value returned by the action's <code>run</code> method.
287 * @exception NullPointerException if the action is <code>null</code>
295 public static <T> T doPrivilegedWithCombiner(PrivilegedAction<T> action) {
298 return AccessController.doPrivileged(action);
301 return AccessController.doPrivileged(action, preserveCombiner(dc, Reflection.getCallerClass()));
309 * The action is performed with the intersection of the permissions
314 * If the action's <code>run</code> method throws an (unchecked) exception,
317 * @param action the action to be performed.
321 * the specified action. If the context is
325 * @return the value returned by the action's <code>run</code> method.
327 * @exception NullPointerException if the action is <code>null</code>
333 public static native <T> T doPrivileged(PrivilegedAction<T> action,
338 * privileges enabled. The action is performed with <i>all</i> of the
341 * <p> If the action's <code>run</code> method throws an <i>unchecked</i>
345 * AccessControlContext will be ignored while the action is performed.
347 * @param action the action to be performed
349 * @return the value returned by the action's <code>run</code> method
351 * @exception PrivilegedActionException if the specified action's
353 * @exception NullPointerException if the action is <code>null</code>
362 doPrivileged(PrivilegedExceptionAction<T> action)
368 * privileges enabled. The action is performed with <i>all</i> of the
371 * <p> If the action's <code>run</code> method throws an <i>unchecked</i>
375 * DomainCombiner (which may be null) while the action is performed.
377 * @param action the action to be performed.
379 * @return the value returned by the action's <code>run</code> method
381 * @exception PrivilegedActionException if the specified action's
383 * @exception NullPointerException if the action is <code>null</code>
393 (PrivilegedExceptionAction<T> action) throws PrivilegedActionException {
397 return AccessController.doPrivileged(action);
400 return AccessController.doPrivileged(action, preserveCombiner(dc, Reflection.getCallerClass()));
430 * <code>AccessControlContext</code>. The action is performed with the
435 * If the action's <code>run</code> method throws an <i>unchecked</i>
438 * @param action the action to be performed
442 * the specified action. If the context is
446 * @return the value returned by the action's <code>run</code> method
448 * @exception PrivilegedActionException if the specified action's
451 * @exception NullPointerException if the action is <code>null</code>
458 doPrivileged(PrivilegedExceptionAction<T> action,