Package ortus.boxlang.runtime.events
Enum Class BoxEvent
- All Implemented Interfaces:
Serializable
,Comparable<BoxEvent>
,Constable
These are all the core BoxLang interception events that can be intercepted by the BoxLang runtime.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCache Provider EventsCache Store EventsCache Service EventsDynamic Object EventsModule EventsObject Marshaller EventsLog EventsApplication Related EventsLifecycle Methods for Components and BIFSDump EventsDatasource Service EventsHTTP EventsModule Service EventsQuery InvocationsRequest Context EventsRuntime EventsScheduler Service EventsScheduler EventsTransaction EventsFunction InvocationsTemplate Invocations -
Method Summary
Modifier and TypeMethodDescriptionkey()
Returns the key representing the event name.static Key[]
toArray()
Returns an array of all the event keys.static BoxEvent
Returns the enum constant of this class with the specified name.static BoxEvent[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ON_RUNTIME_START
Runtime Events -
ON_RUNTIME_SHUTDOWN
-
ON_RUNTIME_CONFIGURATION_LOAD
-
ON_RUNTIME_BOX_CONTEXT_STARTUP
-
ON_SERVER_SCOPE_CREATION
-
ON_CONFIGURATION_LOAD
-
ON_CONFIGURATION_OVERRIDE_LOAD
-
ON_PARSE
-
ON_MISSING_MAPPING
-
ON_BIF_INSTANCE
Lifecycle Methods for Components and BIFS -
ON_BIF_INVOCATION
-
ON_COMPONENT_INSTANCE
-
ON_COMPONENT_INVOCATION
-
ON_FILECOMPONENT_ACTION
-
ON_CREATEOBJECT_REQUEST
-
AFTER_DYNAMIC_OBJECT_CREATION
Dynamic Object Events -
ON_APPLICATION_START
Application Related Events -
ON_APPLICATION_END
-
ON_APPLICATION_RESTART
-
ON_APPLICATION_DEFINED
-
BEFORE_APPLICATION_LISTENER_LOAD
-
AFTER_APPLICATION_LISTENER_LOAD
-
ON_REQUEST_FLUSH_BUFFER
-
ON_SESSION_CREATED
-
ON_SESSION_DESTROYED
-
ON_REQUEST
-
ON_REQUEST_START
-
ON_REQUEST_END
-
ON_CLASS_REQUEST
-
ON_SESSION_START
-
ON_SESSION_END
-
ON_ERROR
-
ON_MISSING_TEMPLATE
-
ON_ABORT
-
ON_REQUEST_CONTEXT_CONFIG
Request Context Events -
PRE_TEMPLATE_INVOKE
Template Invocations -
POST_TEMPLATE_INVOKE
-
PRE_FUNCTION_INVOKE
Function Invocations -
POST_FUNCTION_INVOKE
-
ON_QUERY_BUILD
Query Invocations -
PRE_QUERY_EXECUTE
-
POST_QUERY_EXECUTE
-
QUERY_ADD_ROW
-
ON_TRANSACTION_BEGIN
Transaction Events -
ON_TRANSACTION_END
-
ON_TRANSACTION_ACQUIRE
-
ON_TRANSACTION_RELEASE
-
ON_TRANSACTION_COMMIT
-
ON_TRANSACTION_ROLLBACK
-
ON_TRANSACTION_SET_SAVEPOINT
-
AFTER_CACHE_ELEMENT_INSERT
Cache Store Events -
BEFORE_CACHE_ELEMENT_REMOVED
-
AFTER_CACHE_ELEMENT_REMOVED
-
AFTER_CACHE_ELEMENT_UPDATED
-
AFTER_CACHE_CLEAR_ALL
Cache Provider Events -
AFTER_CACHE_REGISTRATION
-
AFTER_CACHE_REMOVAL
-
BEFORE_CACHE_REMOVAL
-
BEFORE_CACHE_REPLACEMENT
-
BEFORE_CACHE_SHUTDOWN
-
AFTER_CACHE_SHUTDOWN
-
AFTER_CACHE_SERVICE_STARTUP
Cache Service Events -
BEFORE_CACHE_SERVICE_SHUTDOWN
-
AFTER_CACHE_SERVICE_SHUTDOWN
-
LOG_MESSAGE
Log Events -
ON_DATASOURCE_SERVCE_STARTUP
Datasource Service Events -
ON_DATASOURCE_SERVICE_SHUTDOWN
-
ON_DATASOURCE_STARTUP
-
ON_SCHEDULER_STARTUP
Scheduler Events -
ON_SCHEDULER_SHUTDOWN
-
ON_SCHEDULER_RESTART
-
SCHEDULER_BEFORE_ANY_TASK
-
SCHEDULER_AFTER_ANY_TASK
-
SCHEDULER_ON_ANY_TASK_SUCCESS
-
SCHEDULER_ON_ANY_TASK_ERROR
-
ON_SCHEDULER_SERVICE_STARTUP
Scheduler Service Events -
ON_SCHEDULER_SERVICE_SHUTDOWN
-
ON_ALL_SCHEDULERS_STARTED
-
ON_SCHEDULER_REMOVAL
-
ON_SCHEDULER_REGISTRATION
-
BEFORE_OBJECT_MARSHALL_SERIALIZE
Object Marshaller Events -
AFTER_OBJECT_MARSHALL_SERIALIZE
-
BEFORE_OBJECT_MARSHALL_DESERIALIZE
-
AFTER_OBJECT_MARSHALL_DESERIALIZE
-
ON_BXDUMP
Dump Events -
ON_MISSING_DUMP_OUTPUT
-
AFTER_MODULE_REGISTRATIONS
Module Events -
PRE_MODULE_REGISTRATION
-
POST_MODULE_REGISTRATION
-
AFTER_MODULE_ACTIVATIONS
-
PRE_MODULE_LOAD
-
POST_MODULE_LOAD
-
PRE_MODULE_UNLOAD
-
POST_MODULE_UNLOAD
-
ON_HTTP_REQUEST
HTTP Events -
ON_HTTP_RAW_RESPONSE
-
ON_HTTP_RESPONSE
-
ON_MODULE_SERVICE_STARTUP
Module Service Events -
ON_MODULE_SERVICE_SHUTDOWN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
key
Returns the key representing the event name.- Returns:
- The key representing the event name.
-
toArray
Returns an array of all the event keys.- Returns:
- An array of all the event keys.
-