}
private MTPDescriptor handleInstallMTP(VerticalCommand cmd) throws IMTPException, ServiceException, NotFoundException, MTPException {
Object[] params = cmd.getParams();
String address = (String)params[0];
ContainerID cid = (ContainerID)params[1];
String className = (String)params[2];
MessagingSlice targetSlice = (MessagingSlice)getSlice(cid.getName());
try {
return targetSlice.installMTP(address, className);
}
catch(IMTPException imtpe) {
targetSlice = (MessagingSlice)getFreshSlice(cid.getName());
return targetSlice.installMTP(address, className);
}
}