Package org.apache.openjpa.event
Interface CallbackModes
- All Known Subinterfaces:
Broker
,DistributedBroker
,MetaDataDefaults
- All Known Implementing Classes:
AbstractMetaDataDefaults
,BrokerImpl
,DelegatingBroker
,DistributedBrokerImpl
,FinalizingBrokerImpl
,LifecycleEventManager
,NoneMetaDataFactory
,PersistenceMetaDataDefaults
,ValidatingLifecycleEventManager
public interface CallbackModes
Callback handling constants.
- Since:
- 0.4.0
- Author:
- Steve Kim
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Flag to stop executing callbacks on exception immediately.static final int
Flag to ignore exceptions made during callback.static final int
Flag to log exceptions made during callback.static final int
Flag to re-throw exceptions made during callback.static final int
Flag to always rollback on a callback exception.
-
Field Details
-
CALLBACK_FAIL_FAST
static final int CALLBACK_FAIL_FASTFlag to stop executing callbacks on exception immediately.- See Also:
-
CALLBACK_IGNORE
static final int CALLBACK_IGNOREFlag to ignore exceptions made during callback.- See Also:
-
CALLBACK_LOG
static final int CALLBACK_LOGFlag to log exceptions made during callback.- See Also:
-
CALLBACK_RETHROW
static final int CALLBACK_RETHROWFlag to re-throw exceptions made during callback.- See Also:
-
CALLBACK_ROLLBACK
static final int CALLBACK_ROLLBACKFlag to always rollback on a callback exception.- See Also:
-