/** * Constructs a new bridge. * <p> * This method is not part of the provided <code>api</code> * and should only be used by the UNO runtime. * <p> * @deprecated as of UDK 1.0 * <p> * @param args the custom parameters: arg[0] == protocol_name, arg[1] == xConnection, arg[2] == xInstanceProvider */ public java_remote_bridge(Object args[]) throws Exception { this(UnoRuntime.getEnvironment("java", null), UnoRuntime.getEnvironment("remote", null), args); }
/** * Constructs a new bridge. * <p> This method is not part of the provided <code>api</code> * and should only be used by the UNO runtime.</p> * * @param args the custom parameters: arg[0] == protocol_name, * arg[1] == xConnection, arg[2] == xInstanceProvider. * * @deprecated as of UDK 1.0 */ public java_remote_bridge(Object args[]) throws Exception { this(UnoRuntime.getEnvironment("java", null), UnoRuntime.getEnvironment("remote", null), args); }
/** * Gets a mapping from environment <code>from</code> to environment * <code>to</code>. * * <p>The used environments are retrieved through * <code>getEnvironment</code>.</p> * * @param from the name of the source environment * @param to the name of the target environment * @return the requested mapping * @see #getEnvironment * @see #getMapping * @see com.sun.star.uno.IMapping * * @deprecated As of UDK 3.2.0, this method is deprecated, without * offering a replacement. */ public static IMapping getMappingByName(String from, String to) throws java.lang.Exception { return getMapping(getEnvironment(from, null), getEnvironment(to, null)); }
/** * Gets a mapping from environment <code>from</code> to environment * <code>to</code>. * * <p>The used environments are retrieved through * <code>getEnvironment</code>.</p> * * @param from the name of the source environment * @param to the name of the target environment * @throws Exception if something goes awry. * @return the requested mapping * @see #getEnvironment * @see #getMapping * @see com.sun.star.uno.IMapping * * @deprecated As of UDK 3.2.0, this method is deprecated, without * offering a replacement. */ public static IMapping getMappingByName(String from, String to) throws java.lang.Exception { return getMapping(getEnvironment(from, null), getEnvironment(to, null)); }
getEnvironment(from, fromContext), getEnvironment(to, toContext), args);
getEnvironment(from, fromContext), getEnvironment(to, toContext), args);