All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hi3project.broccoli.bsdf.api.discovery.IServiceRegistry Maven / Gradle / Ivy

Go to download

Specification for BSDL, BSDM and basic BSDF. Interfaces and XML descriptors. XML Schema for BSDL.

The newest version!
/*******************************************************************************
 *
 * Copyright (C) 2015 Mytech Ingenieria Aplicada 
 * Copyright (C) 2015 Alejandro Paz 
 *
 * This file is part of Broccoli.
 *
 * Broccoli is free software: you can redistribute it and/or modify it under the
 * terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, either version 3 of the License, or (at your option) any
 * later version.
 *
 * Broccoli is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Broccoli. If not, see .
 *
 ******************************************************************************/

package com.hi3project.broccoli.bsdf.api.discovery;

import com.hi3project.broccoli.bsdl.api.ISemanticLocator;
import com.hi3project.broccoli.bsdl.api.meta.IOntologyLanguage;
import com.hi3project.broccoli.bsdm.api.profile.functionality.IRequestedFunctionality;
import com.hi3project.broccoli.bsdl.impl.exceptions.ModelException;
import com.hi3project.broccoli.bsdm.impl.exceptions.ServiceExecutionException;
import java.util.Collection;

/**
 * 

* Extension of IComponentsRegistry, for IServiceDescription components. *

* Knows: *
    *
  • the ISemanticIdentifiers that identify the contained * IServiceDescriptions
  • *
  • how to search for functionalies that math to an * IRequestedFunctionality
  • *
  • an IMatchmaker to use for that search
  • *
  • how to clean the previously registered services
  • *
* * */ public interface IServiceRegistry extends IRegistryLoader { public Collection searchFor(IRequestedFunctionality requestedFunctionality) throws ModelException; public Collection searchFor(IOntologyLanguage ontologyLanguage, ISemanticLocator requestedFunctionality) throws ModelException; public IMatchmaker getMatchmaker(); public void setMatchmaker(IMatchmaker matchmaker); public void addExternalRegistry(IExternalServiceRegistryMatchmaker externalRegistry); public void initServiceImplementations() throws ServiceExecutionException; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy