(file) Return to JMPIProvider.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2 / JMPI

Diff for /pegasus/src/Pegasus/ProviderManager2/JMPI/JMPIProvider.cpp between version 1.11.2.2 and 1.12

version 1.11.2.2, 2006/03/07 18:45:59 version 1.12, 2006/01/30 16:18:10
Line 59 
Line 59 
 JMPIProvider::JMPIProvider (const String       &name, JMPIProvider::JMPIProvider (const String       &name,
                             JMPIProviderModule *module,                             JMPIProviderModule *module,
                             ProviderVector     *mv)                             ProviderVector     *mv)
      : _module(module), _cimom_handle(0), _name(name),
        _no_unload(0), _rm(0)
 { {
    DDD(PEGASUS_STD(cout)<<"--- JMPIProvider::JMPIProvider(name, module, mv)"<<PEGASUS_STD(endl));  
   
    _module               = module;  
    _cimom_handle         = 0;  
    _java_cimom_handle    = new CIMOMHandle ();  
    _name                 = name;  
    _no_unload            = false;  
    _rm                   = 0;  
    _current_operations   = 1;    _current_operations   = 1;
    _currentSubscriptions = 0;    _currentSubscriptions = 0;
    miVector              = *mv;    miVector              = *mv;
Line 78 
Line 72 
 } }
  
 JMPIProvider::JMPIProvider (JMPIProvider *pr) JMPIProvider::JMPIProvider (JMPIProvider *pr)
     : _module(pr->_module), _cimom_handle(0), _name(pr->_name),
       _no_unload(0), _rm(0)
 { {
    DDD(PEGASUS_STD(cout)<<"--- JMPIProvider::JMPIProvider(pr)"<<PEGASUS_STD(endl));  
   
    _module               = pr->_module;  
    _cimom_handle         = 0;  
    _java_cimom_handle    = new CIMOMHandle ();  
    _name                 = pr->_name;  
    _no_unload            = pr->noUnload;  
    _rm                   = 0;  
    _current_operations   = 1;    _current_operations   = 1;
    _currentSubscriptions = 0;    _currentSubscriptions = 0;
    miVector              = pr->miVector;    miVector              = pr->miVector;
      _cimom_handle=new CIMOMHandle();
    noUnload              = pr->noUnload;    noUnload              = pr->noUnload;
    cachedClass           = NULL;    cachedClass           = NULL;
 } }
  
 JMPIProvider::~JMPIProvider(void) JMPIProvider::~JMPIProvider(void)
 { {
    DDD(PEGASUS_STD(cout)<<"--- JMPIProvider::~JMPIProvider()"<<PEGASUS_STD(endl));  
   
    delete _java_cimom_handle;  
    delete cachedClass;    delete cachedClass;
 } }
  
Line 156 
Line 142 
  
        JMPIjvm::checkException(env);        JMPIjvm::checkException(env);
  
        jint    jCimomRef = DEBUG_ConvertCToJava (CIMOMHandle*, jint, _java_cimom_handle);         jint    jCimomRef = DEBUG_ConvertCToJava (CIMOMHandle*, jint, &cimom);
        jobject jch       = env->NewObject(jv->CIMOMHandleClassRef,        jobject jch       = env->NewObject(jv->CIMOMHandleClassRef,
                                           JMPIjvm::jv.CIMOMHandleNewISt,                                           JMPIjvm::jv.CIMOMHandleNewISt,
                                           jCimomRef,                                           jCimomRef,


Legend:
Removed from v.1.11.2.2  
changed lines
  Added in v.1.12

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2