Package jadex.tools.web.starter
Interface IJCCStarterService
-
- All Superinterfaces:
IJCCPluginService
- All Known Implementing Classes:
JCCStarterPluginAgent
public interface IJCCStarterService extends IJCCPluginService
Interface for the starter plugin service. Note: cid needs to be always last parameter. It is used to remote control another platform using a webjcc plugin on the gateway.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<IComponentIdentifier>
createComponent(CreationInfo ci, IComponentIdentifier cid)
Create a component for a filename.IFuture<IComponentDescription[]>
getComponentDescriptions(IComponentIdentifier cid)
Get the component descriptions.IFuture<java.util.Collection<java.lang.String[]>>
getComponentModels(IComponentIdentifier cid)
Get all startable component models.IFuture<java.util.Map<java.lang.String,INFPropertyMetaInfo>>
getNFPropertyMetaInfos(IComponentIdentifier cid, IServiceIdentifier sid, MethodInfo mi, java.lang.Boolean req)
Returns the meta information about a non-functional property of this service.IFuture<java.util.Map<java.lang.String,java.lang.Object>>
getNFPropertyValues(IComponentIdentifier cid, IServiceIdentifier sid, MethodInfo mi, java.lang.Boolean req, java.lang.String name)
Returns the values about a non-functional property of this service.IFuture<java.lang.Object[]>
getServiceInfos(IComponentIdentifier cid)
Get infos about services (provided, required).IFuture<byte[]>
loadComponentIcon(java.lang.String type, IComponentIdentifier cid)
Get a default icon for a file type.IFuture<IModelInfo>
loadComponentModel(java.lang.String filename, IComponentIdentifier cid)
Load a component model.ISubscriptionIntermediateFuture<CMSStatusEvent>
subscribeToComponentChanges(IComponentIdentifier cid)
Subscribe to component events-
Methods inherited from interface jadex.tools.web.jcc.IJCCPluginService
getPluginComponent, getPluginName, getPriority, loadResource
-
-
-
-
Method Detail
-
getComponentModels
IFuture<java.util.Collection<java.lang.String[]>> getComponentModels(IComponentIdentifier cid)
Get all startable component models.- Returns:
- The filenames and classnames of the component models.
-
loadComponentModel
IFuture<IModelInfo> loadComponentModel(java.lang.String filename, IComponentIdentifier cid)
Load a component model.- Parameters:
filename
- The filename.- Returns:
- The component model.
-
createComponent
IFuture<IComponentIdentifier> createComponent(CreationInfo ci, IComponentIdentifier cid)
Create a component for a filename.- Parameters:
ci
- The creation info.- Returns:
- The component id.
-
getComponentDescriptions
IFuture<IComponentDescription[]> getComponentDescriptions(IComponentIdentifier cid)
Get the component descriptions.- Returns:
- The component descriptions.
-
loadComponentIcon
IFuture<byte[]> loadComponentIcon(java.lang.String type, IComponentIdentifier cid)
Get a default icon for a file type.
-
subscribeToComponentChanges
ISubscriptionIntermediateFuture<CMSStatusEvent> subscribeToComponentChanges(IComponentIdentifier cid)
Subscribe to component events
-
getServiceInfos
IFuture<java.lang.Object[]> getServiceInfos(IComponentIdentifier cid)
Get infos about services (provided, required).- Parameters:
cid
- The component id
-
getNFPropertyMetaInfos
IFuture<java.util.Map<java.lang.String,INFPropertyMetaInfo>> getNFPropertyMetaInfos(IComponentIdentifier cid, IServiceIdentifier sid, MethodInfo mi, java.lang.Boolean req)
Returns the meta information about a non-functional property of this service.- Parameters:
cid
- The component id.- Returns:
- The meta information about a non-functional property of this service.
-
getNFPropertyValues
IFuture<java.util.Map<java.lang.String,java.lang.Object>> getNFPropertyValues(IComponentIdentifier cid, IServiceIdentifier sid, MethodInfo mi, java.lang.Boolean req, java.lang.String name)
Returns the values about a non-functional property of this service.- Parameters:
cid
- The component id.- Returns:
- The meta information about a non-functional property of this service.
-
-