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


org.cougaar.planning.service.PrototypeRegistryService

All known Subclasses:   org.cougaar.planning.ldm.asset.PrototypeRegistry,
PrototypeRegistryService
public interface PrototypeRegistryService extends Service(Code)




Method Summary
 voidaddLatePropertyProvider(LatePropertyProvider lpp)
    
 voidaddPropertyProvider(PropertyProvider prov)
    
 voidaddPrototypeProvider(PrototypeProvider prov)
    
 voidcachePrototype(String aTypeName, Asset aPrototype)
     Request that a prototype be remembered by the LDM so that getPrototype(aTypeName) is likely to return aPrototype without having to make calls to PrototypeProvider.getPrototype(aTypeName).
 voidfillProperties(Asset anAsset)
     Notify LDM of a newly created asset.
 intgetCachedPrototypeCount()
    
 intgetPropertyProviderCount()
    
 AssetgetPrototype(String aTypeName, Class anAssetClass)
     find the prototype Asset named by aTypeName.
 AssetgetPrototype(String aTypeName)
    
 intgetPrototypeProviderCount()
    
 booleanisPrototypeCached(String aTypeName)
    
 PropertyGrouplateFillPropertyGroup(Asset anAsset, Class pg, long time)
     Used by assets to activate LateBinding of PropertyGroups to Assets.



Method Detail
addLatePropertyProvider
void addLatePropertyProvider(LatePropertyProvider lpp)(Code)



addPropertyProvider
void addPropertyProvider(PropertyProvider prov)(Code)



addPrototypeProvider
void addPrototypeProvider(PrototypeProvider prov)(Code)



cachePrototype
void cachePrototype(String aTypeName, Asset aPrototype)(Code)
Request that a prototype be remembered by the LDM so that getPrototype(aTypeName) is likely to return aPrototype without having to make calls to PrototypeProvider.getPrototype(aTypeName). Note that the lifespan of a prototype in the prototype registry may be finite (or even zero!). Note: this method should be used only by PrototypeProvider LDM Plugins.



fillProperties
void fillProperties(Asset anAsset)(Code)
Notify LDM of a newly created asset. This is generally for the use of LDMPlugins, but others may use it to request that propertygroups of the new Asset be filled in from various data sources.



getCachedPrototypeCount
int getCachedPrototypeCount()(Code)
int Count of Cached Prototypes *



getPropertyProviderCount
int getPropertyProviderCount()(Code)
int Count of Property Providers *



getPrototype
Asset getPrototype(String aTypeName, Class anAssetClass)(Code)
find the prototype Asset named by aTypeName. This service will actually be provided by a PrototypeProvider via a call to getPrototype(aTypeName). It will return null if no prototype is found or can be created with that name. There is no need for a client of this method to call cachePrototype on the returned object (that task is left to whatever prototypeProvider was responsible for generating the prototype). Some future release might want to throw an exception if not found. An example aTypeName: "NSN/12345678901234". The returned Asset will usually, but not always have a primary type identifier that is equal to the aTypeName. In cases where it does not match, aTypeName must appear as one of the extra type identifiers of the returned asset. PrototypeProviders should cache the prototype under both type identifiers in these cases.
Parameters:
  aTypeName - specifies an Asset description.
Parameters:
  anAssetClass - is an optional hint to LDM pluginsto reduce their potential work load. If non-null, the returned asset (if any) should be an instance the specified class or one of itssubclasses. When null, each PrototypeProvider will attemt to decodethe aTypeName enough to determine if it can supply prototypes of thattype.



getPrototype
Asset getPrototype(String aTypeName)(Code)
equivalent to getPrototype(aTypeName, null);



getPrototypeProviderCount
int getPrototypeProviderCount()(Code)
int Count of Prototype Providers *



isPrototypeCached
boolean isPrototypeCached(String aTypeName)(Code)
is there a prototype with the specified name currently in the prototype cache?



lateFillPropertyGroup
PropertyGroup lateFillPropertyGroup(Asset anAsset, Class pg, long time)(Code)
Used by assets to activate LateBinding of PropertyGroups to Assets. Called as late as possible when it is not yet known if there is a PG for an asset.



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