当前页面:
在线文档首页 >
JBoss 3.2.7 connector API Documentation 英文版文档
PrivilegedProxy (JBoss Connector API) - JBoss 3.2.7 connector API Documentation 英文版文档
org.jboss.resource.adapter.jdbc
Class PrivilegedProxy
java.lang.Object
org.jboss.resource.adapter.jdbc.PrivilegedProxy
- All Implemented Interfaces:
- InvocationHandler, PrivilegedExceptionAction
- public class PrivilegedProxy
- extends Object
- implements InvocationHandler, PrivilegedExceptionAction
A PrivilegedExceptionAction that proxies whatever interfaces the target
object supports. When an invocation through an interface method is done,
the is executed via reflection in a PrivilegedExceptionAction to run
at the privilege level of this codebase.
- Version:
- $Revison:$
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
run
public Object run()
throws Exception
- Specified by:
run
in interface PrivilegedExceptionAction
- Throws:
Exception
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.