Class CacheMediatorService
- java.lang.Object
-
- org.wso2.carbon.mediator.service.AbstractMediatorService
-
- org.wso2.carbon.mediator.cache.ui.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 Summary
Constructors Constructor Description CacheMediatorService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
This gives the display name for the mediator in the add mediator menu, and this can be anyString
.String
getGroupName()
Gives the mediator categorization in the add mediator menu.String
getLogicalName()
This should be equivalent toMediator.getType()
of the mediator.org.wso2.carbon.mediator.service.ui.Mediator
getMediator()
Retrieves a default new mediator instances of the representing mediator.String
getTagLocalName()
This gives the mediator serialization tag local name.
-
-
-
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 anyString
. 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 toMediator.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 interfaceorg.wso2.carbon.mediator.service.MediatorService
- Overrides:
getGroupName
in classorg.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
-
-