public.javadoc.org.spincast.plugins.hotswap.classeswatcher.HotSwapClassesRedefinitionsWatcherDummy.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
HotSwapClassesRedefinitionsWatcherDummy (org.spincast:spincast-framework 1.0.0 API)
org.spincast.plugins.hotswap.classeswatcher
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
Constructors
Constructor and Description
HotSwapClassesRedefinitionsWatcherDummy()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
void
registerListener(HotSwapClassesRedefinitionsListener listener)
Add a new listener for modifications to class
redefinitions.
void
removeAllListeners()
Removes all listeners.
void
removeListener(HotSwapClassesRedefinitionsListener listener)
Removes a listener.
-
-
Constructor Detail
-
HotSwapClassesRedefinitionsWatcherDummy
public HotSwapClassesRedefinitionsWatcherDummy()
-
Method Detail
-
registerListener
public void registerListener(HotSwapClassesRedefinitionsListener listener)
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 interface HotSwapClassesRedefinitionsWatcher
-
removeListener
public void removeListener(HotSwapClassesRedefinitionsListener listener)
Description copied from interface: HotSwapClassesRedefinitionsWatcher
Removes a listener.
- Specified by:
removeListener
in interface HotSwapClassesRedefinitionsWatcher
-
removeAllListeners
public void removeAllListeners()
Description copied from interface: HotSwapClassesRedefinitionsWatcher
Removes all listeners.
- Specified by:
removeAllListeners
in interface HotSwapClassesRedefinitionsWatcher
Copyright © 2019. All rights reserved.