|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.commons.service.BasicService
jadex.base.service.cms.ComponentManagementService
jadex.standalone.service.ComponentManagementService
public class ComponentManagementService
Standalone implementation of component execution service.
| Field Summary | |
|---|---|
protected ComponentAdapterFactory |
adapterfactory
The adapter factory. |
| Fields inherited from class jadex.base.service.cms.ComponentManagementService |
|---|
adapters, ccs, childcounts, compcnt, descs, exceptions, exeservice, initinfos, killresultlisteners, listeners, logger, msgservice, provider, root |
| Fields inherited from class jadex.commons.service.BasicService |
|---|
idcnt, properties, shutdowned, sid, started, startfutures |
| Fields inherited from interface jadex.commons.service.IService |
|---|
EMPTY_SERVICES |
| Constructor Summary | |
|---|---|
ComponentManagementService(IServiceProvider provider)
Create a new component execution service. |
|
ComponentManagementService(IServiceProvider provider,
IComponentAdapter root)
Create a new component execution service. |
|
| Method Summary | |
|---|---|
IFuture |
cancel(IComponentAdapter adapter)
Cancel the execution. |
IFuture |
doStep(IComponentAdapter adapter)
Do a step. |
StandaloneComponentAdapter |
getComponentAdapter(IComponentIdentifier cid)
Get the component adapter for a component identifier. |
IComponentAdapterFactory |
getComponentAdapterFactory()
Get the component adapter factory. |
IComponentInstance |
getComponentInstance(IComponentAdapter adapter)
Get the component instance from an adapter. |
IComponentDescription |
getDescription(IComponentAdapter adapter)
Get the component description. |
IFuture |
killComponent(IComponentAdapter adapter)
Invoke kill on adapter. |
| Methods inherited from class jadex.commons.service.BasicService |
|---|
createServiceIdentifier, generateServiceName, getPropertyMap, getServiceIdentifier, isValid, setPropertyMap, signalStarted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jadex.commons.service.IService |
|---|
getPropertyMap, getServiceIdentifier, signalStarted |
| Field Detail |
|---|
protected ComponentAdapterFactory adapterfactory
| Constructor Detail |
|---|
public ComponentManagementService(IServiceProvider provider)
provider - The service provider.
public ComponentManagementService(IServiceProvider provider,
IComponentAdapter root)
provider - The service provider.| Method Detail |
|---|
public IComponentInstance getComponentInstance(IComponentAdapter adapter)
getComponentInstance in class ComponentManagementServicepublic IComponentAdapterFactory getComponentAdapterFactory()
getComponentAdapterFactory in class ComponentManagementServicepublic IFuture killComponent(IComponentAdapter adapter)
killComponent in class ComponentManagementServicepublic IFuture cancel(IComponentAdapter adapter)
cancel in class ComponentManagementServicepublic IFuture doStep(IComponentAdapter adapter)
doStep in class ComponentManagementServicepublic IComponentDescription getDescription(IComponentAdapter adapter)
getDescription in class ComponentManagementServicepublic StandaloneComponentAdapter getComponentAdapter(IComponentIdentifier cid)
aid - The component identifier.listener - The result listener.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||