Interface PrivilegedAction

Deprecated. Deprecated in WebLogic Server 7.0.

public interface PrivilegedAction

A computation to be performed with privileges enabled. The computation is performed by invoking Security.doAsPrivileged on the PrivilegedAction object. This interface is used only for computations that do not throw checked exceptions; computations that throw checked exceptions must use PrivilegedExceptionAction instead.

Method Summary
 Object run()

Method Detail


Object run()

Documentation is available at
Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.