Java Doc for ExternalizableUtilStrategy.java in  » Net » openfire » org » jivesoftware » util » cache » 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 » Net » openfire » org.jivesoftware.util.cache 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jivesoftware.util.cache.ExternalizableUtilStrategy

All known Subclasses:   org.jivesoftware.util.cache.DummyExternalizableUtil,
ExternalizableUtilStrategy
public interface ExternalizableUtilStrategy (Code)
Interface that allows to provide different ways for implementing serialization of objects. The open source version of the server will just provide a dummy implementation that does nothing. The enterprise version will use Coherence as its underlying mechanism.
author:
   Gaston Dombiak




Method Summary
 booleanreadBoolean(DataInput in)
    
 byte[]readByteArray(DataInput in)
    
 intreadExternalizableCollection(DataInput in, Collection<? extends Externalizable> value, ClassLoader loader)
    
 intreadExternalizableMap(DataInput in, Map<String, ? extends Externalizable> map, ClassLoader loader)
    
 intreadInt(DataInput in)
    
 longreadLong(DataInput in)
    
 long[]readLongArray(DataInput in)
     Reads an array of long values.
 MapreadLongIntMap(DataInput in)
     Reads a Map of Long key and Integer value pairs.
 StringreadSafeUTF(DataInput in)
    
 SerializablereadSerializable(DataInput in)
    
 List<String>readStringList(DataInput in)
     Reads a List of Strings.
 Map<String, String>readStringMap(DataInput in)
     Reads a Map of String key and value pairs.
 intreadStrings(DataInput in, Collection<String> collection)
    
 intreadStringsMap(DataInput in, Map<String, Set<String>> map)
    
 voidwriteBoolean(DataOutput out, boolean value)
    
 voidwriteByteArray(DataOutput out, byte[] value)
    
 voidwriteExternalizableCollection(DataOutput out, Collection<? extends Externalizable> value)
    
 voidwriteExternalizableMap(DataOutput out, Map<String, ? extends Externalizable> map)
    
 voidwriteInt(DataOutput out, int value)
    
 voidwriteLong(DataOutput out, long value)
    
 voidwriteLongArray(DataOutput out, long[] array)
     Writes an array of long values.
 voidwriteLongIntMap(DataOutput out, Map<Long, Integer> map)
     Writes a Map of Long key and Integer value pairs.
 voidwriteSafeUTF(DataOutput out, String value)
    
 voidwriteSerializable(DataOutput out, Serializable value)
    
 voidwriteStringList(DataOutput out, List stringList)
     Writes a List of Strings.
 voidwriteStringMap(DataOutput out, Map<String, String> stringMap)
     Writes a Map of String key and value pairs.
 voidwriteStrings(DataOutput out, Collection<String> collection)
    
 voidwriteStringsMap(DataOutput out, Map<String, Set<String>> map)
    



Method Detail
readBoolean
boolean readBoolean(DataInput in) throws IOException(Code)



readByteArray
byte[] readByteArray(DataInput in) throws IOException(Code)



readExternalizableCollection
int readExternalizableCollection(DataInput in, Collection<? extends Externalizable> value, ClassLoader loader) throws IOException(Code)



readExternalizableMap
int readExternalizableMap(DataInput in, Map<String, ? extends Externalizable> map, ClassLoader loader) throws IOException(Code)



readInt
int readInt(DataInput in) throws IOException(Code)



readLong
long readLong(DataInput in) throws IOException(Code)



readLongArray
long[] readLongArray(DataInput in) throws IOException(Code)
Reads an array of long values. This method will return null if the array written to the stream was null.
Parameters:
  in - the input stream. an array of long values.
throws:
  IOException - if an error occurs.



readLongIntMap
Map readLongIntMap(DataInput in) throws IOException(Code)
Reads a Map of Long key and Integer value pairs. This method will return null if the Map written to the stream was null.
Parameters:
  in - the input stream. a Map of Long key/Integer value pairs.
throws:
  IOException - if an error occurs.



readSafeUTF
String readSafeUTF(DataInput in) throws IOException(Code)



readSerializable
Serializable readSerializable(DataInput in) throws IOException(Code)



readStringList
List<String> readStringList(DataInput in) throws IOException(Code)
Reads a List of Strings. This method will return null if the List written to the stream was null.
Parameters:
  in - the input stream. a List of Strings.
throws:
  IOException - if an error occurs.



readStringMap
Map<String, String> readStringMap(DataInput in) throws IOException(Code)
Reads a Map of String key and value pairs. This method will return null if the Map written to the stream was null.
Parameters:
  in - the input stream. a Map of String key/value pairs.
throws:
  IOException - if an error occurs.



readStrings
int readStrings(DataInput in, Collection<String> collection) throws IOException(Code)



readStringsMap
int readStringsMap(DataInput in, Map<String, Set<String>> map) throws IOException(Code)



writeBoolean
void writeBoolean(DataOutput out, boolean value) throws IOException(Code)



writeByteArray
void writeByteArray(DataOutput out, byte[] value) throws IOException(Code)



writeExternalizableCollection
void writeExternalizableCollection(DataOutput out, Collection<? extends Externalizable> value) throws IOException(Code)



writeExternalizableMap
void writeExternalizableMap(DataOutput out, Map<String, ? extends Externalizable> map) throws IOException(Code)



writeInt
void writeInt(DataOutput out, int value) throws IOException(Code)



writeLong
void writeLong(DataOutput out, long value) throws IOException(Code)



writeLongArray
void writeLongArray(DataOutput out, long[] array) throws IOException(Code)
Writes an array of long values. This method handles the case when the array is null.
Parameters:
  out - the output stream.
Parameters:
  array - the array of long values.
throws:
  IOException - if an error occurs.



writeLongIntMap
void writeLongIntMap(DataOutput out, Map<Long, Integer> map) throws IOException(Code)
Writes a Map of Long key and Integer value pairs. This method handles the case when the Map is null.
Parameters:
  out - the output stream.
Parameters:
  map - the Map of Long key/Integer value pairs.
throws:
  IOException - if an error occurs.



writeSafeUTF
void writeSafeUTF(DataOutput out, String value) throws IOException(Code)



writeSerializable
void writeSerializable(DataOutput out, Serializable value) throws IOException(Code)



writeStringList
void writeStringList(DataOutput out, List stringList) throws IOException(Code)
Writes a List of Strings. This method handles the case when the List is null.
Parameters:
  out - the output stream.
Parameters:
  stringList - the List of Strings.
throws:
  IOException - if an error occurs.



writeStringMap
void writeStringMap(DataOutput out, Map<String, String> stringMap) throws IOException(Code)
Writes a Map of String key and value pairs. This method handles the case when the Map is null.
Parameters:
  out - the output stream.
Parameters:
  stringMap - the Map of String key/value pairs.
throws:
  java.io.IOException - if an error occurs.



writeStrings
void writeStrings(DataOutput out, Collection<String> collection) throws IOException(Code)



writeStringsMap
void writeStringsMap(DataOutput out, Map<String, Set<String>> map) throws IOException(Code)



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