next up previous contents
Next: Integration of Profile Values Up: Profiles Previous: Structure of Profile Values

User Defined matching function

As shown in section [*] the association of profile values by and is very strict. This constraint can be released by overwriting the matching function of a profile value of the superclass ProfileValue. The evaluation of the default matching function is based on the structure of the profile values. This function can be exchanged when a new profile value is introduced by the application programmer.

The new matching function can compare the implementation profile value and the environment profile value in a completely different way. The result must be of the type boolean.

The profile values are encapsulated by the profile, which is defined by the programmer of the implementation class. As suggested in Integrated Profile Based Context Awareness in section [*] the profiles are integrated into the implementation class.



Copyright Munich Network Management Team