| previo | siguiente |
|
A service contract defines an inter-package interface specification. A service contract implementation is a set of procedures that fulfill the specification of a specific service contract. Service contracts are normally used by central services packages to provide a "plug-in" capability for various functionality. An example is the notifications package, which defines a "delivery method" service contract. Various "plug-in" implementations, such as e-mail delivery or SMS delivery, can be provided. The service contract mechanism allows the contract owner ("notifications") to call methods within a contract implementation ("e-mail delivery") without its having knowledge of the internal structure of the plug-in package. Some of the other service contracts in OpenACS and .LRN include: |
|
|
|