}
@Override
public void setName(String name) {
super.setName(name);
serviceEntity = new ServiceEntity(name, null, "VHosts Manager");
serviceEntity.addIdentities(
new ServiceIdentity("component", "generic", "VHost Manager"),
// new ServiceIdentity("automation", "command-node", "All VHosts"),
new ServiceIdentity("automation", "command-list",
"VHosts management commands"));
serviceEntity.addFeatures(DEF_FEATURES);
serviceEntity.addFeatures(CMD_FEATURES);
ServiceEntity item = new ServiceEntity(getName(),
Command.VHOSTS_RELOAD.toString(),
"Reload VHosts from repository");
item.addFeatures(CMD_FEATURES);
item.addIdentities(new ServiceIdentity("automation", "command-node",
"Reload VHosts from repository"));
serviceEntity.addItems(item);
item = new ServiceEntity(getName(),
Command.VHOSTS_UPDATE.toString(),
"Add/Update selected VHost information");
item.addFeatures(CMD_FEATURES);
item.addIdentities(new ServiceIdentity("automation", "command-node",
"Add/Update selected VHost information"));
serviceEntity.addItems(item);
item = new ServiceEntity(getName(),
Command.VHOSTS_REMOVE.toString(),
"Remove selected VHost");
item.addFeatures(CMD_FEATURES);
item.addIdentities(new ServiceIdentity("automation", "command-node",
"Remove selected VHost"));
serviceEntity.addItems(item);
}