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

jadex.bridge.service.search.IRegistryDataProvider Maven / Gradle / Ivy

Go to download

Jadex bridge is a base package for kernels and platforms, i.e., it is used by both and provides commonly used interfaces and classes for active components and their management.

There is a newer version: 4.0.267
Show newest version
package jadex.bridge.service.search;

import java.util.Iterator;
import java.util.Set;

import jadex.bridge.ClassInfo;
import jadex.bridge.IComponentIdentifier;
import jadex.bridge.service.IService;

/**
 *  Interface for the search functionality to get the registry data.
 */
public interface IRegistryDataProvider
{
	/**
	 *  Get services per type.
	 *  @param type The interface type. If type is null all services are returned.
	 *  @return First matching service or null.
	 */
	// read
	public Iterator getServices(ClassInfo type);
	
	/**
	 *  Get queries per type.
	 *  @param type The interface type. If type is null all services are returned.
	 *  @return The queries.
	 */
	// read
	public  Set> getQueries(ClassInfo type);
	
	/**
	 *  Test if a service is included.
	 *  @param ser The service.
	 *  @return True if is included.
	 */
	public boolean isIncluded(IComponentIdentifier cid, IService ser);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy