public interface IComponentManagementService
IFuture<IModelInfo> loadComponentModel(String filename, IResourceIdentifier rid)
name
- The component name.IFuture<IComponentIdentifier> createComponent(String name, String model, CreationInfo info, IResultListener<Collection<Tuple2<String,Object>>> resultlistener)
name
- The component name or null for automatic generation.model
- The model identifier (e.g. file name).info
- Additional start information such as parent component or arguments (optional).resultlistener
- The result listener (if any). Will receive the results of the component execution, after the component has terminated.IFuture<Map<String,Object>> destroyComponent(IComponentIdentifier componentid)
componentid
- The component to destroy.IFuture<Void> suspendComponent(IComponentIdentifier componentid)
componentid
- The component identifier.IFuture<Void> resumeComponent(IComponentIdentifier componentid)
componentid
- The component identifier.IFuture<Void> addComponentResultListener(IResultListener<Collection<Tuple2<String,Object>>> listener, IComponentIdentifier cid)
listener
- The result (or intermediate) result listener.IFuture<Void> removeComponentResultListener(IResultListener<Collection<Tuple2<String,Object>>> listener, IComponentIdentifier cid)
listener
- The result (or intermediate) result listener.IFuture<Void> stepComponent(IComponentIdentifier componentid)
componentid
- The component identifier.listener
- Called when the step is finished (result will be the component description).IFuture<Void> setComponentBreakpoints(IComponentIdentifier componentid, String[] breakpoints)
componentid
- The component identifier.breakpoints
- The new breakpoints (if any).IFuture<IComponentIdentifier> getRootIdentifier()
IFuture<IComponentIdentifier[]> getComponentIdentifiers()
IFuture<IComponentDescription> getComponentDescription(IComponentIdentifier cid)
cid
- The component identifier.IFuture<IComponentDescription[]> getComponentDescriptions()
IFuture<IComponentDescription[]> searchComponents(IComponentDescription adesc, ISearchConstraints con)
IFuture<IComponentDescription[]> searchComponents(IComponentDescription adesc, ISearchConstraints con, boolean remote)
IFuture<Void> addComponentListener(IComponentIdentifier comp, ICMSComponentListener listener)
comp
- The component to be listened on (or null for listening on all components).listener
- The listener to be added.IFuture<Void> removeComponentListener(IComponentIdentifier comp, ICMSComponentListener listener)
comp
- The component to be listened on (or null for listening on all components).listener
- The listener to be removed.IFuture<IExternalAccess> getExternalAccess(IComponentIdentifier cid)
cid
- The component identifier.listener
- The result listener (recieves an IExternalAccess object).IFuture<IComponentIdentifier> getParent(IComponentIdentifier cid)
cid
- The component identifier.IFuture<IComponentIdentifier[]> getChildren(IComponentIdentifier cid)
cid
- The component identifier.IFuture<IComponentDescription[]> getChildrenDescriptions(IComponentIdentifier cid)
cid
- The component identifier.IFuture<IComponentAdapter> getComponentAdapter(IComponentIdentifier cid)
aid
- The component identifier.listener
- The result listener.Copyright © 2012. All Rights Reserved.