Java Doc for SimplePlugin.java in  » Science » Cougaar12_4 » org » cougaar » planning » plugin » legacy » 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.planning.plugin.legacy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.cougaar.planning.plugin.legacy.PluginAdapter
   org.cougaar.planning.plugin.legacy.SimplePlugin

All known Subclasses:   org.cougaar.mlm.plugin.ldm.LDMEssentialPlugin,  org.cougaar.mlm.plugin.sample.DetermineRequirementsAbsorberPlugin,  org.cougaar.mlm.plugin.ldm.OPlanPlugin,  org.cougaar.planning.plugin.deletion.TestDeletionPlugin,  org.cougaar.logistics.plugin.manager.LoadIndicatorTestPlugin,  org.cougaar.servicediscovery.plugin.LineagePlugin,  org.cougaar.mlm.plugin.sample.TaskAssessorPlugin,  org.cougaar.mlm.plugin.ldm.GetOplanPlugin,  org.cougaar.glm.plugins.OplanObserverPlugin,  org.cougaar.mlm.plugin.ldm.XMLPolicyPlugin,  org.cougaar.mlm.plugin.sample.MCCAggregatorPlugin,  org.cougaar.lib.plugin.UTILLdmXMLPlugin,  org.cougaar.mlm.debug.ui.UIPlugin,  org.cougaar.mlm.plugin.sample.MessageStatisticsPlugin,  org.cougaar.lib.quo.performance.CommonUtilPlugin,  org.cougaar.glm.plugins.multiplesuppliers.SourceExpander,  org.cougaar.planning.examples.AlertCreatorPlugin,  org.cougaar.mlm.plugin.sample.AdaptiveUniversalAllocatorPlugin,  org.cougaar.mlm.plugin.assessor.ConsumptionAssessorPlugin,  org.cougaar.mlm.plugin.organization.GLSAllocatorPlugin,  org.cougaar.planning.examples.SimpleSinkAllocatorPlugin,  org.cougaar.mlm.plugin.sample.StrategicTransportProjectionExpanderPlugin,  org.cougaar.mlm.plugin.sample.MCCAllocatorPlugin,  org.cougaar.mlm.plugin.sample.AlternateAllocationAssessorPlugin,  org.cougaar.mlm.plugin.sample.AllocationAssessorPlugin,  org.cougaar.mlm.plugin.sample.MCCTriggerCreatorPlugin,  org.cougaar.mlm.plugin.sample.AddAssetsGUIPlugin,  org.cougaar.mlm.plugin.strategictransport.SimpleMultilegExpanderPlugin,  org.cougaar.mlm.examples.TriggerTesterPlugin,  org.cougaar.mlm.plugin.sample.LoadAllocatorPlugin,  org.cougaar.mlm.plugin.generic.GenericTablePlugin,  org.cougaar.mlm.examples.ChangeReporter,  org.cougaar.mlm.plugin.sample.PolicyPlugin,  org.cougaar.mlm.plugin.sample.ModifyOrgActivityGUIPlugin,  org.cougaar.mlm.plugin.assessor.SupportingUnitAssessorPlugin,  org.cougaar.mlm.plugin.sample.ProvideEstimatesPlugin,  org.cougaar.planning.plugin.asset.AssetDataPlugin,  org.cougaar.glm.plugins.DecorationPlugin,  org.cougaar.lib.quo.performance.ProgrammerLDMPlugin,  org.cougaar.glm.packer.GenericPlugin,  org.cougaar.mlm.examples.BulkEstimateTester,  org.cougaar.planning.examples.ReportCreatorPlugin,  org.cougaar.mlm.plugin.organization.GLSGUIBasePlugin,  org.cougaar.mlm.plugin.organization.OrgRTDataPlugin,  org.cougaar.mlm.plugin.strategictransport.StrategicTransportExpanderPlugin,  org.cougaar.planning.examples.AssetCreationJdbcPlugin,  org.cougaar.mlm.plugin.sample.UniversalAllocatorPlugin,  org.cougaar.mlm.plugin.sample.MCCPredictorPlugin,  org.cougaar.mlm.plugin.sample.CompletionAssessor,  org.cougaar.mlm.construction.DTConstructionExpanderPlugin,  org.cougaar.mlm.plugin.DMPIClusterStartup,  org.cougaar.glm.plugins.multiplesuppliers.SourceAllocator,  org.cougaar.mlm.plugin.strategictransport.TaskStrategicTransportAllocatorPlugin,  org.cougaar.mlm.plugin.generic.PropagationPlugin,  org.cougaar.mlm.plugin.organization.GLSMiniAllocatorPlugin,  org.cougaar.mlm.plugin.perturbation.PerturbationPlugin,  org.cougaar.mlm.plugin.strategictransport.TopsStubExpanderPlugin,  org.cougaar.mlm.plugin.xml.XMLPrototypeProviderPlugin,  org.cougaar.lib.plugin.UTILPlugin,  org.cougaar.logistics.plugin.manager.SupplyLoadIndicatorTestPlugin,  org.cougaar.mlm.examples.ClockTest,  org.cougaar.lib.aggagent.test.EffortMonitor,  org.cougaar.logistics.plugin.packer.GenericPlugin,  org.cougaar.mlm.plugin.organization.OrgTPRTDataPlugin,  org.cougaar.servicediscovery.plugin.MatchmakerStubPlugin,  org.cougaar.glm.plugins.GLMPolicyPlugin,  org.cougaar.mlm.plugin.sample.AlertReaderPlugin,  org.cougaar.servicediscovery.plugin.SDProviderPlugin,  org.cougaar.logistics.plugin.manager.LogisticsManagerPlugin,  org.cougaar.mlm.plugin.strategictransport.StrategicTransportAllocatorPlugin,  org.cougaar.mlm.plugin.sample.StrategicTransportProjectorPlugin,  org.cougaar.mlm.plugin.sample.PredictorExpanderPlugin,  org.cougaar.logistics.plugin.manager.TransportLoadIndicatorTestPlugin,  org.cougaar.planning.plugin.completion.TestCompletionPlugin,  org.cougaar.mlm.plugin.sample.StrategicTransportSourceGUIPlugin,  org.cougaar.servicediscovery.plugin.SDClientPlugin,
SimplePlugin
abstract public class SimplePlugin extends PluginAdapter (Code)
SimplePlugin is a replacement for SimplifiedPlugin and SimplifiedFatPlugin. Call setThreadingChoice(SINGLE_THREAD) in constructor or before this load is invoked to get the equivalent of SimplifiedFatPlugin.




Method Summary
public  AllocationResultcreateEstimatedAllocationResult(Task t, double confidenceRating, boolean success)
     Returns an AllocationResult with specified and based on the preferences of Task .
public  voidcreatePublishExpansion(Task parent)
     Creates a subtask from with same Verb, PrepositionalPhrases, DirectObject, Plan, Preferences, and Context as .
final protected  voidcycle()
     Call execute in the right context.
abstract protected  voidexecute()
     Called inside of an open transaction whenever the plugin was explicitly told to run or when there are changes to any of our subscriptions.
final public  voidinitialize()
    
public  voidload(Object object)
    
final protected  voidprerun()
     call initialize within an open transaction.
final public  voidresume()
    
protected  voidsetExecutionDelay(long minDelay, long maxDelay)
    
abstract protected  voidsetupSubscriptions()
     Called during initialization to set up subscriptions.
final public  voidstart()
    
final public  voidstop()
    
final public  voidsuspend()
    



Method Detail
createEstimatedAllocationResult
public AllocationResult createEstimatedAllocationResult(Task t, double confidenceRating, boolean success)(Code)
Returns an AllocationResult with specified and based on the preferences of Task . If has no preferences, returns a null AllocationResult.



createPublishExpansion
public void createPublishExpansion(Task parent)(Code)
Creates a subtask from with same Verb, PrepositionalPhrases, DirectObject, Plan, Preferences, and Context as . Creates an expansion containing the subtask with null estimated allocation result. Publishes both subtask and expansion.



cycle
final protected void cycle()(Code)
Call execute in the right context. Note that this transaction boundary does NOT reset any subscription changes.
See Also:   SimplePlugin.execute()
See Also:    documentation for details



execute
abstract protected void execute()(Code)
Called inside of an open transaction whenever the plugin was explicitly told to run or when there are changes to any of our subscriptions.



initialize
final public void initialize() throws StateModelException(Code)



load
public void load(Object object) throws StateModelException(Code)



prerun
final protected void prerun()(Code)
call initialize within an open transaction. *



resume
final public void resume() throws StateModelException(Code)



setExecutionDelay
protected void setExecutionDelay(long minDelay, long maxDelay)(Code)



setupSubscriptions
abstract protected void setupSubscriptions()(Code)
Called during initialization to set up subscriptions. More precisely, called in the plugin's Thread of execution inside of a transaction before execute will ever be called.



start
final public void start() throws StateModelException(Code)



stop
final public void stop() throws StateModelException(Code)



suspend
final public void suspend() throws StateModelException(Code)



Fields inherited from org.cougaar.planning.plugin.legacy.PluginAdapter
final public static int NO_THREAD(Code)(Java Doc)
final public static int ONESHOT_THREAD(Code)(Java Doc)
final public static int SHARED_THREAD(Code)(Java Doc)
final public static int SINGLE_THREAD(Code)(Java Doc)
final public static int UNSPECIFIED_THREAD(Code)(Java Doc)
final public static long WAKE_LATENCY(Code)(Java Doc)
protected String blackboardClientName(Code)(Java Doc)
protected LDMServesPlugin theLDM(Code)(Java Doc)
protected PlanningFactory theLDMF(Code)(Java Doc)

Methods inherited from org.cougaar.planning.plugin.legacy.PluginAdapter
final protected void chooseThreadingModel(int m)(Code)(Java Doc)
protected boolean claim(Object o)(Code)(Java Doc)
final protected void closeTransaction() throws SubscriberException(Code)(Java Doc)
final protected void closeTransaction(boolean resetp) throws SubscriberException(Code)(Java Doc)
final protected void closeTransactionDontReset() throws SubscriberException(Code)(Java Doc)
protected PluginDelegate createDelegate()(Code)(Java Doc)
protected Threading createThreadingModel()(Code)(Java Doc)
public long currentTimeMillis()(Code)(Java Doc)
protected void cycle()(Code)(Java Doc)
public boolean didRehydrate()(Code)(Java Doc)
public boolean didRehydrate(BlackboardService subscriber)(Code)(Java Doc)
final protected MessageAddress getAgentIdentifier()(Code)(Java Doc)
final protected AlarmService getAlarmService()(Code)(Java Doc)
final protected PluginBindingSite getBindingSite()(Code)(Java Doc)
public String getBlackboardClientName()(Code)(Java Doc)
final public BlackboardService getBlackboardService()(Code)(Java Doc)
final protected ClusterServesPlugin getCluster()(Code)(Java Doc)
protected ConfigFinder getConfigFinder()(Code)(Java Doc)
public Date getDate()(Code)(Java Doc)
final protected PluginDelegate getDelegate()(Code)(Java Doc)
final protected DemoControlService getDemoControlService()(Code)(Java Doc)
final public DomainService getDomainService()(Code)(Java Doc)
final protected PlanningFactory getFactory()(Code)(Java Doc)
final protected Factory getFactory(String s)(Code)(Java Doc)
final protected LDMServesPlugin getLDM()(Code)(Java Doc)
final protected LDMService getLDMService()(Code)(Java Doc)
final protected MessageAddress getMessageAddress()(Code)(Java Doc)
public Vector getParameters()(Code)(Java Doc)
final public PrototypeRegistryService getPrototypeRegistryService()(Code)(Java Doc)
public int getPublishAddedCount()(Code)(Java Doc)
public int getPublishChangedCount()(Code)(Java Doc)
public int getPublishRemovedCount()(Code)(Java Doc)
final protected SchedulerService getSchedulerService()(Code)(Java Doc)
protected BlackboardService getSubscriber()(Code)(Java Doc)
public int getSubscriptionCount()(Code)(Java Doc)
public int getSubscriptionSize()(Code)(Java Doc)
final protected int getThreadingChoice()(Code)(Java Doc)
final protected Threading getThreadingModel()(Code)(Java Doc)
final protected UIDServer getUIDServer()(Code)(Java Doc)
final public UIDService getUIDService()(Code)(Java Doc)
public void initialize()(Code)(Java Doc)
public void load() throws StateModelException(Code)(Java Doc)
public void load(Object object)(Code)(Java Doc)
final protected void openTransaction()(Code)(Java Doc)
public long parseInterval(String param)(Code)(Java Doc)
public long parseIntervalParameter(int paramIndex)(Code)(Java Doc)
public void plugin_cycle()(Code)(Java Doc)
public void plugin_prerun()(Code)(Java Doc)
protected void prerun()(Code)(Java Doc)
final protected void publishAdd(Object o)(Code)(Java Doc)
final protected void publishChange(Object o)(Code)(Java Doc)
final protected void publishChange(Object o, Collection changes)(Code)(Java Doc)
final protected void publishRemove(Object o)(Code)(Java Doc)
final protected Collection query(UnaryPredicate isMember)(Code)(Java Doc)
public void resume() throws StateModelException(Code)(Java Doc)
final public void setAgentIdentificationService(AgentIdentificationService ais)(Code)(Java Doc)
final public void setAlarmService(AlarmService s)(Code)(Java Doc)
final public void setAwakened(boolean value)(Code)(Java Doc)
final public void setBindingSite(BindingSite bs)(Code)(Java Doc)
public void setBlackboardService(BlackboardService s)(Code)(Java Doc)
final public void setDemoControlService(DemoControlService dcs)(Code)(Java Doc)
public void setDomainService(DomainService ds)(Code)(Java Doc)
final public void setLDMService(LDMService s)(Code)(Java Doc)
public void setParameter(Object param)(Code)(Java Doc)
public void setPrototypeRegistryService(PrototypeRegistryService prs)(Code)(Java Doc)
final public void setSchedulerService(SchedulerService ss)(Code)(Java Doc)
final protected void setThreadingChoice(int m)(Code)(Java Doc)
final protected void setThreadingModel(Threading t)(Code)(Java Doc)
public void setUIDService(UIDService us)(Code)(Java Doc)
public void start() throws StateModelException(Code)(Java Doc)
public void startThreadingModel()(Code)(Java Doc)
final protected Subscription subscribe(UnaryPredicate isMember)(Code)(Java Doc)
final protected Subscription subscribe(UnaryPredicate isMember, Collection realCollection)(Code)(Java Doc)
final protected Subscription subscribe(UnaryPredicate isMember, boolean isIncremental)(Code)(Java Doc)
final protected Subscription subscribe(UnaryPredicate isMember, Collection realCollection, boolean isIncremental)(Code)(Java Doc)
public void suspend() throws StateModelException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final protected boolean tryOpenTransaction()(Code)(Java Doc)
protected void unclaim(Object o)(Code)(Java Doc)
final protected void unsubscribe(Subscription subscription)(Code)(Java Doc)
final public void wake()(Code)(Java Doc)
public Alarm wakeAfter(long delayTime)(Code)(Java Doc)
public Alarm wakeAfterRealTime(long delayTime)(Code)(Java Doc)
public Alarm wakeAt(long wakeTime)(Code)(Java Doc)
public Alarm wakeAtRealTime(long wakeTime)(Code)(Java Doc)
protected boolean wasAwakened()(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.