Exemple #1
0
  public ServiceDefinition getService(String name) throws Exception {
    ServiceDefinition service = repository.getServiceDefinition(name);

    if (service == null) {
      throw new Exception("Servico nao existe");
    }

    return service;
  }
Exemple #2
0
 public void deployService(ServiceDefinition service) throws Exception {
   repository.addService(service);
 }