Class CompoundCallbackHandler
java.lang.Object
ch.tocco.nice2.dbrefactoring.api.callback.CompoundCallbackHandler
- All Implemented Interfaces:
CallbackHandler
A compound callback handler allowing to add several
CallbackHandler
s
that are applied to incoming callbacks in non-deterministic order.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addHandler
(CallbackHandler handler) void
The callback objects from the installation routine are passed to this handler.
-
Constructor Details
-
CompoundCallbackHandler
-
-
Method Details
-
addHandler
-
handle
Description copied from interface:CallbackHandler
The callback objects from the installation routine are passed to this handler. A callback might ask for additional information required for installing or just informs the caller. TheCallback
interface is a marker interface, so you need to check for concrete subclasses.- Specified by:
handle
in interfaceCallbackHandler
-