class ContextManager

Manage contexts, contexts for targets and contexts for URI.

Public Methods

[more] ContextManager()
Basic Constructor
[more]list<map<string, IProfile*>*> * getContexts(string uri)
Get all Contexts.
[more]void targetContextsAdded(string targetId, list<map<string, IProfile*>*>*contexts)
Add specified contexts for specified TargetId.
[more]void targetContextsRemoved(string targetId, list<map<string, IProfile*>*>*contexts)
Remove specified contexts for specified TargetId.
[more]void addUriServiceContexts(string uri, list<map<string, IProfile*>*>*contexts)
Add specified contexts for specified URI.
[more]void removeUriServiceContexts(string uri, list<map<string, IProfile*>*>*contexts)
Remove specified contexts for specified URI.


Documentation

Manage contexts, contexts for targets and contexts for URI. Every context contains user profile and controller profile.

o ContextManager()
Basic Constructor

olist<map<string, IProfile*>*> * getContexts(string uri)
Get all Contexts.
Parameters:
uri - a String Value of uri
Returns:
an Object of List<Map<String, IProfile>>

ovoid targetContextsAdded(string targetId, list<map<string, IProfile*>*>*contexts)
Add specified contexts for specified TargetId.

Note : Empty contexts and null contexts has different meaning. If contexts is empty then no user/controller context is allowed to use that Target. If contexts is null then every user/controller context is allowed to use that Target.

Parameters:
targetId - a String value of Target Id
contexts - an Object of List<Map<String, IProfile>>

ovoid targetContextsRemoved(string targetId, list<map<string, IProfile*>*>*contexts)
Remove specified contexts for specified TargetId.

Parameters:
targetId - a String value of Target Id
contexts - an Object of List<Map<String, IProfile>>

ovoid addUriServiceContexts(string uri, list<map<string, IProfile*>*>*contexts)
Add specified contexts for specified URI.

Note : Empty contexts and null contexts has different meaning. If contexts is empty then no user/controller context is allowed to use that URI. If contexts is null then every user/controller context is allowed to use that URI.

Parameters:
uri - a String value of URI
contexts - an Object of List<Map<String, IProfile>>

ovoid removeUriServiceContexts(string uri, list<map<string, IProfile*>*>*contexts)
Remove specified contexts for specified URI.

Parameters:
uri - a String value of URI
contexts - an Object of List<Map<String, IProfile>>


This class has no child classes.
Author:
Parikshit Thakur & Team, Trace R&D Center
Version:
Revision: 1.1

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.