jadex.bridge.service.IInternalService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-platform-bridge Show documentation
Show all versions of jadex-platform-bridge Show documentation
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.
package jadex.bridge.service;
import jadex.bridge.IInternalAccess;
import jadex.bridge.service.annotation.Reference;
import jadex.commons.future.IFuture;
/**
* Internal service interface for managing services in service container.
*/
public interface IInternalService extends IService
{
/**
* Start the service.
* @return A future that is done when the service has completed starting.
*/
public IFuture startService();
/**
* Shutdown the service.
* @return A future that is done when the service has completed its shutdown.
*/
public IFuture shutdownService();
/**
* Sets the access for the component.
* @param access Component access.
*/
public IFuture setComponentAccess(@Reference IInternalAccess access);
/**
* Set the service identifier.
*/
public void setServiceIdentifier(IServiceIdentifier sid);
// /**
// * Get the implementation type.
// * @return The implementation type.
// */
// public IFuture> getImplementationType();
}