Welcome, Guest. Please Login or Register
WebLab Project
  WebLab project is now officialy hosted in the OW2 Forge!
  Warning ! This forum is now locked, new posts have been disabled. If you want to contact us about a problem or have question, please use the following mailing list:
user@weblab-project.org !
  HomeHelpSearchLoginRegister  
 
 
Page Index Toggle Pages: 1
Send Topic Print
[Resolved] UsageContext (Read 328 times)
29.04.2008 at 14:36:25

Djalil   Offline
WebLab Newbies
I Love WebLab

Posts: 10
*
 
In the configurable interface, the method configure takes two parameters: uid (the UsageContext) and configuration (the Annotation). I thought that the RDF configuration was directly included in the UsageContext as an annotation. If the configuration is the second parameter. What would contain the UsageContext.
« Last Edit: 19.06.2008 at 18:37:37 by Yann Mombrun »  
IP Logged
 
Reply #1 - 29.04.2008 at 14:43:51

Jérémie Doucy   Offline
WebLab Administrator
Every nights I dream about
WebLab ...
Elancourt

Gender: male
Posts: 92
*****
 
The first parameter is the uid (usageContextId) which is only an URI. The configure method doesn't need to know the context definition but need to know the service configuration for a usage context id.

So in other words, since the same UsageContext could be used to configure several services, it is not useful to add Annotation for every configured services. The idea was to use to separate the UsageContext which refer to a "usage" of the system (think about different user's roles) and the Annotation which refer to the configuration of the service. Thus the UsageContext  is kept very light.
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print