Adaptive Framework
0.9.0
|
Internal struct used by common adaptor code for all adaptors. More...
#include <afw_adaptor_impl.h>
Data Fields | |
const afw_adaptor_inf_t * | wrapped_inf |
Wrapped inf. | |
const afw_adaptor_t * | adaptor |
Associated adaptor instance. | |
const afw_utf8_t * | adaptor_id |
Pointer to adaptor id. | |
const afw_utf8_t * | source_location |
Source location associated with this adaptor. | |
const afw_object_t * | metrics_object |
Metrics object. | |
const afw_lock_rw_t * | adaptor_lock_rw |
Read/write lock used for changing adaptor related structs. | |
const afw_utf8_t * | authorization_handler_id |
Authorization handler id. More... | |
const afw_utf8_t * | journal_adaptor_id |
Journal adaptor id (FIXME Going away) More... | |
const afw_model_location_t * | model_location |
Model location struct if this adaptor is a model location. | |
const afw_authorization_policy_location_t * | policy_location |
Model location struct if this adaptor is a model location. | |
apr_hash_t * | supported_core_object_types |
See afw_adaptor_impl_core_object_type_t. | |
const afw_value_t * | authorization |
Adaptor level authorization. More... | |
const afw_object_t * | custom_variables |
Custom variables. | |
AFW_ATOMIC afw_integer_t | retrieve_objects_count |
retrieve_objects() count. | |
AFW_ATOMIC afw_integer_t | get_object_count |
get_object() count. | |
AFW_ATOMIC afw_integer_t | add_object_count |
add_object() count. | |
AFW_ATOMIC afw_integer_t | modify_object_count |
modify_object() count. | |
AFW_ATOMIC afw_integer_t | replace_object_count |
replace_object() count. | |
AFW_ATOMIC afw_integer_t | update_object_count |
update_object() count. | |
AFW_ATOMIC afw_integer_t | delete_object_count |
delete_object() count. | |
apr_hash_t * | object_types_ht |
If not NULL, object types that last for the life of the adaptor. | |
afw_boolean_t | all_object_types_immutable |
Object types last for lifetime of adaptor. More... | |
afw_boolean_t | object_types_fully_loaded |
Object types fully loaded. More... | |
Internal struct used by common adaptor code for all adaptors.
Reads and updates to this struct MUST be done using read and write locks of adaptor->p of the appropriate adaptor. For instance, object_types is accessed by model_adaptor->impl->object_types, so the lock should be on model_adaptor->p.
Definition at line 99 of file afw_adaptor_impl.h.
afw_boolean_t all_object_types_immutable |
Object types last for lifetime of adaptor.
The object_types member is fully loaded with object types.
Definition at line 207 of file afw_adaptor_impl.h.
const afw_value_t* authorization |
Adaptor level authorization.
Evaluated when an authorization decision is needed at the adaptor level.
Definition at line 157 of file afw_adaptor_impl.h.
const afw_utf8_t* authorization_handler_id |
Authorization handler id.
This is the id of the authorization handler that controls access to this adaptor. If NULL, there is no access control.
Definition at line 125 of file afw_adaptor_impl.h.
const afw_utf8_t* journal_adaptor_id |
Journal adaptor id (FIXME Going away)
Adaptor that will be used to record journal entries for every modification to this store. This can be the this adaptor or any other adaptor that supports a journal. See supports_journal below. If NULL, no journaling is performed
Definition at line 135 of file afw_adaptor_impl.h.
afw_boolean_t object_types_fully_loaded |
Object types fully loaded.
If true, object_types_ht holds all the object types for life of adaptor.
Definition at line 214 of file afw_adaptor_impl.h.