IEnvironment.java (7a3beb32) | IEnvironment.java (5fdea833) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 49 unchanged lines hidden (view full) --- 58 * <ul> 59 * <li>A local Java object, to be mapped out of this environment via a given 60 * bridge.</li> 61 * <li>A proxy object, mapped into this environment via some bridge 62 * <var>B1</var>, and now to be mapped out of this environment via a 63 * given bridge <var>B2</var>.</li> 64 * <li>A proxy object, created as a remote object is mapped into this 65 * environment via a given bridge.</li> | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 49 unchanged lines hidden (view full) --- 58 * <ul> 59 * <li>A local Java object, to be mapped out of this environment via a given 60 * bridge.</li> 61 * <li>A proxy object, mapped into this environment via some bridge 62 * <var>B1</var>, and now to be mapped out of this environment via a 63 * given bridge <var>B2</var>.</li> 64 * <li>A proxy object, created as a remote object is mapped into this 65 * environment via a given bridge.</li> |
66 * </ul></p> | 66 * </ul> |
67 * 68 * <p>The object actually registered may differ from the specified 69 * <code>object</code> that is passed as an argument. This enables an 70 * environment to work in a multi-threaded scenario, where two threads can 71 * call <code>registerInterface</code> for the same combination of 72 * <code>oid</code> and <code>type</code> at the same time; the race 73 * condition is solved by letting one of the calls register its argument 74 * <code>object</code>, ignoring the argument <code>object</code> of the --- 74 unchanged lines hidden --- | 67 * 68 * <p>The object actually registered may differ from the specified 69 * <code>object</code> that is passed as an argument. This enables an 70 * environment to work in a multi-threaded scenario, where two threads can 71 * call <code>registerInterface</code> for the same combination of 72 * <code>oid</code> and <code>type</code> at the same time; the race 73 * condition is solved by letting one of the calls register its argument 74 * <code>object</code>, ignoring the argument <code>object</code> of the --- 74 unchanged lines hidden --- |