Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleServer Roles Manager

Server roles manager is a component to manage the server roles property for WSO2 Carbon based products. Due to the functionality of the server roles manager, users do not have to manually modify the carbon.xml to include the server-roles related to the product feature that they have added to a Carbon product instance. The server roles manager stores bothcarbon.xml file's default product roles as well as the user/tenant specific server roles in the configuration registry. So, when a C-App is deployed in Carbon, the C-App deployer checks for auto-mentioned server roles from the registry instead of the carbon.xml file. 

 

In the server roles manager, the ServerRoles properties are of two types:

 

  • Default - All the server roles picked from that particular product instance's carbon.xml.
  • Custom - All other server roles added by the users.

The following methods can be used to set the ServerRole:

Table of Contents
maxLevel3
minLevel3

...