org.unitils.spring
Class SpringUnitils
java.lang.Object
org.unitils.spring.SpringUnitils
public class SpringUnitils
- extends Object
Utility facade for handling Spring things such as invalidating a cached application context.
- Author:
- Tim Ducheyne, Filip Neven
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringUnitils
public SpringUnitils()
invalidateApplicationContext
public static void invalidateApplicationContext(Class<?>... classes)
- Forces the reloading of the application context the next time that it is requested. If classes are given
only contexts that are linked to those classes will be reset. If no classes are given, all cached
contexts will be reset.
- Parameters:
classes
- The classes for which to reset the contexts
Copyright © 2011. All Rights Reserved.