Class HotSwapClassesRedefinitionsWatcherDummy
java.lang.Object
org.spincast.plugins.hotswap.classeswatcher.HotSwapClassesRedefinitionsWatcherDummy
- All Implemented Interfaces:
HotSwapClassesRedefinitionsWatcher
public class HotSwapClassesRedefinitionsWatcherDummy
extends Object
implements HotSwapClassesRedefinitionsWatcher
Dummy implementation of HotSwapClassesRedefinitionsWatcher
used when Hotswap Agent is not available.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a new listener for modifications to class redefinitions.void
Removes all listeners.void
Removes a listener.
-
Constructor Details
-
HotSwapClassesRedefinitionsWatcherDummy
public HotSwapClassesRedefinitionsWatcherDummy()
-
-
Method Details
-
registerListener
Description copied from interface:HotSwapClassesRedefinitionsWatcher
Add a new listener for modifications to class redefinitions.More than one listeners can be added for the same class!
- Specified by:
registerListener
in interfaceHotSwapClassesRedefinitionsWatcher
-
removeListener
Description copied from interface:HotSwapClassesRedefinitionsWatcher
Removes a listener.- Specified by:
removeListener
in interfaceHotSwapClassesRedefinitionsWatcher
-
removeAllListeners
public void removeAllListeners()Description copied from interface:HotSwapClassesRedefinitionsWatcher
Removes all listeners.- Specified by:
removeAllListeners
in interfaceHotSwapClassesRedefinitionsWatcher
-