Package jadex.tools.web.starter
Class JCCStarterPluginAgent
- java.lang.Object
-
- jadex.tools.web.jcc.JCCPluginAgent
-
- jadex.tools.web.starter.JCCStarterPluginAgent
-
- All Implemented Interfaces:
IJCCPluginService,IJCCStarterService
public class JCCStarterPluginAgent extends JCCPluginAgent implements IJCCStarterService
Starter web jcc plugin.
-
-
Field Summary
-
Fields inherited from class jadex.tools.web.jcc.JCCPluginAgent
agent, component
-
-
Constructor Summary
Constructors Constructor Description JCCStarterPluginAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<IComponentIdentifier>createComponent(CreationInfo ci, IComponentIdentifier cid)Create a component for a model.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>getNFValue(IComponentIdentifier cid, IServiceIdentifier sid, MethodInfo mi, java.lang.Boolean req, java.lang.String name)Get the value of a nf property by name.IFuture<java.lang.String>getPluginName()Get the plugin name.java.lang.StringgetPluginUIPath()Get the plugin UI path.IFuture<java.lang.Integer>getPriority()Get the plugin priority.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 class jadex.tools.web.jcc.JCCPluginAgent
getAgent, getPluginComponent, internalLoadResource, loadResource
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jadex.tools.web.jcc.IJCCPluginService
getPluginComponent, loadResource
-
-
-
-
Method Detail
-
getPluginName
public IFuture<java.lang.String> getPluginName()
Get the plugin name.- Specified by:
getPluginNamein interfaceIJCCPluginService- Specified by:
getPluginNamein classJCCPluginAgent- Returns:
- The plugin name.
-
getPriority
public IFuture<java.lang.Integer> getPriority()
Get the plugin priority.- Specified by:
getPriorityin interfaceIJCCPluginService- Specified by:
getPriorityin classJCCPluginAgent- Returns:
- The plugin priority.
-
getPluginUIPath
public java.lang.String getPluginUIPath()
Get the plugin UI path.- Specified by:
getPluginUIPathin classJCCPluginAgent- Returns:
- The plugin ui path.
-
getComponentModels
public IFuture<java.util.Collection<java.lang.String[]>> getComponentModels(IComponentIdentifier cid)
Get all startable component models.- Specified by:
getComponentModelsin interfaceIJCCStarterService- Returns:
- The file names of the component models.
-
createComponent
public IFuture<IComponentIdentifier> createComponent(CreationInfo ci, IComponentIdentifier cid)
Create a component for a model.- Specified by:
createComponentin interfaceIJCCStarterService- Parameters:
ci- The creation info.- Returns:
- The component id.
-
loadComponentModel
public IFuture<IModelInfo> loadComponentModel(java.lang.String filename, IComponentIdentifier cid)
Load a component model.- Specified by:
loadComponentModelin interfaceIJCCStarterService- Parameters:
filename- The filename.- Returns:
- The component model.
-
getComponentDescriptions
public IFuture<IComponentDescription[]> getComponentDescriptions(IComponentIdentifier cid)
Get the component descriptions.- Specified by:
getComponentDescriptionsin interfaceIJCCStarterService- Returns:
- The component descriptions.
-
loadComponentIcon
public IFuture<byte[]> loadComponentIcon(java.lang.String type, IComponentIdentifier cid)
Get a default icon for a file type.- Specified by:
loadComponentIconin interfaceIJCCStarterService
-
subscribeToComponentChanges
public ISubscriptionIntermediateFuture<CMSStatusEvent> subscribeToComponentChanges(IComponentIdentifier cid)
Subscribe to component events- Specified by:
subscribeToComponentChangesin interfaceIJCCStarterService
-
getServiceInfos
public IFuture<java.lang.Object[]> getServiceInfos(IComponentIdentifier cid)
Get infos about services (provided, required).- Specified by:
getServiceInfosin interfaceIJCCStarterService- Parameters:
cid- The component id
-
getNFPropertyMetaInfos
public 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.- Specified by:
getNFPropertyMetaInfosin interfaceIJCCStarterService- Parameters:
cid- The component id.- Returns:
- The meta information about a non-functional property of this service.
-
getNFValue
public IFuture<java.lang.Object> getNFValue(IComponentIdentifier cid, IServiceIdentifier sid, MethodInfo mi, java.lang.Boolean req, java.lang.String name)
Get the value of a nf property by name.- Parameters:
name- The prop name.- Returns:
- The value.
-
getNFPropertyValues
public 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.- Specified by:
getNFPropertyValuesin interfaceIJCCStarterService- Parameters:
cid- The component id.- Returns:
- The meta information about a non-functional property of this service.
-
-