org.axonframework.common
Class MemberAccessibilityCallback

java.lang.Object
  extended by org.axonframework.common.MemberAccessibilityCallback
All Implemented Interfaces:
PrivilegedAction<Object>

public class MemberAccessibilityCallback
extends Object
implements PrivilegedAction<Object>

PrivilegedAction that makes the given method accessible for reflection.

Since:
0.5
Author:
Allard Buijze

Constructor Summary
MemberAccessibilityCallback(AccessibleObject method)
          Initialize the callback to make the given method accessible for reflection.
 
Method Summary
 Object run()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemberAccessibilityCallback

public MemberAccessibilityCallback(AccessibleObject method)
Initialize the callback to make the given method accessible for reflection.

Parameters:
method - The method to make accessible
Method Detail

run

public Object run()

Specified by:
run in interface PrivilegedAction<Object>


Copyright © 2010-2016. All Rights Reserved.