public class DirectExecutor extends Object implements ActionExecutor
PrivilegedExceptionAction
.Constructor and Description |
---|
DirectExecutor() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(PrivilegedExceptionAction<Object> action)
Execute a
PrivilegedExceptionAction . |
public DirectExecutor()
public Object execute(PrivilegedExceptionAction<Object> action) throws PrivilegedActionException
ActionExecutor
PrivilegedExceptionAction
.execute
in interface ActionExecutor
action
- the action to runPrivilegedActionException
- if the execution of the action failsCopyright © 2005–2022 Codehaus. All rights reserved.