Manage contexts, contexts for targets and contexts for URI.
Public Methods
-
ContextManager()
- Basic Constructor
-
list<map<string, IProfile*>*> * getContexts(string uri)
- Get all Contexts.
-
void targetContextsAdded(string targetId, list<map<string, IProfile*>*>*contexts)
- Add specified contexts for specified TargetId.
-
void targetContextsRemoved(string targetId, list<map<string, IProfile*>*>*contexts)
- Remove specified contexts for specified TargetId.
-
void addUriServiceContexts(string uri, list<map<string, IProfile*>*>*contexts)
- Add specified contexts for specified URI.
-
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.
ContextManager()
-
Basic Constructor
list<map<string, IProfile*>*> * getContexts(string uri)
-
Get all Contexts.
- Parameters:
- uri - a String Value of uri
- Returns:
- an Object of List<Map<String, IProfile>>
void 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>>
void 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>>
void 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>>
void 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++.