Class CacheMediatorService

  • All Implemented Interfaces:
    org.wso2.carbon.mediator.service.MediatorService

    public class CacheMediatorService
    extends org.wso2.carbon.mediator.service.AbstractMediatorService
    Class that interfaces the mediator service
    • Constructor Detail

      • CacheMediatorService

        public CacheMediatorService()
    • Method Detail

      • getTagLocalName

        public String getTagLocalName()
        This gives the mediator serialization tag local name.
        Returns:
        tag local name of the mediator tag QName
      • getDisplayName

        public String getDisplayName()
        This gives the display name for the mediator in the add mediator menu, and this can be any String. It is recommended to put a meaning full descriptive short name as the display name
        Returns:
        display name in the add mediator menu of the mediator
      • getLogicalName

        public String getLogicalName()
        This should be equivalent to Mediator.getType() of the mediator. The value of this is generally the class name without the package declaration.
        Returns:
        logical name of the mediator
      • getGroupName

        public String getGroupName()
        Gives the mediator categorization in the add mediator menu. This should be a descriptive meaning full and short text and it is recommended to use existing group names if possible, to reduce the number of groups in the add mediator menu. it is possible to add a new group by putting any String to this.
        Specified by:
        getGroupName in interface org.wso2.carbon.mediator.service.MediatorService
        Overrides:
        getGroupName in class org.wso2.carbon.mediator.service.AbstractMediatorService
        Returns:
        group name of the mediator to which this mediator is categorized in the add mediator menu
      • getMediator

        public org.wso2.carbon.mediator.service.ui.Mediator getMediator()
        Retrieves a default new mediator instances of the representing mediator. This method is used by the mediator addition and will be called to get a new instance of the mediator.
        Returns:
        new instance of the mediator with the default values filled