Revision 18311,
1.3 KB
checked in by ghudson, 22 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r18310,
which included commits to RCS files with non-trunk default branches.
|
Rev | Line | |
---|
[18310] | 1 | Objects: |
---|
| 2 | ActivationContext: |
---|
| 3 | One per session. |
---|
| 4 | Performs queries on object directories. |
---|
| 5 | Gets an amalgamated list |
---|
| 6 | |
---|
| 7 | ObjectDirectory: |
---|
| 8 | Normally, one per user-system tuple. |
---|
| 9 | Maintains a database of objects. |
---|
| 10 | Activates objects upon request. |
---|
| 11 | |
---|
| 12 | ImplementationID (pseudo): |
---|
| 13 | Uniquely identifies an implementation. |
---|
| 14 | |
---|
| 15 | ActivationID (pseudo): |
---|
| 16 | ImplementationID, plus whatever other contextual information is necessary |
---|
| 17 | to activate the server (hostname, OD class, etc.) |
---|
| 18 | |
---|
| 19 | Use cases: |
---|
| 20 | |
---|
| 21 | Panel applet |
---|
| 22 | 1. User wants a new panel applet. |
---|
| 23 | 2. Panel asks ActivationContext->activate("impl_id") |
---|
| 24 | 3. AC asks ODs who has impl_id available. |
---|
| 25 | 4. AC looks through OD query results, looks for one that matches the requirements |
---|
| 26 | and preferences. |
---|
| 27 | (a) Narrow down list to those which match requirements. |
---|
| 28 | (b) Sort by preferences. |
---|
| 29 | (c) Choose first on list. |
---|
| 30 | 5. AC asks OD to activate server. |
---|
| 31 | 6. AC returns result. |
---|
| 32 | |
---|
| 33 | Bonobo component |
---|
| 34 | 1. User gets list of bonobo components |
---|
| 35 | (a) Query the AC for all objects that meet requirements, sort by preferences. |
---|
| 36 | 2. User chooses. |
---|
| 37 | 3. Proceed similar to above case from step 2. |
---|
| 38 | |
---|
| 39 | Editor |
---|
| 40 | 1. App says "give me an IDL:Editor:1.0". |
---|
| 41 | 2. AC searches through ODs |
---|
| 42 | (a) Narrow down list to those which match requirements. |
---|
| 43 | (b) Sort by preferences. |
---|
| 44 | (c) Choose first on list. |
---|
| 45 | |
---|
| 46 | XXX how to use defaults? |
---|
Note: See
TracBrowser
for help on using the repository browser.