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.JCCPluginAgentagent, component
 
- 
 - 
Constructor SummaryConstructors Constructor Description JCCStarterPluginAgent()
 - 
Method SummaryAll 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.JCCPluginAgentgetAgent, getPluginComponent, internalLoadResource, loadResource
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface jadex.tools.web.jcc.IJCCPluginServicegetPluginComponent, loadResource
 
- 
 
- 
- 
- 
Method Detail- 
getPluginNamepublic IFuture<java.lang.String> getPluginName() Get the plugin name.- Specified by:
- getPluginNamein interface- IJCCPluginService
- Specified by:
- getPluginNamein class- JCCPluginAgent
- Returns:
- The plugin name.
 
 - 
getPrioritypublic IFuture<java.lang.Integer> getPriority() Get the plugin priority.- Specified by:
- getPriorityin interface- IJCCPluginService
- Specified by:
- getPriorityin class- JCCPluginAgent
- Returns:
- The plugin priority.
 
 - 
getPluginUIPathpublic java.lang.String getPluginUIPath() Get the plugin UI path.- Specified by:
- getPluginUIPathin class- JCCPluginAgent
- Returns:
- The plugin ui path.
 
 - 
getComponentModelspublic IFuture<java.util.Collection<java.lang.String[]>> getComponentModels(IComponentIdentifier cid) Get all startable component models.- Specified by:
- getComponentModelsin interface- IJCCStarterService
- Returns:
- The file names of the component models.
 
 - 
createComponentpublic IFuture<IComponentIdentifier> createComponent(CreationInfo ci, IComponentIdentifier cid) Create a component for a model.- Specified by:
- createComponentin interface- IJCCStarterService
- Parameters:
- ci- The creation info.
- Returns:
- The component id.
 
 - 
loadComponentModelpublic IFuture<IModelInfo> loadComponentModel(java.lang.String filename, IComponentIdentifier cid) Load a component model.- Specified by:
- loadComponentModelin interface- IJCCStarterService
- Parameters:
- filename- The filename.
- Returns:
- The component model.
 
 - 
getComponentDescriptionspublic IFuture<IComponentDescription[]> getComponentDescriptions(IComponentIdentifier cid) Get the component descriptions.- Specified by:
- getComponentDescriptionsin interface- IJCCStarterService
- Returns:
- The component descriptions.
 
 - 
loadComponentIconpublic IFuture<byte[]> loadComponentIcon(java.lang.String type, IComponentIdentifier cid) Get a default icon for a file type.- Specified by:
- loadComponentIconin interface- IJCCStarterService
 
 - 
subscribeToComponentChangespublic ISubscriptionIntermediateFuture<CMSStatusEvent> subscribeToComponentChanges(IComponentIdentifier cid) Subscribe to component events- Specified by:
- subscribeToComponentChangesin interface- IJCCStarterService
 
 - 
getServiceInfospublic IFuture<java.lang.Object[]> getServiceInfos(IComponentIdentifier cid) Get infos about services (provided, required).- Specified by:
- getServiceInfosin interface- IJCCStarterService
- Parameters:
- cid- The component id
 
 - 
getNFPropertyMetaInfospublic 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 interface- IJCCStarterService
- Parameters:
- cid- The component id.
- Returns:
- The meta information about a non-functional property of this service.
 
 - 
getNFValuepublic 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.
 
 - 
getNFPropertyValuespublic 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 interface- IJCCStarterService
- Parameters:
- cid- The component id.
- Returns:
- The meta information about a non-functional property of this service.
 
 
- 
 
-