org.apache.openejb.util
Class SetAccessible

java.lang.Object
  extended by org.apache.openejb.util.SetAccessible
All Implemented Interfaces:
PrivilegedAction

public class SetAccessible
extends Object
implements PrivilegedAction

Version:
$Rev$ $Date$

Constructor Summary
SetAccessible(AccessibleObject object)
           
 
Method Summary
static
<T extends AccessibleObject>
T
on(T object)
           
 Object run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetAccessible

public SetAccessible(AccessibleObject object)
Method Detail

run

public Object run()
Specified by:
run in interface PrivilegedAction

on

public static <T extends AccessibleObject> T on(T object)


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.