org.cougaar.core.persist

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.core.persist 
org.cougaar.core.persist
This package contains the Cougaar persistence and rehydration support.

The primary client is the {@link org.cougaar.core.blackboard.StandardBlackboard}, which uses persistence to periodically capture the agent's blackboard state, and rehydrate that state when the agent is restarted (either from a crash or mobility).

A modified {@link java.io.ObjectOutputStream} and {@link java.io.ObjectInputStream} is used to support persistence deltas, where references to unchanged objects are serialized instead of the full objects. This requires Cougaar to override these JVM classes on the Java command line, by using:

 -Xbootclasspath/p:$COUGAAR_INSTALL_PATH/lib/javaiopatch.jar

Additional {@link org.cougaar.core.persist.PersistenceService} clients include the agent's component model manager, which saves the agent's list of components in the persistence snapshot.

For more detail, see the Cougaar Developers' Guide.

Java Source File NameTypeComment
ActivePersistenceObject.javaInterface An object that requires special persistence and rehydration handling.

This is typically used as a hack for odd blackboard objects that can't [de]serialize correctly, or unusual domains.

BlackboardPersistence.javaClassPersistence interface for the org.cougaar.core.blackboard.Blackboard .
BufferedFilePersistence.javaClass This PersistencePlugin saves and restores blackboard objects in files.

There is one optional parameter naming the persistence root directory.

BufferedFileSystem.javaClass Support for buffered and otherwise queued access to the file system.
DatabasePersistence.javaClass This PersistencePlugin saves blackboard objects in a database.
DataProtectionInputStreamStub.javaClass A trivial InputStream for testing the org.cougaar.core.service.DataProtectionService .
DataProtectionKeyStub.javaClass A trivial DataProtectionKey used by the DataProtectionInputStreamStub .
DataProtectionOutputStreamStub.javaClass A trivial OutputStream for testing the org.cougaar.core.service.DataProtectionService .
DataProtectionServiceStub.javaClass A trivial DataProtectionService implementation.
DummyPersistence.javaClass A PersistencePlugin that does nothing.
Exercise.javaClass This component exercises the blackboard and can be used to debug trivial persistence problems.
FileMutex.javaClass A file lock.
FilePersistence.javaClass This PersistencePlugin saves and restores blackboard objects in files.
FilePersistenceBase.javaClass This PersistencePlugin abstract base class saves and restores blackboard objects in files.
IdentityTable.javaClass Identifies all objects that have been (or are about to be) written to persistence media.
NotPersistable.javaInterface A marker interface for objects that should not be persisted.
NotPersistableException.javaClass An Exception thrown when an object can not be persisted.
Persistable.javaInterface A marker interface for persistable objects.
Persistence.javaInterface An extended persistence interface for BlackboardPersistence .
PersistenceAssociation.javaClass This class establishes an association between an object that has been persisted and a reference number.
PersistenceClient.javaInterface Required service requestor API for the PersistenceService .
PersistenceControlPlugin.javaClass This component creates blackboard org.cougaar.core.adaptivity.OperatingMode s that control persistence settings.
PersistenceException.javaClass An exception to be throw when exceptions occur during persistence operations.
PersistenceIdentity.javaClass A unique PersistenceClient identifier.
PersistenceInputStream.javaClass Read persisted objects from a stream.
PersistenceMetricImpl.javaClassorg.cougaar.core.service.PersistenceMetricsService.Metric implementation.
PersistenceMetricsServiceImpl.javaClassPersistenceMetricsService implementation.
PersistenceMetricsServlet.javaClass This component is a javax.servlet.Servlet that displays the persistence snapshots available for the agent, and allows the user to request a Full Persistence snapshot.
PersistenceNames.javaInterface Persistence constants.
PersistenceNotEnabledException.javaClass A exception thrown by org.cougaar.core.service.BlackboardService.persistNow .
PersistenceObject.javaClass An opaque class to contain the persistence snapshot.
PersistenceOutputStream.javaClass Write persistable objects to a stream.
PersistencePlugin.javaInterface A media-specific persistence handler for reading and writing snapshots.

PersistencePlugin defines the API that media-specific persistence plugins must implement.

PersistencePluginAdapter.javaClass Adapter to simplify writing PersistencePlugin implementations.
PersistencePluginSupport.javaInterface Support methods for PersistencePlugin s.
PersistenceReference.javaClass Objects of this class replace objects that have been previously persisted.
PersistenceService.javaInterface This service allows clients to rehydrate data from the most recent persistence snapshot.

Note that the PersistenceServiceForBlackboard service contains the "persist" method, since the blackboard usually initiates the periodic persist.

PersistenceServiceComponent.javaClass This component advertises the PersistenceService and manages all persistence activities except for the actual storage of persistence deltas, which is done by PersistencePlugin s.

As the distributor is about to about to distribute the objects in a set of envelopes, those envelopes are passed to an instance of this class.

PersistenceServiceForAgent.javaInterface This service is an extended PersistenceService for use by the agent.
PersistenceServiceForBlackboard.javaInterface This service is an extended PersistenceService for use by the blackboard's BlackboardPersistence , including the PersistenceServiceForBlackboard.persist method.
PersistenceState.javaInterface An opaque marker class used to persist state of an object which is not itself persistable.
PersistenceStream.javaInterface Marker interface for persistence I/O streams.
PersistenceSubscriberState.javaClass Persistence state for a blackboard Subscriber .
RehydrateTest.javaClass Test class to rehydrate an agent snapshot and print the contents.
RehydrationData.javaClass Rehydration has two results to return, where this little class simply bundles them together.
RehydrationResult.javaClass Rehydration has three results to return, where this little class simply bundles them together.
SequenceNumbers.javaClass A persistence sequence range and timestamp.
TestFullSnapshot.javaClass
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.