Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

javax_jms_ConnectionFactory.h

00001 #ifndef xmogInc_javaxjmsConnectionFactory
00002 #define xmogInc_javaxjmsConnectionFactory
00003 
00004 #   if !defined(JMS_DECLSPEC )
00005 #       if defined(_MSC_VER)
00006 #           pragma message( "Relying on default definition of JMS_DECLSPEC " )
00007 #       endif /* defined(_MSC_VER) */
00008         // the following default definition works for all non-Windows platforms and for
00009         // executable projects on Windows where the sources are built directly into the binary
00010 #       define JMS_DECLSPEC 
00011 #   endif /* !defined(JMS_DECLSPEC ) */
00012 
00013     namespace java
00014     {
00015         namespace lang
00016         {
00017             class String;
00018         }
00019     }
00020     namespace javax
00021     {
00022         namespace jms
00023         {
00024             class Connection;
00025             class ConnectionFactory;
00026         }
00027     }
00028 
00029 #   include "java_lang_Object.h"
00030 
00031     // work around MFC definitions of 'new' and 'delete' that cause compilation errors
00032 #   if (XMOG_UNDEFINE_MEM_OPERATORS==1)
00033 #       if defined(new)
00034 #           undef new
00035 #       endif /* defined(new) */
00036 #       if defined(delete)
00037 #           undef delete
00038 #       endif /* defined(delete) */
00039 #   endif /* (XMOG_UNDEFINE_MEM_OPERATORS==1) */
00040 
00104     class JMS_DECLSPEC javax::jms::ConnectionFactory : 
00105         public virtual ::java::lang::Object
00106     {
00107     public:
00108         enum 
00109         {
00110             xmogDefaultFlags = xmog_base::GLOBAL,
00111             xmogMajorVersion = 3,
00112             xmogMinorVersion = 2,
00113             xmogPatchVersion = 9,
00114             xmogBuildNumber = 2047
00115         };
00116 
00117     public:
00118 
00119         typedef ::xmog_java_array_template< ::javax::jms::ConnectionFactory > array1D;
00120 
00121         typedef ::xmog_java_array_template< ::xmog_java_array_template< ::javax::jms::ConnectionFactory > > array2D;
00122 
00124 
00141         ConnectionFactory( );
00142 
00155         ConnectionFactory( jobject _local, xmog_flags f_xflags );
00156 
00169         ConnectionFactory( const ::javax::jms::ConnectionFactory & _rhs );
00170 
00183         ConnectionFactory( const ::xmog_null & _null_instance );
00184 
00195         ConnectionFactory( ::xmog_java_array * _arr, jint _index );
00196 
00208         XMOG_EXPLICIT ConnectionFactory( ::xmog_base * _delegate, bool _owns_delegate = true );
00209 
00223         ConnectionFactory( const ::javax::jms::ConnectionFactory & _rhs, ::xmog_localenv * p_lxenv );
00224 
00238         ConnectionFactory( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00239 
00246         ~ConnectionFactory( );
00247 
00260         javax::jms::ConnectionFactory operator =( const javax::jms::ConnectionFactory & _rhs );
00261 
00276         void operator delete( void * _ptr );
00277 
00278 #       if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00294             void operator delete( void * ptr, void * loc );
00295 #       endif /* (XMOG_SUPPORTS_PLACEMENT_DELETE==1) */
00296 
00311         void * operator new( size_t _size );
00312 
00313 #       if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00331             void * operator new( size_t _size, void * _ptr );
00332 #       endif /* (XMOG_SUPPORTS_PLACEMENT_NEW==1) */
00333 
00335 
00351         virtual ::javax::jms::Connection createConnection( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00352 
00370         virtual ::javax::jms::Connection createConnection( const ::java::lang::String & userName, const ::java::lang::String & password, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00371 
00373 
00394         static ::javax::jms::ConnectionFactory dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00395 
00409         static ::xmog_java_class * get_class( );
00410 
00419         static ::xmog_java_class * get_element_class( );
00420 
00439         virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00441 
00442     };
00443 #endif /* xmogInc_javaxjmsConnectionFactory */
00444 

Generated on Fri Jun 16 10:18:57 2006 for JMS Courier for C++ by  doxygen 1.4.1