public class CallbackOptions extends Object implements Serializable
Constructor and Description |
---|
CallbackOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowsDuplicateListener()
Flags if duplicate listeners are allowed to handle the same
callback event.
|
boolean |
getAllowsMultipleMethodsForSameCallback()
Flags if multiple methods of the same class can handle the same
callback event.
|
boolean |
getPostPersistCallbackImmediate()
Affirms if the post-persist callback is invoked as soon as a new instance
is managed.
|
void |
setAllowsDuplicateListener(boolean flag)
Flags if duplicate listeners are allowed to handle the same
callback event.
|
void |
setAllowsMultipleMethodsForSameCallback(boolean flag)
Flags if multiple methods of the same class can handle the same
callback event.
|
void |
setPostPersistCallbackImmediate(boolean flag)
Sets if the post-persist callback is invoked as soon as a new instance
is managed.
|
public boolean getPostPersistCallbackImmediate()
public void setPostPersistCallbackImmediate(boolean flag)
public boolean getAllowsMultipleMethodsForSameCallback()
public void setAllowsMultipleMethodsForSameCallback(boolean flag)
public boolean getAllowsDuplicateListener()
public void setAllowsDuplicateListener(boolean flag)
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.