aicas logo Jamaica 3.4 release 8

java.security
Interface PrivilegedAction<T>

All Known Implementing Classes:
GetBooleanAction, GetPropertyAction

public interface PrivilegedAction<T>

This interface specifes a single run method that executes a privileged operation. This method is called by AccessController.doPrivileged() after that method activiates the required privileges.

Since:
1.1
See Also:
AccessController, PrivilegedExceptionAction
Status:
updated to 1.5

Method Summary
 T run()
          This method performs an operation that requires higher privileges to perform.
 

Method Detail

run

T run()
This method performs an operation that requires higher privileges to perform. It is called when a section of code invokes AccessController.doPrivileged().

Returns:
obj An implementation dependent return value
See Also:
AccessController.doPrivileged(PrivilegedAction), AccessController.doPrivileged(PrivilegedAction, AccessControlContext)

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.