Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.security

Interface Guard

java.lang.Object
|
+--java.security.Guard


public interface Guard

This interface specifies a mechanism for querying whether or not access is allowed to a guarded object.

Since:Author:See Also:

Method Summary

voidcheckGuard(java.lang.Object obj)

This method tests whether or not access is allowed to the specified guarded object.

Method Details

checkGuard

public void checkGuard(java.lang.Object obj)

This method tests whether or not access is allowed to the specified guarded object. Access is allowed if this method returns silently. If access is denied, an exception is generated.

Parameters:

Throws: