public class AxonServerRegistration extends Object implements org.axonframework.common.Registration
Registration. Notifies messaging server when registration is
cancelled or closed, and delegates the close/cancel to the normal registration.| Constructor and Description |
|---|
AxonServerRegistration(org.axonframework.common.Registration wrappedRegistration,
Runnable closeCallback)
Instantiate an
AxonServerRegistration, which wraps the given wrappedRegistration and runs the
provided closeCallback on a close() and cancel() call |
public AxonServerRegistration(org.axonframework.common.Registration wrappedRegistration,
Runnable closeCallback)
AxonServerRegistration, which wraps the given wrappedRegistration and runs the
provided closeCallback on a close() and cancel() callpublic void close()
close in interface AutoCloseableclose in interface org.axonframework.common.Registrationpublic boolean cancel()
cancel in interface org.axonframework.common.RegistrationCopyright © 2010–2019. All rights reserved.