org.axonframework.util
Class MethodAccessibilityCallback

java.lang.Object
  extended by org.axonframework.util.MethodAccessibilityCallback
All Implemented Interfaces:
PrivilegedAction<Object>

public class MethodAccessibilityCallback
extends Object
implements PrivilegedAction<Object>

PrivilegedAction that makes the given method accessible for reflection.

Since:
0.5
Author:
Allard Buijze

Constructor Summary
MethodAccessibilityCallback(Method 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

MethodAccessibilityCallback

public MethodAccessibilityCallback(Method 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 © 2011. All Rights Reserved.