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

jadex.bridge.service.component.ServiceInfo 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.component;

import jadex.bridge.service.BasicService;

/**
 *  Simple struct for storing a pojo/domain service 
 *  with its management part.
 */
public class ServiceInfo
{
	//-------- attributes --------
	
	/** The service domain object. */
	protected Object domainservice;
	
	/** The management object. */
	protected BasicService managementservice; 
	
	//-------- constructors --------
	
	/**
	 *  Create a new service info.
	 */
	public ServiceInfo(Object domainservice, BasicService managementservice)
	{
		this.domainservice = domainservice;
		this.managementservice = managementservice;
	}

	/**
	 *  Get the domain service.
	 *  @return The domain service.
	 */
	public Object getDomainService()
	{
		return domainservice;
	}

	/**
	 *  Get the management service.
	 *  @return The management service.
	 */
	public BasicService getManagementService()
	{
		return managementservice;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy