Java Doc for MapMessageImpl.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » jms » message » 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 » EJB Server resin 3.1.5 » resin » com.caucho.jms.message 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.jms.message.MessageImpl
      com.caucho.jms.message.MapMessageImpl

MapMessageImpl
public class MapMessageImpl extends MessageImpl implements MapMessage(Code)
A stream message.



Constructor Summary
public  MapMessageImpl()
    
 MapMessageImpl(MapMessage map)
    
 MapMessageImpl(MapMessageImpl map)
    

Method Summary
public  InputStreambodyToInputStream()
     Serialize the body to an input stream.
public  voidclearBody()
     Clears the message and puts it into write mode.
public  MessageImplcopy()
    
protected  voidcopy(MapMessageImpl newMsg)
    
public  booleangetBoolean(String name)
     Get a boolean from the stream.
public  bytegetByte(String name)
     Get a byte from the stream.
public  byte[]getBytes(String name)
     Get a byte array object from the stream.
public  intgetBytes(String name, byte[] value)
     Get a byte array object from the stream.
public  chargetChar(String name)
     Get a character object from the stream.
public  doublegetDouble(String name)
     Get a double from the stream.
public  floatgetFloat(String name)
     Get a float from the stream.
public  intgetInt(String name)
     Get an integer from the stream.
public  longgetLong(String name)
     Get a long from the stream.
public  EnumerationgetMapNames()
     Returns an enumeration of the map names.
public  ObjectgetObject(String name)
     Gets the next object.
public  shortgetShort(String name)
     Get a short from the stream.
public  StringgetString(String name)
     Get a string from the stream.
public  MessageTypegetType()
     Returns the type enumeration.
public  booleanitemExists(String name)
     Returns true if the object exists.
public  voidreadBody(InputStream is)
     Read the body from an input stream.
public  voidsetBoolean(String name, boolean b)
     Sets a boolean to the stream.
public  voidsetByte(String name, byte b)
     Sets a byte to the stream.
public  voidsetBytes(String name, byte[] buf)
     Sets a byte array to the stream.
public  voidsetBytes(String name, byte[] buf, int offset, int length)
     Sets a byte array to the stream.
public  voidsetChar(String name, char ch)
     Sets a character to the stream.
public  voidsetDouble(String name, double d)
     Sets a double to the stream.
public  voidsetFloat(String name, float f)
     Sets a float to the stream.
public  voidsetInt(String name, int i)
     Sets an integer to the stream.
public  voidsetLong(String name, long l)
     Sets a long to the stream.
public  voidsetObject(String name, Object obj)
     Sets the next object.
public  voidsetShort(String name, short s)
     Sets a short to the stream.
public  voidsetString(String name, String s)
     Sets a string to the stream.
public  StringtoString()
    


Constructor Detail
MapMessageImpl
public MapMessageImpl()(Code)



MapMessageImpl
MapMessageImpl(MapMessage map) throws JMSException(Code)



MapMessageImpl
MapMessageImpl(MapMessageImpl map)(Code)




Method Detail
bodyToInputStream
public InputStream bodyToInputStream() throws IOException(Code)
Serialize the body to an input stream.



clearBody
public void clearBody() throws JMSException(Code)
Clears the message and puts it into write mode.



copy
public MessageImpl copy()(Code)



copy
protected void copy(MapMessageImpl newMsg)(Code)



getBoolean
public boolean getBoolean(String name) throws JMSException(Code)
Get a boolean from the stream.



getByte
public byte getByte(String name) throws JMSException(Code)
Get a byte from the stream.



getBytes
public byte[] getBytes(String name) throws JMSException(Code)
Get a byte array object from the stream.



getBytes
public int getBytes(String name, byte[] value) throws JMSException(Code)
Get a byte array object from the stream.



getChar
public char getChar(String name) throws JMSException(Code)
Get a character object from the stream.



getDouble
public double getDouble(String name) throws JMSException(Code)
Get a double from the stream.



getFloat
public float getFloat(String name) throws JMSException(Code)
Get a float from the stream.



getInt
public int getInt(String name) throws JMSException(Code)
Get an integer from the stream.



getLong
public long getLong(String name) throws JMSException(Code)
Get a long from the stream.



getMapNames
public Enumeration getMapNames() throws JMSException(Code)
Returns an enumeration of the map names.



getObject
public Object getObject(String name) throws JMSException(Code)
Gets the next object.



getShort
public short getShort(String name) throws JMSException(Code)
Get a short from the stream.



getString
public String getString(String name) throws JMSException(Code)
Get a string from the stream.



getType
public MessageType getType()(Code)
Returns the type enumeration.



itemExists
public boolean itemExists(String name) throws JMSException(Code)
Returns true if the object exists.



readBody
public void readBody(InputStream is) throws IOException, JMSException(Code)
Read the body from an input stream.



setBoolean
public void setBoolean(String name, boolean b) throws JMSException(Code)
Sets a boolean to the stream.



setByte
public void setByte(String name, byte b) throws JMSException(Code)
Sets a byte to the stream.



setBytes
public void setBytes(String name, byte[] buf) throws JMSException(Code)
Sets a byte array to the stream.



setBytes
public void setBytes(String name, byte[] buf, int offset, int length) throws JMSException(Code)
Sets a byte array to the stream.



setChar
public void setChar(String name, char ch) throws JMSException(Code)
Sets a character to the stream.



setDouble
public void setDouble(String name, double d) throws JMSException(Code)
Sets a double to the stream.



setFloat
public void setFloat(String name, float f) throws JMSException(Code)
Sets a float to the stream.



setInt
public void setInt(String name, int i) throws JMSException(Code)
Sets an integer to the stream.



setLong
public void setLong(String name, long l) throws JMSException(Code)
Sets a long to the stream.



setObject
public void setObject(String name, Object obj) throws JMSException(Code)
Sets the next object.



setShort
public void setShort(String name, short s) throws JMSException(Code)
Sets a short to the stream.



setString
public void setString(String name, String s) throws JMSException(Code)
Sets a string to the stream.



toString
public String toString()(Code)



Fields inherited from com.caucho.jms.message.MessageImpl
final protected static L10N L(Code)(Java Doc)
final protected static Logger log(Code)(Java Doc)

Methods inherited from com.caucho.jms.message.MessageImpl
public void acknowledge() throws JMSException(Code)(Java Doc)
public InputStream bodyToInputStream() throws IOException(Code)(Java Doc)
protected void checkBodyReadable() throws JMSException(Code)(Java Doc)
protected void checkBodyWriteable() throws JMSException(Code)(Java Doc)
protected void checkHeaderWriteable() throws JMSException(Code)(Java Doc)
protected void checkPropertyWriteable() throws JMSException(Code)(Java Doc)
public void clearBody() throws JMSException(Code)(Java Doc)
public void clearProperties() throws JMSException(Code)(Java Doc)
public MessageImpl copy()(Code)(Java Doc)
protected void copy(MessageImpl newMsg)(Code)(Java Doc)
public boolean getBooleanProperty(String name) throws JMSException(Code)(Java Doc)
public byte getByteProperty(String name) throws JMSException(Code)(Java Doc)
public double getDoubleProperty(String name) throws JMSException(Code)(Java Doc)
public float getFloatProperty(String name) throws JMSException(Code)(Java Doc)
public int getIntProperty(String name) throws JMSException(Code)(Java Doc)
public String getJMSCorrelationID() throws JMSException(Code)(Java Doc)
public byte[] getJMSCorrelationIDAsBytes() throws JMSException(Code)(Java Doc)
public int getJMSDeliveryMode() throws JMSException(Code)(Java Doc)
public Destination getJMSDestination() throws JMSException(Code)(Java Doc)
public long getJMSExpiration() throws JMSException(Code)(Java Doc)
public String getJMSMessageID()(Code)(Java Doc)
public int getJMSPriority() throws JMSException(Code)(Java Doc)
public boolean getJMSRedelivered()(Code)(Java Doc)
public Destination getJMSReplyTo() throws JMSException(Code)(Java Doc)
public long getJMSTimestamp() throws JMSException(Code)(Java Doc)
public String getJMSType() throws JMSException(Code)(Java Doc)
public long getLongProperty(String name) throws JMSException(Code)(Java Doc)
public Object getObjectProperty(String name) throws JMSException(Code)(Java Doc)
public HashMap<String, Object> getProperties()(Code)(Java Doc)
public Enumeration getPropertyNames() throws JMSException(Code)(Java Doc)
public short getShortProperty(String name) throws JMSException(Code)(Java Doc)
public String getStringProperty(String name) throws JMSException(Code)(Java Doc)
public MessageType getType()(Code)(Java Doc)
public static boolean isReserved(String name)(Code)(Java Doc)
public InputStream propertiesToInputStream() throws IOException(Code)(Java Doc)
public boolean propertyExists(String name) throws JMSException(Code)(Java Doc)
public void readBody(InputStream is) throws IOException, JMSException(Code)(Java Doc)
public void readProperties(InputStream is) throws IOException, JMSException(Code)(Java Doc)
protected void setBodyReadOnly()(Code)(Java Doc)
public void setBooleanProperty(String name, boolean value) throws JMSException(Code)(Java Doc)
public void setByteProperty(String name, byte value) throws JMSException(Code)(Java Doc)
public void setDoubleProperty(String name, double value) throws JMSException(Code)(Java Doc)
public void setFloatProperty(String name, float value) throws JMSException(Code)(Java Doc)
public void setIntProperty(String name, int value) throws JMSException(Code)(Java Doc)
public void setJMSCorrelationID(String id) throws JMSException(Code)(Java Doc)
public void setJMSCorrelationIDAsBytes(byte[] id) throws JMSException(Code)(Java Doc)
public void setJMSDeliveryMode(int deliveryMode) throws JMSException(Code)(Java Doc)
public void setJMSDestination(Destination destination) throws JMSException(Code)(Java Doc)
public void setJMSExpiration(long time) throws JMSException(Code)(Java Doc)
public void setJMSMessageID(String id)(Code)(Java Doc)
public void setJMSPriority(int priority) throws JMSException(Code)(Java Doc)
public void setJMSRedelivered(boolean isRedelivered)(Code)(Java Doc)
public void setJMSReplyTo(Destination replyTo) throws JMSException(Code)(Java Doc)
public void setJMSTimestamp(long time) throws JMSException(Code)(Java Doc)
public void setJMSType(String type) throws JMSException(Code)(Java Doc)
public void setLongProperty(String name, long value) throws JMSException(Code)(Java Doc)
public void setObjectProperty(String name, Object value) throws JMSException(Code)(Java Doc)
public void setReceive() throws JMSException(Code)(Java Doc)
public void setSession(JmsSession session)(Code)(Java Doc)
public void setShortProperty(String name, short value) throws JMSException(Code)(Java Doc)
public void setStringProperty(String name, String value) throws JMSException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void writeBody(OutputStream os) throws IOException(Code)(Java Doc)
public void writeProperties(OutputStream os) throws IOException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.