This class provides a mechanism to intercept calls to a IPrimitiveMap
instance and perform validation, handle type conversion, or some other
function necessary to use the PrimitiveMap in a Message or other NMS
object.
Be default this class enforces the standard conversion policy for primitive
types in NMS shown in the table below:
| | boolean byte short char int long float double String byte[]
|----------------------------------------------------------------------
|boolean | X X
|byte | X X X X X
|short | X X X X
|char | X X
|int | X X X
|long | X X
|float | X X X
|double | X X
|String | X X X X X X X X
|byte[] | X
|----------------------------------------------------------------------
Namespace:
Apache.NMS.UtilAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
Visual Basic |
---|
Public Class PrimitiveMapInterceptor _ Implements IPrimitiveMap |
C# |
---|
public class PrimitiveMapInterceptor : IPrimitiveMap |
Visual C++ |
---|
public ref class PrimitiveMapInterceptor : IPrimitiveMap |
JavaScript |
---|
Apache.NMS.Util.PrimitiveMapInterceptor = function(); Type.createClass( 'Apache.NMS.Util.PrimitiveMapInterceptor', null, Apache.NMS.IPrimitiveMap); |
Inheritance Hierarchy
System..::..Object
Apache.NMS.Util..::..PrimitiveMapInterceptor
Apache.NMS.Util..::..MessagePropertyIntercepter
Apache.NMS.Util..::..PrimitiveMapInterceptor
Apache.NMS.Util..::..MessagePropertyIntercepter