summaryrefslogtreecommitdiff
path: root/udkapi/com/sun/star/java
diff options
context:
space:
mode:
Diffstat (limited to 'udkapi/com/sun/star/java')
-rw-r--r--udkapi/com/sun/star/java/InvalidJavaSettingsException.idl50
-rw-r--r--udkapi/com/sun/star/java/JavaDisabledException.idl49
-rw-r--r--udkapi/com/sun/star/java/JavaInitializationException.idl57
-rw-r--r--udkapi/com/sun/star/java/JavaNotConfiguredException.idl48
-rw-r--r--udkapi/com/sun/star/java/JavaNotFoundException.idl46
-rw-r--r--udkapi/com/sun/star/java/JavaVMCreationFailureException.idl59
-rw-r--r--udkapi/com/sun/star/java/JavaVirtualMachine.idl64
-rw-r--r--udkapi/com/sun/star/java/MissingJavaRuntimeException.idl51
-rw-r--r--udkapi/com/sun/star/java/RestartRequiredException.idl46
-rw-r--r--udkapi/com/sun/star/java/WrongJavaVersionException.idl62
-rw-r--r--udkapi/com/sun/star/java/XJavaThreadRegister_11.idl81
-rw-r--r--udkapi/com/sun/star/java/XJavaVM.idl139
12 files changed, 0 insertions, 752 deletions
diff --git a/udkapi/com/sun/star/java/InvalidJavaSettingsException.idl b/udkapi/com/sun/star/java/InvalidJavaSettingsException.idl
deleted file mode 100644
index 85c9151da..000000000
--- a/udkapi/com/sun/star/java/InvalidJavaSettingsException.idl
+++ /dev/null
@@ -1,50 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef __com_sun_star_java_InvalidJavaSettingsException_idl__
-#define __com_sun_star_java_InvalidJavaSettingsException_idl__
-
-#include <com/sun/star/java/JavaInitializationException.idl>
-
-module com { module sun { module star { module java {
-
-
-/** indicates a the Java settings have been modified.
-
- <p>The Java framework uses a configuration file, which can be used
- by distributors to determine what versions are supported. If this
- file is modified, then the current settings are regarded as invalid.</p>
-
- @since OOo 2.0
- */
-exception InvalidJavaSettingsException: JavaInitializationException
-{
-};
-
-}; }; }; };
-
-#endif
diff --git a/udkapi/com/sun/star/java/JavaDisabledException.idl b/udkapi/com/sun/star/java/JavaDisabledException.idl
deleted file mode 100644
index 945106278..000000000
--- a/udkapi/com/sun/star/java/JavaDisabledException.idl
+++ /dev/null
@@ -1,49 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef __com_sun_star_java_JavaDisabledException_idl__
-#define __com_sun_star_java_JavaDisabledException_idl__
-
-#include <com/sun/star/java/JavaInitializationException.idl>
-
-module com { module sun { module star { module java {
-
-
-/** indicates that Java could not be initialized because it has
- been switched off.<p>
- The user has switched off Java in the configuration of the office,
- for example by means of the options dialog.
-
- @since OOo 1.1.2
- */
-published exception JavaDisabledException: JavaInitializationException
-{
-};
-
-}; }; }; };
-
-#endif
diff --git a/udkapi/com/sun/star/java/JavaInitializationException.idl b/udkapi/com/sun/star/java/JavaInitializationException.idl
deleted file mode 100644
index f71ae22ec..000000000
--- a/udkapi/com/sun/star/java/JavaInitializationException.idl
+++ /dev/null
@@ -1,57 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef __com_sun_star_java_JavaInitializationException_idl__
-#define __com_sun_star_java_JavaInitializationException_idl__
-
-#include <com/sun/star/uno/DeploymentException.idl>
-
-module com { module sun { module star { module java {
-
-
-/** indicates that there is no Java available <p>
- It is presumed that Java is a vital part of an office installation.
- That is, if Java does work for some reason, it it not guaranteed that
- the office is functional. A JavaInitializationException is therefore
- caused by some misconfiguration of Java which is closer described by
- other exceptions in this namespace which inherit JavaInitializationException.
- These are:
- <p>
- <type scope:"com::sun::star::java">JavaDisabledException</type> <br>
- <type scope:"com::sun::star::java">JavaNotConfiguredException</type> <br>
- <type scope:"com::sun::star::java">MissingJavaRuntimeException</type> <br>
- <type scope:"com::sun::star::java">JavaVMCreationFailureException</type> <br>
-
- @since OOo 1.1.2
- */
-published exception JavaInitializationException: com::sun::star::uno::DeploymentException
-{
-};
-
-}; }; }; };
-
-#endif
diff --git a/udkapi/com/sun/star/java/JavaNotConfiguredException.idl b/udkapi/com/sun/star/java/JavaNotConfiguredException.idl
deleted file mode 100644
index 48273a0f8..000000000
--- a/udkapi/com/sun/star/java/JavaNotConfiguredException.idl
+++ /dev/null
@@ -1,48 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef __com_sun_star_java_JavaNotConfiguredException_idl__
-#define __com_sun_star_java_JavaNotConfiguredException_idl__
-
-#include <com/sun/star/java/JavaInitializationException.idl>
-
-module com { module sun { module star { module java {
-
-
-/** indicates that the user did not configure Java for an Office installation. <p>
- This exception occurs if there is no java.ini or javarc available. This usually
- happens if a user cancels the Java configuration which of the office.
-
- @since OOo 1.1.2
- */
-published exception JavaNotConfiguredException: JavaInitializationException
-{
-};
-
-}; }; }; };
-
-#endif
diff --git a/udkapi/com/sun/star/java/JavaNotFoundException.idl b/udkapi/com/sun/star/java/JavaNotFoundException.idl
deleted file mode 100644
index f8756ebdb..000000000
--- a/udkapi/com/sun/star/java/JavaNotFoundException.idl
+++ /dev/null
@@ -1,46 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef __com_sun_star_java_JavaNotFoundException_idl__
-#define __com_sun_star_java_JavaNotFoundException_idl__
-
-#include <com/sun/star/java/JavaInitializationException.idl>
-
-module com { module sun { module star { module java {
-
-
-/** indicates that no suitable JRE was found.
-
- @since OOo 2.0
- */
-exception JavaNotFoundException: JavaInitializationException
-{
-};
-
-}; }; }; };
-
-#endif
diff --git a/udkapi/com/sun/star/java/JavaVMCreationFailureException.idl b/udkapi/com/sun/star/java/JavaVMCreationFailureException.idl
deleted file mode 100644
index 255379cb2..000000000
--- a/udkapi/com/sun/star/java/JavaVMCreationFailureException.idl
+++ /dev/null
@@ -1,59 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef __com_sun_star_java_JavaVMCreationFailureException_idl__
-#define __com_sun_star_java_JavaVMCreationFailureException_idl__
-
-#include <com/sun/star/java/JavaInitializationException.idl>
-
-module com { module sun { module star { module java {
-
-
-/** indicates that the Java Virtual Machine could not be created <p>
- This exception can be thrown when the creation of the Java Virtual
- Machine failed, even if the runtime library could be loaded.
- Possible reasons for a failure are that JNI_CreateJavaVM returns
- an error code that reflects a failure, JNI_CreateJavaVM does not
- return because it tries to quit the process ( _exit), the shared
- library is corrupted, so that the symbols for JNI_GetDefaultVMInitArgs
- or JNI_CreateJavaVM cannot be found, etc.
-
- @since OOo 1.1.2
- */
-published exception JavaVMCreationFailureException: JavaInitializationException
-{
- /** contains an error code that reflects the returned error code of
- JNI_CreateJavaVM or other errors. A negative value represents
- the returned error code of JNI_CreateJavaVM. All other values
- indicate a different cause.
- */
- long ErrorCode;
-};
-
-}; }; }; };
-
-#endif
diff --git a/udkapi/com/sun/star/java/JavaVirtualMachine.idl b/udkapi/com/sun/star/java/JavaVirtualMachine.idl
deleted file mode 100644
index a7a8de71a..000000000
--- a/udkapi/com/sun/star/java/JavaVirtualMachine.idl
+++ /dev/null
@@ -1,64 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef __com_sun_star_java_JavaVirtualMachine_idl__
-#define __com_sun_star_java_JavaVirtualMachine_idl__
-
-//=============================================================================
-
-module com { module sun { module star { module java {
-
- published interface XJavaVM;
- published interface XJavaThreadRegister_11;
-
-//=============================================================================
-
-// DocMerge from xml: service com::sun::star::java::JavaVirtualMachine
-/** exports interfaces to handle a JavaVM and Java threads.
-
- @deprecated
- A UNO service seems to be at the wrong abstraction level for this
- functionality. This should probably be replaced by an appropriate C/C++
- API.
- */
-published service JavaVirtualMachine
-{
- // DocMerge: empty anyway
- interface XJavaVM;
-
- // DocMerge: empty anyway
- interface XJavaThreadRegister_11;
-
-};
-
-//=============================================================================
-
-}; }; }; };
-
-/*=============================================================================
-
-=============================================================================*/
-#endif
diff --git a/udkapi/com/sun/star/java/MissingJavaRuntimeException.idl b/udkapi/com/sun/star/java/MissingJavaRuntimeException.idl
deleted file mode 100644
index 2a6fc052d..000000000
--- a/udkapi/com/sun/star/java/MissingJavaRuntimeException.idl
+++ /dev/null
@@ -1,51 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef __com_sun_star_java_MissingJavaRuntimeException_idl__
-#define __com_sun_star_java_MissingJavaRuntimeException_idl__
-
-#include <com/sun/star/java/JavaInitializationException.idl>
-
-module com { module sun { module star { module java {
-
-
-/** indicates that the Java runtime library could not be found. <p>
- This happens when a user moves or deletes a Java installation after
- the office has been configured to use that Java installation.
-
- @since OOo 1.1.2
- */
-published exception MissingJavaRuntimeException: JavaInitializationException
-{
- /** contains the path to the runtime lib as file URL.
- */
- string URLRuntimeLib;
-};
-
-}; }; }; };
-
-#endif
diff --git a/udkapi/com/sun/star/java/RestartRequiredException.idl b/udkapi/com/sun/star/java/RestartRequiredException.idl
deleted file mode 100644
index 942124467..000000000
--- a/udkapi/com/sun/star/java/RestartRequiredException.idl
+++ /dev/null
@@ -1,46 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef __com_sun_star_java_RestartRequiredException_idl__
-#define __com_sun_star_java_RestartRequiredException_idl__
-
-#include <com/sun/star/java/JavaInitializationException.idl>
-
-module com { module sun { module star { module java {
-
-
-/** indicates that the office must be restarted before a JRE can be used.
-
- @since OOo 2.0
- */
-exception RestartRequiredException: JavaInitializationException
-{
-};
-
-}; }; }; };
-
-#endif
diff --git a/udkapi/com/sun/star/java/WrongJavaVersionException.idl b/udkapi/com/sun/star/java/WrongJavaVersionException.idl
deleted file mode 100644
index b410f21e5..000000000
--- a/udkapi/com/sun/star/java/WrongJavaVersionException.idl
+++ /dev/null
@@ -1,62 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef __com_sun_star_java_WrongJavaVersionException_idl__
-#define __com_sun_star_java_WrongJavaVersionException_idl__
-
-#include "com/sun/star/uno/Exception.idl"
-
-module com { module sun { module star { module java {
-
-//============================================================================
-/** indicates that an operation involving Java (probably executing Java code)
- failed due to a wrong Java version.
- */
-published exception WrongJavaVersionException: com::sun::star::uno::Exception
-{
- //------------------------------------------------------------------------
- /** contains the lowest Java version for which the operation would
- succeed, or is left empty if this is unknown.
- */
- string LowestSupportedVersion;
-
- //------------------------------------------------------------------------
- /** contains the highest Java version for which the operation would
- succeed, or is left empty if this is unknown.
- */
- string HighestSupportedVersion;
-
- //------------------------------------------------------------------------
- /** contains the Java version that has been detected, or is left empty if
- this is unknown.
- */
- string DetectedVersion;
-};
-
-}; }; }; };
-
-#endif
diff --git a/udkapi/com/sun/star/java/XJavaThreadRegister_11.idl b/udkapi/com/sun/star/java/XJavaThreadRegister_11.idl
deleted file mode 100644
index 5a45e17f8..000000000
--- a/udkapi/com/sun/star/java/XJavaThreadRegister_11.idl
+++ /dev/null
@@ -1,81 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef __com_sun_star_java_XJavaThreadRegister_11_idl__
-#define __com_sun_star_java_XJavaThreadRegister_11_idl__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-
-//=============================================================================
-
-module com { module sun { module star { module java {
-
-//=============================================================================
-
-// DocMerge from xml: interface com::sun::star::java::XJavaThreadRegister_11
-/** must be implemented by the user of the XJavaThreadRegister_11.
-
- @incomplete
- @deprecated
- */
-published interface XJavaThreadRegister_11: com::sun::star::uno::XInterface
-{
- //-------------------------------------------------------------------------
-
- // DocMerge from xml: method com::sun::star::java::XJavaThreadRegister_11::isThreadAttached
- /** returns <true/> if the current thread is already attached to the VM otherwise <false/>.
- */
- boolean isThreadAttached();
-
- //-------------------------------------------------------------------------
-
- // DocMerge from xml: method com::sun::star::java::XJavaThreadRegister_11::registerThread
- /** registers the current thread.
-
- <p>This method should be called every time a JNI function is called from Java. </p>
- */
- void registerThread();
-
-
- //-------------------------------------------------------------------------
-
- // DocMerge from xml: method com::sun::star::java::XJavaThreadRegister_11::revokeThread
- /** revokes the current thread from the list of registerd threads.
-
- <p>This method should be called at the end of every JNI call from Java. </p>
- */
- void revokeThread();
-};
-
-//=============================================================================
-
-}; }; }; };
-
-/*=============================================================================
-
-=============================================================================*/
-#endif
diff --git a/udkapi/com/sun/star/java/XJavaVM.idl b/udkapi/com/sun/star/java/XJavaVM.idl
deleted file mode 100644
index 678f67e2b..000000000
--- a/udkapi/com/sun/star/java/XJavaVM.idl
+++ /dev/null
@@ -1,139 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef __com_sun_star_java_XJavaVM_idl__
-#define __com_sun_star_java_XJavaVM_idl__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-//=============================================================================
-
-module com { module sun { module star { module java {
-
-//=============================================================================
-
-// DocMerge from xml: interface com::sun::star::java::XJavaVM
-/** must be implemented by the user of the XJavaVM.
-
- @deprecated
- A UNO interface seems to be at the wrong abstraction level for this
- functionality (also, the C++ classes <code>jvmaccess::VirtualMachine</code>
- and <code>jvmaccess::UnoVirtualMachine</code> used by
- <member scope="com::sun::star::java">XJavaVM::getJavaVM</member> are not
- part of the public C++ UNO runtime API). This should probably be replaced
- by an appropriate C/C++ API.
- */
-published interface XJavaVM: com::sun::star::uno::XInterface
-{
- //-------------------------------------------------------------------------
-
- // DocMerge from xml: method com::sun::star::java::XJavaVM::getJavaVM
- /** returns the address of the Java Virtual Machine.
-
- <p>If the VM is not already instantiated, it will be now.</p>
-
- <p>If the <code>processID</code> is a normal 16-byte ID, the returned
- <atom>any</atom> contains a JNI <code>JavaVM</code> pointer as a
- <atom>long</atom> or <atom>hyper</atom> integer (depending on the
- platform). If the <code>processID</code> does not match the current
- process, or if the VM cannot be instantiated for whatever reason, a
- <void/> <atom>any</atom> is returned.</p>
-
- <p>If the <code>processID</code> has an additional 17th byte of
- value&nbsp;<code>0</code>, the returned <atom>any</atom> contains a
- non&ndash;reference-counted pointer to a (reference-counted) instance of
- the C++ <code>jvmaccess::VirtualMachine</code> class, always represented
- as a <atom>hyper</atom> integer. The pointer is guaranteed to be valid
- as long as the reference to this
- <type scope="com::sun::star::java">XJavaVM</type> is valid (but the
- pointer should be converted into a reference-counted reference as soon
- as possible). Again, if the first 16 bytes of the
- <code>processID</code> do not match the current process, or if the VM
- cannot be instantiated for whatever reason, a <void/> <atom>any</atom>
- is returned.</p>
-
- <p>If the <code>processID</code> has an additional 17th byte of
- value&nbsp;<code>1</code>, the returned <atom>any</atom> contains a
- non&ndash;reference-counted pointer to a (reference-counted) instance of
- the C++ <code>jvmaccess::UnoVirtualMachine</code> class, always
- represented as a <atom>hyper</atom> integer. The pointer is guaranteed
- to be valid as long as the reference to this
- <type scope="com::sun::star::java">XJavaVM</type> is valid. Again, if
- the first 16 bytes of the <code>processID</code> do not match the
- current process, or if the VM cannot be instantiated for whatever
- reason, a <void/> <atom>any</atom> is returned.</p>
-
- <p>The first form (returning a JNI <code>JavaVM</code> pointer) is
- mainly for backwards compatibility, new code should use the second form
- (returning a pointer to a <code>jvmaccess::VirtualMachine</code>) if it
- does not want to use the Java UNO environment, and it should use the
- third form (returning a pointer to a
- <code>jvmaccess::UnoVirtualMachine</code>) if it wants to use the Java
- UNO environment. For example, one advantage of using
- <code>jvmaccess::VirtualMachine</code> instead of the raw
- <code>JavaVM</code> pointer is that whenever you attach a native thread
- to the Java virtual machine, that thread's context
- <code>ClassLoader</code> (see
- <code>java.lang.Thread.getContextClassLoader</code>) will automatically
- be set to a meaningful value.</p>
-
- @param processID
- The process ID of the caller's process, possibly extended by a 17th byte
- of value <code>0</code> or&nbsp;<code>1</code>.
-
- @return
- On success, the <atom>any</atom> contains a pointer represented as
- <atom>long</atom> or <atom>hyper</atom>, otherwise the <atom>any</atom>
- is <void/>.
- */
- any getJavaVM( [in] sequence<byte> processID );
-
- //-------------------------------------------------------------------------
-
- // DocMerge from xml: method com::sun::star::java::XJavaVM::isVMStarted
- /** returns <true/> if the VM is started successfully, otherwise <false/>.
- */
- boolean isVMStarted();
-
- //-------------------------------------------------------------------------
-
- // DocMerge from xml: method com::sun::star::java::XJavaVM::isVMEnabled
- /** Returns <true/> if the VM is enabled.
-
- <p>It is only possible to get the VM, if this method return 0. </p>
- */
- boolean isVMEnabled();
-
-};
-
-//=============================================================================
-
-}; }; }; };
-
-/*=============================================================================
-
-=============================================================================*/
-#endif