LibreOffice Module stoc (master) 1
|
#include <rtl/process.h>
#include <sal/log.hxx>
#include <uno/environment.h>
#include <uno/lbnames.h>
#include <uno/mapping.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <cppuhelper/exc_hlp.hxx>
#include <com/sun/star/java/XJavaVM.hpp>
#include <jni.h>
#include <rtl/random.h>
#include <rtl/ustrbuf.hxx>
#include <osl/security.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/bridge/UnoUrlResolver.hpp>
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
#include <com/sun/star/loader/XImplementationLoader.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/util/theMacroExpander.hpp>
#include <jvmaccess/unovirtualmachine.hxx>
#include <jvmaccess/virtualmachine.hxx>
#include <comphelper/sequence.hxx>
#include <mutex>
#include <thread>
#include <utility>
Go to the source code of this file.
Namespaces | |
namespace | com |
namespace | com::sun |
namespace | com::sun::star |
namespace | com::sun::star::registry |
namespace | stoc_javaloader |
Functions | |
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * | stoc_javaloader::stoc_JavaComponentLoader_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &) |
|
private |
Do not use m_javaLoader directly.
Instead use getJavaLoader. This is either an in-process loader implemented in Java, or a remote instance of JavaComponentLoader running in uno process, acting as a proxy.
Definition at line 251 of file javaloader.cxx.
|
private |
local context
Definition at line 237 of file javaloader.cxx.
|
private |
possible remote process' context (use depends on configuration).
note: lifetime must be effectively "static" as this JavaComponentLoader has no control over the lifetime of the services created via this context; hence JavaComponentLoader is a single-instance service.
Definition at line 244 of file javaloader.cxx.