Package jadex.tools.web.jcc
Class JCCWebAgent
- java.lang.Object
- 
- jadex.tools.web.jcc.JCCWebAgent
 
- 
- All Implemented Interfaces:
- IJCCWebService
 
 public class JCCWebAgent extends java.lang.Object implements IJCCWebService Frontend controller web jcc agent. Uses invokeServiceMethod() to delegate calls to the corresponding platforms (accessed by frontend).
- 
- 
Field SummaryFields Modifier and Type Field Description protected IInternalAccessagent
 - 
Constructor SummaryConstructors Constructor Description JCCWebAgent()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.util.Collection<IComponentIdentifier>>getPlatforms()Get the established connections.IFuture<java.util.Map<java.lang.String,java.lang.String>>getPluginFragments(IComponentIdentifier cid)Get the JCC plugin html fragments.IFuture<java.lang.Object>invokeServiceMethod(IComponentIdentifier cid, ClassInfo servicetype, java.lang.String methodname, java.lang.Object[] args, ClassInfo[] argtypes, ClassInfo rettype)Invoke a Jadex service on the managed platform.protected voidpublish(IWebPublishService wps)Wait for the IWebPublishService and then publish the resources.ISubscriptionIntermediateFuture<ServiceEvent<IComponentIdentifier>>subscribeToPlatforms()Get events about known platforms.
 
- 
- 
- 
Field Detail- 
agentprotected IInternalAccess agent 
 
- 
 - 
Method Detail- 
publishprotected void publish(IWebPublishService wps) Wait for the IWebPublishService and then publish the resources.- Parameters:
- pubser- The publish service.
 
 - 
getPlatformspublic IFuture<java.util.Collection<IComponentIdentifier>> getPlatforms() Get the established connections.- Specified by:
- getPlatformsin interface- IJCCWebService
- Returns:
- A list of connections.
 
 - 
subscribeToPlatformspublic ISubscriptionIntermediateFuture<ServiceEvent<IComponentIdentifier>> subscribeToPlatforms() Get events about known platforms.- Specified by:
- subscribeToPlatformsin interface- IJCCWebService
- Returns:
- Events for platforms.
 
 - 
getPluginFragmentspublic IFuture<java.util.Map<java.lang.String,java.lang.String>> getPluginFragments(IComponentIdentifier cid) Get the JCC plugin html fragments.- Specified by:
- getPluginFragmentsin interface- IJCCWebService
 
 - 
invokeServiceMethodpublic IFuture<java.lang.Object> invokeServiceMethod(IComponentIdentifier cid, ClassInfo servicetype, java.lang.String methodname, java.lang.Object[] args, ClassInfo[] argtypes, ClassInfo rettype) Invoke a Jadex service on the managed platform.- Specified by:
- invokeServiceMethodin interface- IJCCWebService
 
 
- 
 
-