public interface ReferenceJanitor
ReferenceJanitor's primary duty is to clean up references.
But it may manipulate a method invocation's arguments, too. Hence, it's not simply a "Cleaner" but more a "Janitor" having an advanced job ;-)
In order to do his work, he is notified about all method invocations. So he can track which references (primarily
listeners) are registered where. Finally, he can clean the tangling references up, when an ObjectManager is evicted.
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
int |
getPriority() |
void |
postInvoke(ExtMethodInvocationRequest extMethodInvocationRequest,
Object resultObject,
Throwable error) |
void |
preInvoke(ExtMethodInvocationRequest extMethodInvocationRequest) |
int getPriority()
void preInvoke(ExtMethodInvocationRequest extMethodInvocationRequest)
void postInvoke(ExtMethodInvocationRequest extMethodInvocationRequest, Object resultObject, Throwable error)
void cleanUp()
Copyright © 2013–2019. All rights reserved.