00001 #ifndef xmogInc_UUjavaxUUjmsUUjavax_jms_ExceptionListenerCB
00002 #define xmogInc_UUjavaxUUjmsUUjavax_jms_ExceptionListenerCB
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 JMSException;
00018 class javax_jms_ExceptionListenerCB;
00019 }
00020 }
00021
00022 # include "javax_jms_ExceptionListener.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
00034 class JMS_DECLSPEC javax::jms::javax_jms_ExceptionListenerCB :
00035 public ::javax::jms::ExceptionListener
00036 {
00037
00039
00040 public:
00053 javax_jms_ExceptionListenerCB( jobject _local, xmog_flags f_xflags );
00054
00067 javax_jms_ExceptionListenerCB( const ::xmog_null & _null_instance );
00068
00081 javax_jms_ExceptionListenerCB( const ::javax::jms::javax_jms_ExceptionListenerCB & _rhs );
00082
00094 XMOG_EXPLICIT javax_jms_ExceptionListenerCB( ::xmog_base * _delegate, bool _owns_delegate = true );
00095
00097
00098 javax_jms_ExceptionListenerCB( ::xmog_localenv * env = NULL, bool xmog_sync = false );
00099
00101
00115 javax_jms_ExceptionListenerCB( const ::javax::jms::javax_jms_ExceptionListenerCB & _rhs, ::xmog_localenv * p_lxenv );
00116
00118
00119 ~javax_jms_ExceptionListenerCB( );
00120
00122
00135 const javax::jms::javax_jms_ExceptionListenerCB & operator =( const javax::jms::javax_jms_ExceptionListenerCB & _rhs );
00136
00151 void operator delete( void * _ptr );
00152
00153 # if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00169 void operator delete( void * ptr, void * loc );
00170 # endif
00171
00186 void * operator new( size_t _size );
00187
00188 # if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00206 void * operator new( size_t _size, void * _ptr );
00207 # endif
00208
00222 static ::xmog_java_class * get_class( );
00223
00232 static ::xmog_java_class * get_element_class( );
00233
00235
00236 virtual void onException( const ::javax::jms::JMSException & exception, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags ) = 0;
00237
00238 static jint JNICALL onException0( const ::xmog_base & peer, jlong inst, ::xmog_peer_value & retexc, const ::xmog_java_array_template< ::xmog_peer_value > & args, ::xmog_localenv * env );
00239 };
00240 #endif
00241