快精灵印艺坊 您身边的文印专家
广州名片 深圳名片 会员卡 贵宾卡 印刷 设计教程
产品展示 在线订购 会员中心 产品模板 设计指南 在线编辑
 首页 名片设计   CorelDRAW   Illustrator   AuotoCAD   Painter   其他软件   Photoshop   Fireworks   Flash  

 » 彩色名片
 » PVC卡
 » 彩色磁性卡
 » 彩页/画册
 » 个性印务
 » 彩色不干胶
 » 明信片
   » 明信片
   » 彩色书签
   » 门挂
 » 其他产品与服务
   » 创业锦囊
   » 办公用品
     » 信封、信纸
     » 便签纸、斜面纸砖
     » 无碳复印纸
   » 海报
   » 大篇幅印刷
     » KT板
     » 海报
     » 横幅

java.security.Guard翻译

 
JavaTM 2 Platform
Std. Ed. v1.4.2

java.security
Interface Guard

All Known Implementing Classes:
Permission

public interface Guard

This interface represents a guard, which is an object that is used to protect access to another object. 该接口表示守卫,即用于保护对其它对象访问的对象。

This interface contains a single method, checkGuard, with a single object argument. checkGuard is invoked (by the GuardedObject getObject method) to determine whether or not to allow access to the object. 该接口只包含一个checkGuard方式,只有一个object参数。由GuardedObject的getObject方式调用checkGuard来确定是否答应访问该对象。

See Also:
GuardedObject

Method Summary
 voidcheckGuard(Object object)
          Determines whether or not to allow access to the guarded object object. 确定是否答应访问受保护的对象object。
 

Method Detail

checkGuard

public 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. 确定是否答应访问受保护的对象object。假如访问答应,正常返回,否则抛出SecurityException。

Parameters:
object - the object being protected by the guard. 受保护的对象。
Throws:
SecurityException - if access is denied. 假如访问被拒绝抛出。

JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.






返回类别: 教程
上一教程: Java Socket编程(一)
下一教程: 学习Java的笔记(2)

您可以阅读与"java.security.Guard翻译"相关的教程:
· java.security.PublicKey翻译
· 在java体系结构中集成Macromedia Flex(翻译)
· java.net.URLEncoder翻译
· java.net.URLClassLoader翻译
· Java Security Notes (6)
    微笑服务 优质保证 索取样品