next up previous contents
Next: Profile Request Up: Adaptation Framework Previous: Profile Checker

Repository

The repository is a stand alone application. It works independently of the adaptation mechanism integrated over adaptors into the mobile code. It provides profiles, implementation classes and if needed libraries to the adaptation mechanism of the mobile code.

The main() method of the Repository class listens on a defined well-known port for requests. When a request is accepted the repository creates a Repository object. which is responsible for answering the request.

There are three types of requests:

1.
profile request
2.
class request
3.
library request

The profile request is sent by the context awareness specifying the functionality interface, e.g. IHarddisk. The repository returns the profiles of the implementation classes for the implementation group.

The class request is initiated by the loader. The loader loads an implementation class by contacting the repository. The loader also contacts the repository if a dynamic library must be loaded, i.e. library request .



 

Copyright Munich Network Management Team