IT. Expert System.

Android Reference

GuardedObject


java.security

Class GuardedObject

  • All Implemented Interfaces:
    Serializable


    public class GuardedObject
    extends Object
    implements Serializable
    GuardedObject controls access to an object, by checking all requests for the object with a Guard.
    See Also:
    Serialized Form
    • Constructor Detail

      • GuardedObject

        public GuardedObject(Object object,
                     Guard guard)
        Constructs a new instance of GuardedObject which protects access to the specified Object using the specified Guard.
        Parameters:
        object - the Object to protect.
        guard - the Guard which protects the specified Object, maybe null.
    • Method Detail

      • getObject

        public Object getObject()
                         throws SecurityException
        Returns the guarded Object if the associated Guard permits access. If access is not granted, then a SecurityException is thrown.
        Returns:
        the guarded object.
        Throws:
        SecurityException - if access is not granted to the guarded object.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 675 / 158776978. Delta: 0.02869 с