Java Doc for AssetStimulator.java in  » Science » Cougaar12_4 » org » cougaar » logistics » plugin » trans » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Science » Cougaar12_4 » org.cougaar.logistics.plugin.trans 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.cougaar.lib.filter.UTILPluginAdapter
   org.cougaar.logistics.plugin.trans.AssetStimulator

AssetStimulator
public class AssetStimulator extends UTILPluginAdapter implements UTILAssetListener(Code)
 Parses an XML file defining tasks to send to other clusters.
 Creates tasks defined in the XML file and sends them 
 to any subordinate, supporting, or provider clusters.
 Pops up a dialog box which provides a way to specify the 
 XML file.  This defaults to whatever is in the ClusterInputFile 
 parameter.
 In addition to sending tasks, they can also be rescinded.  
 Tasks that have been sent are rescinded one at a time, with
 each button press.
 Implements the org listener interface so it can get all
 reported orgs.
 (This code evolved from a version in the COUGAAR tree.)
 


Field Summary
 JFrameframe
    
protected  UTILAssetCallbackmyAssetCallback
    


Method Summary
 voidaddAsset()
    
 voidchangeAsset()
    
public  voidhandleChangedAssets(Enumeration e)
     needed to implement the Listener interface.
public  voidhandleNewAssets(Enumeration e)
     needed to implement the Listener interface.
public  booleaninterestingAsset(Asset a)
    
public  voidlocalSetup()
     Reads the ClusterInputFile parameter, brings up the GUI.
protected  AssetmakeNewAsset(LDMServesPlugin ldm, String prototype, String id)
    
public  voidsetupFilters()
     Add the filter for all organizations...

Field Detail
frame
JFrame frame(Code)
frame for 2-button UI



myAssetCallback
protected UTILAssetCallback myAssetCallback(Code)
The callback mediating the org subscription





Method Detail
addAsset
void addAsset()(Code)



changeAsset
void changeAsset()(Code)



handleChangedAssets
public void handleChangedAssets(Enumeration e)(Code)
needed to implement the Listener interface. Does nothing.



handleNewAssets
public void handleNewAssets(Enumeration e)(Code)
needed to implement the Listener interface. Does nothing.



interestingAsset
public boolean interestingAsset(Asset a)(Code)



localSetup
public void localSetup()(Code)
Reads the ClusterInputFile parameter, brings up the GUI.



makeNewAsset
protected Asset makeNewAsset(LDMServesPlugin ldm, String prototype, String id)(Code)



setupFilters
public void setupFilters()(Code)
Add the filter for all organizations...



Fields inherited from org.cougaar.lib.filter.UTILPluginAdapter
protected double HIGH_CONFIDENCE(Code)(Java Doc)
protected UTILAggregate aggregateHelper(Code)(Java Doc)
protected UTILAllocate allocHelper(Code)(Java Doc)
protected UTILAsset assetHelper(Code)(Java Doc)
protected boolean checkedDidRehydrate(Code)(Java Doc)
protected UTILExpand expandHelper(Code)(Java Doc)
protected PlanningFactory ldmf(Code)(Java Doc)
protected LoggingService logger(Code)(Java Doc)
protected String myClusterName(Code)(Java Doc)
protected String myName(Code)(Java Doc)
protected ParamMap myParams(Code)(Java Doc)
protected Vector mySubscriptions(Code)(Java Doc)
protected ParamParser paramParser(Code)(Java Doc)
protected PersistentState persistentState(Code)(Java Doc)
protected UTILPreference prefHelper(Code)(Java Doc)
protected UTILPrepPhrase prepHelper(Code)(Java Doc)
protected Plan realityPlan(Code)(Java Doc)
protected boolean showinfoOnFailure(Code)(Java Doc)
protected boolean skipLowConfidence(Code)(Java Doc)
protected UTILVerify verifyHelper(Code)(Java Doc)

Methods inherited from org.cougaar.lib.filter.UTILPluginAdapter
public void addFilter(UTILFilterCallback callbackObj)(Code)(Java Doc)
protected ParamMap createParamTable(Vector envParams, MessageAddress ident)(Code)(Java Doc)
protected void debug(String message)(Code)(Java Doc)
protected boolean didSpawn()(Code)(Java Doc)
protected void error(String message)(Code)(Java Doc)
protected void execute()(Code)(Java Doc)
protected void fatal(String message)(Code)(Java Doc)
protected PersistentState findState()(Code)(Java Doc)
protected String getClassName()(Code)(Java Doc)
protected String getClassName(Object obj)(Code)(Java Doc)
public String getClusterName()(Code)(Java Doc)
public void getEnvData()(Code)(Java Doc)
final protected LDMService getLDMService()(Code)(Java Doc)
protected LoggingService getLoggingService()(Code)(Java Doc)
public ParamMap getMyParams()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
protected MessageAddress getOriginalAgentID()(Code)(Java Doc)
protected void info(String message)(Code)(Java Doc)
protected boolean isDebugEnabled()(Code)(Java Doc)
protected boolean isErrorEnabled()(Code)(Java Doc)
protected boolean isFatalEnabled()(Code)(Java Doc)
protected boolean isInfoEnabled()(Code)(Java Doc)
protected boolean isWarnEnabled()(Code)(Java Doc)
protected void justRehydrated()(Code)(Java Doc)
public void localSetup()(Code)(Java Doc)
public void preFilterSetup()(Code)(Java Doc)
final protected void publishAdd(Object o)(Code)(Java Doc)
final protected void publishChange(Object o)(Code)(Java Doc)
final protected void publishRemove(Object o)(Code)(Java Doc)
protected void registerPersistentState(Object obj)(Code)(Java Doc)
protected void rehydrateState(List stuff)(Code)(Java Doc)
public void removeFilter(UTILFilterCallback callbackObj)(Code)(Java Doc)
final public void setLDMService(LDMService s)(Code)(Java Doc)
public void setLoggingService(LoggingService bs)(Code)(Java Doc)
public void setupFilters()(Code)(Java Doc)
final protected void setupSubscriptions()(Code)(Java Doc)
public IncrementalSubscription subscribeFromCallback(UnaryPredicate pred)(Code)(Java Doc)
public IncrementalSubscription subscribeFromCallback(UnaryPredicate pred, Collection specialContainer)(Code)(Java Doc)
public void updateAllocationResult(PlanElement cpe)(Code)(Java Doc)
protected void warn(String message)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.