Kaydet (Commit) d50f3c59 authored tarafından Matúš Kukan's avatar Matúš Kukan

stoc: prefix more libs; only bootstrap is remaining

Change-Id: Ie9032c6faa493da47e76bc9ff467c4de4b318ca9
üst 95630ef0
...@@ -722,13 +722,15 @@ static void bootstrap( ...@@ -722,13 +722,15 @@ static void bootstrap(
OUString(), OUString(),
OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.stoc.JavaVirtualMachine")), OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.stoc.JavaVirtualMachine")),
xSMgr, xSMgr,
Reference< XRegistryKey > () ); Reference< XRegistryKey > (),
"javavm" );
Reference< XInterface > r2 = loadSharedLibComponentFactory( Reference< XInterface > r2 = loadSharedLibComponentFactory(
OUString(RTL_CONSTASCII_USTRINGPARAM("javaloader.uno" SAL_DLLEXTENSION)), OUString(RTL_CONSTASCII_USTRINGPARAM("javaloader.uno" SAL_DLLEXTENSION)),
OUString(), OUString(),
OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.stoc.JavaComponentLoader")), OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.stoc.JavaComponentLoader")),
xSMgr, xSMgr,
Reference< XRegistryKey > () ); Reference< XRegistryKey > (),
"javaloader" );
Reference <XSet> xSet( xSMgr, UNO_QUERY ); Reference <XSet> xSet( xSMgr, UNO_QUERY );
if( r.is() && r2.is() && xSet.is() ) if( r.is() && r2.is() && xSet.is() )
{ {
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
--> -->
<component loader="com.sun.star.loader.SharedLibrary" <component loader="com.sun.star.loader.SharedLibrary" prefix="javaloader"
xmlns="http://openoffice.org/2010/uno-components"> xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.stoc.JavaComponentLoader"> <implementation name="com.sun.star.comp.stoc.JavaComponentLoader">
<service name="com.sun.star.loader.Java"/> <service name="com.sun.star.loader.Java"/>
......
...@@ -435,7 +435,7 @@ static struct ImplementationEntry g_entries[] = ...@@ -435,7 +435,7 @@ static struct ImplementationEntry g_entries[] =
extern "C" extern "C"
{ {
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( SAL_DLLPUBLIC_EXPORT void * SAL_CALL javaloader_component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
{ {
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries ); return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
--> -->
<component loader="com.sun.star.loader.SharedLibrary" <component loader="com.sun.star.loader.SharedLibrary" prefix="javavm"
xmlns="http://openoffice.org/2010/uno-components"> xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.stoc.JavaVirtualMachine"> <implementation name="com.sun.star.comp.stoc.JavaVirtualMachine">
<service name="com.sun.star.java.JavaVirtualMachine"/> <service name="com.sun.star.java.JavaVirtualMachine"/>
......
...@@ -598,7 +598,7 @@ private: ...@@ -598,7 +598,7 @@ private:
} }
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(sal_Char const * pImplName, extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL javavm_component_getFactory(sal_Char const * pImplName,
void * pServiceManager, void * pServiceManager,
void * pRegistryKey) void * pRegistryKey)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment