Lines Matching refs:environment
134 Reference< XComponentContext > const & context, JNIEnv& environment, in loadClass() argument
147 LocalRef< jobject > cloader(environment); in loadClass()
148 LocalRef< jclass > cl(environment); in loadClass()
153 LocalRef< jobject > classLoader( environment ); in loadClass()
157 LocalRef< jclass > classObject( environment ); in loadClass()
190 LocalRef< jclass > clClass( environment ); in loadClass()
191 clClass.set( environment.FindClass( "java/net/URLClassLoader" ) ); in loadClass()
198 … jmethodID ctorLoader( environment.GetMethodID( clClass.get(), "<init>", "([Ljava/net/URL;)V" ) ); in loadClass()
202 LocalRef< jobjectArray > arr( environment ); in loadClass()
203 arr.set( jvmaccess::ClassPath::translateToUrls( context, &environment, classPath ) ); in loadClass()
209 cloader.set( environment.NewObjectA( clClass.get(), ctorLoader, &arg ) ); in loadClass()
213 wcloader = environment.NewWeakGlobalRef( cloader.get() ); in loadClass()
221 …jmethodID methLoadClass( environment.GetMethodID( clClass.get(), "loadClass", "(Ljava/lang/String;… in loadClass()
225 LocalRef< jstring > str( environment ); in loadClass()
226 str.set( convertwchar_tToJavaString( &environment, name ) ); in loadClass()
232 …cl.set( static_cast< jclass >( environment.CallObjectMethodA( cloader.get(), methLoadClass, &arg )… in loadClass()
236 wcl = environment.NewWeakGlobalRef( cl.get() ); in loadClass()