• Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void checkGuard​(Object object)

      Determines whether or not to allow access to the guarded object object.

    • Method Detail

      • checkGuard

        void checkGuard​(Object object)
                 throws SecurityException

        Determines whether or not to allow access to the guarded object object. Returns silently if access is allowed. Otherwise, throws a SecurityException.

        Parameters:
        object - the object being protected by the guard.
        Throws:
        SecurityException - if access is denied.