Interceptors
There are ColdBox interception points that are announced when working with CBFS disks, directories, and files that you can use. These can be used to provide additional functionality in your applications such as logging file access, securing folders, and more.
cbfsOnDiskStart
Invoked after a disk has been started.
CBFS automatically manages the starting of disks.
cbfsOnDiskShutdown
CBFS automatically manages the shutdown of disks.
Invoked after a disk has been shutdown.
cbfsOnFileCreate
Invoked when a file is created.
cbfsOnFileMove
Invoked when a file is moved.
cbfsOnFileCopy
Invoked when a file is copied.
cbfsOnFileDelete
Invoked when a file is deleted.
cbfsOnFileInfoRequest
Invoked when info or extended info is requested on a file.
cbfsOnFileMove
Invoked when a file is moved.
cbfsOnDirectoryMove
Invoked when a directory is moved.
cbfsOnDirectoryCreate
Invoked when a directory is created.
cbfsOnDirectoryCopy
Invoked when a directory is copied.
cbfsOnDirectoryDelete
Invoked when a directory is deleted.
Last updated