org.axonframework.util
Class FieldAccessibilityCallback

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

public class FieldAccessibilityCallback
extends Object
implements PrivilegedAction<Object>

PrivilegedAction that makes the given field accessible for reflection.

Since:
0.5
Author:
Allard Buijze

Constructor Summary
FieldAccessibilityCallback(Field field)
          Initialize the callback to make the given field 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

FieldAccessibilityCallback

public FieldAccessibilityCallback(Field field)
Initialize the callback to make the given field accessible for reflection.

Parameters:
field - The field to make accessible
Method Detail

run

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


Copyright © 2011. All Rights Reserved.