00001 #ifndef xmogInc_javaxjmsExceptionListener
00002 #define xmogInc_javaxjmsExceptionListener
00003
00004 # if !defined(JMS_DECLSPEC )
00005 # if defined(_MSC_VER)
00006 # pragma message( "Relying on default definition of JMS_DECLSPEC " )
00007 # endif
00008
00009
00010 # define JMS_DECLSPEC
00011 # endif
00012
00013 namespace javax
00014 {
00015 namespace jms
00016 {
00017 class ExceptionListener;
00018 class JMSException;
00019 }
00020 }
00021
00022 # include "java_lang_Object.h"
00023
00024
00025 # if (XMOG_UNDEFINE_MEM_OPERATORS==1)
00026 # if defined(new)
00027 # undef new
00028 # endif
00029 # if defined(delete)
00030 # undef delete
00031 # endif
00032 # endif
00033
00057 class JMS_DECLSPEC javax::jms::ExceptionListener :
00058 public virtual ::java::lang::Object
00059 {
00060 public:
00061 enum
00062 {
00063 xmogDefaultFlags = xmog_base::GLOBAL,
00064 xmogMajorVersion = 3,
00065 xmogMinorVersion = 2,
00066 xmogPatchVersion = 9,
00067 xmogBuildNumber = 2047
00068 };
00069
00070 public:
00071
00072 typedef ::xmog_java_array_template< ::javax::jms::ExceptionListener > array1D;
00073
00074 typedef ::xmog_java_array_template< ::xmog_java_array_template< ::javax::jms::ExceptionListener > > array2D;
00075
00077
00094 ExceptionListener( );
00095
00108 ExceptionListener( jobject _local, xmog_flags f_xflags );
00109
00122 ExceptionListener( const ::javax::jms::ExceptionListener & _rhs );
00123
00136 ExceptionListener( const ::xmog_null & _null_instance );
00137
00148 ExceptionListener( ::xmog_java_array * _arr, jint _index );
00149
00161 XMOG_EXPLICIT ExceptionListener( ::xmog_base * _delegate, bool _owns_delegate = true );
00162
00176 ExceptionListener( const ::javax::jms::ExceptionListener & _rhs, ::xmog_localenv * p_lxenv );
00177
00191 ExceptionListener( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00192
00199 ~ExceptionListener( );
00200
00213 javax::jms::ExceptionListener operator =( const javax::jms::ExceptionListener & _rhs );
00214
00229 void operator delete( void * _ptr );
00230
00231 # if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00247 void operator delete( void * ptr, void * loc );
00248 # endif
00249
00264 void * operator new( size_t _size );
00265
00266 # if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00284 void * operator new( size_t _size, void * _ptr );
00285 # endif
00286
00307 static ::javax::jms::ExceptionListener dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00308
00322 static ::xmog_java_class * get_class( );
00323
00332 static ::xmog_java_class * get_element_class( );
00333
00335
00347 virtual void onException( const ::javax::jms::JMSException & exception, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00348
00350
00369 virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00371
00372 };
00373 #endif
00374