public interface ActionExecutor
PrivilegedExceptionAction
. Implementations of this type are used by the
privileging toy.Modifier and Type | Method and Description |
---|---|
Object |
execute(PrivilegedExceptionAction<Object> action)
Execute a
PrivilegedExceptionAction . |
Object execute(PrivilegedExceptionAction<Object> action) throws PrivilegedActionException
PrivilegedExceptionAction
.action
- the action to runPrivilegedActionException
- if the execution of the action failsCopyright © 2005–2024 Codehaus. All rights reserved.