Lines Matching refs:target
93 * Returns the target associated with the object id.
102 * Returns the target associated with the remote object
122 Target target = getTarget(impl);
123 if (target == null) {
126 return target.getStub();
151 Target target = getTarget(obj);
152 if (target == null) {
155 if (target.unexport(force)) {
156 removeTarget(target);
166 * Add target to object table. If it is not a permanent entry, then
170 static void putTarget(Target target) throws ExportException {
171 ObjectEndpoint oe = target.getObjectEndpoint();
172 WeakRef weakImpl = target.getWeakImpl();
184 if (target.getImpl() != null) {
192 objTable.put(oe, target);
193 implTable.put(weakImpl, target);
195 if (!target.isPermanent()) {
203 * Remove target from object table.
208 private static void removeTarget(Target target) {
211 ObjectEndpoint oe = target.getObjectEndpoint();
212 WeakRef weakImpl = target.getWeakImpl();
221 target.markRemoved(); // handles decrementing keep-alive count
233 Target target = objTable.get(oe);
234 if (target != null) {
235 target.referenced(sequenceNum, vmid);
251 Target target = objTable.get(oe);
252 if (target != null)
253 target.unreferenced(sequenceNum, vmid, strong);
354 Target target = implTable.get(weakImpl);
355 if (target != null) {
356 if (!target.isEmpty()) {
359 } else if (target.isPermanent()) {
362 removeTarget(target);