jdk/test/java/rmi/activation/ActivateFailedException/activateFails/ShutdownThread.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
29 |
29 |
30 Remote remoteObject = null; |
30 Remote remoteObject = null; |
31 ActivationID activationID = null; |
31 ActivationID activationID = null; |
32 |
32 |
33 public ShutdownThread(Remote remoteObject, ActivationID activationID) { |
33 public ShutdownThread(Remote remoteObject, ActivationID activationID) { |
34 remoteObject = remoteObject; |
34 remoteObject = remoteObject; |
35 activationID = activationID; |
35 activationID = activationID; |
36 } |
36 } |
37 |
37 |
38 public void run() { |
38 public void run() { |
39 |
39 |
40 try { |
40 try { |
41 |
41 |
42 Activatable.unexportObject(remoteObject, true); |
42 Activatable.unexportObject(remoteObject, true); |
43 Activatable.inactive(activationID); |
43 Activatable.inactive(activationID); |
44 |
44 |
45 } catch (Exception e) { |
45 } catch (Exception e) { |
46 } |
46 } |
47 |
47 |
48 } |
48 } |
49 |
49 |
50 } |
50 } |
51 |
|