Uses of Class
com.tailf.dp.DpException
Package
Description
Data provider API package, for implementation of callbacks for validations, actions, transformation etc.
-
Uses of DpException in com.tailf.dp
Modifier and TypeClassDescriptionclass
Exception thrown from inside callbacks to identify problems.class
Extended errorcode Exceptions thrown from inside callbacks to identify problems.class
Warnings thrown from inside callbacks to identify problems.Modifier and TypeMethodDescriptionvoid
Dp.registerAnnotatedCallbacks
(Object obj) All Data, Trans, Action, Validate, TransValidate and DB callbacks are registered using this method.void
Dp.registerAnnotatedCallbacks
(String mountId, Object obj) void
Dp.registerAnnotatedMountedCbs
(DpMountIdInterface MountIdMethod, Object obj) void
Dp.registerAnnotatedRangeActionCallbacks
(Object obj, ConfValue[] lower, ConfValue[] higher, ConfPath path) void
Dp.registerAnnotatedRangeDataCallbacks
(Object obj, ConfValue[] lower, ConfValue[] higher, ConfPath path) DataCallbacks can be registered for a range of values using this methodvoid
Dp.registerDone()
When we have registered all the callbacks for a daemon we must call this function to synchronize with ConfD/NCS.void
Dp.reRegisterAnnotatedCallbacks
(Object obj) reRegisters an existing callback.void
Dp.reRegisterAnnotatedCallbacks
(String mountId, Object obj) void
Dp.reRegisterAnnotatedMountedCbs
(DpMountIdInterface MountIdMethod, Object obj) void
reRegisters an existing callback.void
reRegisters an existing callback.