public interface IJadexMultiPlatformBinder
| Modifier and Type | Method and Description |
|---|---|
jadex.commons.future.IFuture<jadex.bridge.service.types.cms.IComponentManagementService> |
getCMS(jadex.bridge.IComponentIdentifier platformID)
Deprecated.
use getService() or getsService() instead.
|
jadex.bridge.IExternalAccess |
getExternalPlatformAccess(jadex.bridge.IComponentIdentifier platformID)
Returns the Jadex External Platform Access object for a given platform Id
|
jadex.commons.future.IFuture<jadex.bridge.service.types.message.IMessageService> |
getMS(jadex.bridge.IComponentIdentifier platformID)
Deprecated.
use getService() or getsService() instead.
|
jadex.bridge.IResourceIdentifier |
getResourceIdentifier()
Returns the ResourceIdentifier of the /ClientApp/ classes.
|
<S> jadex.commons.future.IFuture<S> |
getService(jadex.bridge.IComponentIdentifier platformId,
java.lang.Class<S> serviceClazz)
Looks up a service.
|
<S> jadex.commons.future.IFuture<S> |
getService(jadex.bridge.IComponentIdentifier platformId,
java.lang.Class<S> serviceClazz,
java.lang.String scope)
Looks up a service.
|
<S> S |
getsService(jadex.bridge.IComponentIdentifier platformId,
java.lang.Class<S> serviceClazz)
Looks up a service and returns it synchronously.
|
boolean |
isPlatformRunning(jadex.bridge.IComponentIdentifier platformID)
Checks whether a jadex platform is running.
|
void |
shutdownJadexPlatform(jadex.bridge.IComponentIdentifier platformID)
Terminates the running jadex platform with the given ID.
|
void |
shutdownJadexPlatforms()
Terminates all running jadex platforms.
|
jadex.commons.future.IFuture<jadex.bridge.IComponentIdentifier> |
startComponent(jadex.bridge.IComponentIdentifier platformId,
java.lang.String name,
java.lang.Class<?> clazz)
Start a new Component on a given platform with default
CreationInfo. |
jadex.commons.future.IFuture<jadex.bridge.IComponentIdentifier> |
startComponent(jadex.bridge.IComponentIdentifier platformId,
java.lang.String name,
java.lang.Class<?> clazz,
jadex.bridge.service.types.cms.CreationInfo creationInfo)
Start a new Component on a given platform.
|
jadex.commons.future.IFuture<jadex.bridge.IComponentIdentifier> |
startComponent(jadex.bridge.IComponentIdentifier platformId,
java.lang.String name,
java.lang.String modelPath)
Start a new Component on a given platform with default
CreationInfo. |
jadex.commons.future.IFuture<jadex.bridge.IComponentIdentifier> |
startComponent(jadex.bridge.IComponentIdentifier platformId,
java.lang.String name,
java.lang.String modelPath,
jadex.bridge.service.types.cms.CreationInfo creationInfo)
Start a new Component on a given platform.
|
jadex.commons.future.IFuture<jadex.bridge.IComponentIdentifier> |
startComponent(jadex.bridge.IComponentIdentifier platformId,
java.lang.String name,
java.lang.String modelPath,
jadex.bridge.service.types.cms.CreationInfo creationInfo,
jadex.commons.future.IResultListener<java.util.Map<java.lang.String,java.lang.Object>> terminationListener)
Start a new Component on a given platform.
|
jadex.commons.future.IFuture<jadex.bridge.IExternalAccess> |
startJadexPlatform()
Starts a Jadex Platform with default configuration
|
jadex.commons.future.IFuture<jadex.bridge.IExternalAccess> |
startJadexPlatform(jadex.base.IRootComponentConfiguration.KERNEL[] kernels)
Starts a Jadex Platform.
|
jadex.commons.future.IFuture<jadex.bridge.IExternalAccess> |
startJadexPlatform(jadex.base.IRootComponentConfiguration.KERNEL[] kernels,
java.lang.String platformId)
Starts a Jadex Platform.
|
jadex.commons.future.IFuture<jadex.bridge.IExternalAccess> |
startJadexPlatform(jadex.base.PlatformConfiguration config)
Starts a Jadex Platform.
|
jadex.bridge.IExternalAccess getExternalPlatformAccess(jadex.bridge.IComponentIdentifier platformID)
platformID - boolean isPlatformRunning(jadex.bridge.IComponentIdentifier platformID)
platformID - the IComponenntIdentifier of the platform to check.jadex.commons.future.IFuture<jadex.bridge.service.types.cms.IComponentManagementService> getCMS(jadex.bridge.IComponentIdentifier platformID)
jadex.commons.future.IFuture<jadex.bridge.service.types.message.IMessageService> getMS(jadex.bridge.IComponentIdentifier platformID)
<S> S getsService(jadex.bridge.IComponentIdentifier platformId,
java.lang.Class<S> serviceClazz)
platformId - Id of the platform to use for lookupserviceClazz - Class of the service (interface) to find<S> jadex.commons.future.IFuture<S> getService(jadex.bridge.IComponentIdentifier platformId,
java.lang.Class<S> serviceClazz)
platformId - Id of the platform to use for lookupserviceClazz - Class of the service (interface) to findgetsService<S> jadex.commons.future.IFuture<S> getService(jadex.bridge.IComponentIdentifier platformId,
java.lang.Class<S> serviceClazz,
java.lang.String scope)
platformId - Id of the platform to use for lookupserviceClazz - Class of the service (interface) to findscope - Search scope. See RequiredServiceInfo constants.getsServicejadex.commons.future.IFuture<jadex.bridge.IExternalAccess> startJadexPlatform(jadex.base.IRootComponentConfiguration.KERNEL[] kernels)
kernels - String array of kernel Identifiers (see constants in
JadexPlatformManager).jadex.commons.future.IFuture<jadex.bridge.IExternalAccess> startJadexPlatform(jadex.base.IRootComponentConfiguration.KERNEL[] kernels,
java.lang.String platformId)
kernels - String array of kernel Identifiers (see constants in
JadexPlatformManager).platformId - Identifier of the new platformjadex.commons.future.IFuture<jadex.bridge.IExternalAccess> startJadexPlatform()
jadex.commons.future.IFuture<jadex.bridge.IExternalAccess> startJadexPlatform(jadex.base.PlatformConfiguration config)
config - additional options that are passed directly to the platform
starter.void shutdownJadexPlatforms()
void shutdownJadexPlatform(jadex.bridge.IComponentIdentifier platformID)
platformID - Platform to terminate.jadex.commons.future.IFuture<jadex.bridge.IComponentIdentifier> startComponent(jadex.bridge.IComponentIdentifier platformId,
java.lang.String name,
java.lang.String modelPath,
jadex.bridge.service.types.cms.CreationInfo creationInfo,
jadex.commons.future.IResultListener<java.util.Map<java.lang.String,java.lang.Object>> terminationListener)
platformId - Identifier of the jadex platformname - name of the newly created componentmodelPath - Path to the model file of the new componentcreationInfo - CreationInfo to pass to the started Component.terminationListener - The listener to call when the component was terminated.jadex.commons.future.IFuture<jadex.bridge.IComponentIdentifier> startComponent(jadex.bridge.IComponentIdentifier platformId,
java.lang.String name,
java.lang.String modelPath,
jadex.bridge.service.types.cms.CreationInfo creationInfo)
platformId - Identifier of the jadex platformname - name of the newly created componentmodelPath - Path to the model file of the new componentcreationInfo - CreationInfo to pass to the started Component.jadex.commons.future.IFuture<jadex.bridge.IComponentIdentifier> startComponent(jadex.bridge.IComponentIdentifier platformId,
java.lang.String name,
java.lang.String modelPath)
CreationInfo.platformId - Identifier of the jadex platformname - name of the newly created componentmodelPath - Path to the model file of the new componentjadex.commons.future.IFuture<jadex.bridge.IComponentIdentifier> startComponent(jadex.bridge.IComponentIdentifier platformId,
java.lang.String name,
java.lang.Class<?> clazz,
jadex.bridge.service.types.cms.CreationInfo creationInfo)
platformId - Identifier of the jadex platformname - name of the newly created componentclazz - Class of the new componentcreationInfo - CreationInfo to pass to the started Component.jadex.commons.future.IFuture<jadex.bridge.IComponentIdentifier> startComponent(jadex.bridge.IComponentIdentifier platformId,
java.lang.String name,
java.lang.Class<?> clazz)
CreationInfo.platformId - Identifier of the jadex platformname - name of the newly created agentclazz - Path to the bpmn model file of the new agentjadex.bridge.IResourceIdentifier getResourceIdentifier()