OSDN Git Service

a3e712f4fd56e5d3f88ac1524d3279c0e5784539
[pf3gnuchains/gcc-fork.git] / libjava / java / rmi / activation / Activatable.java
1 /*
2   Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
3
4 This file is part of GNU Classpath.
5
6 GNU Classpath is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10  
11 GNU Classpath is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GNU Classpath; see the file COPYING.  If not, write to the
18 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19 02111-1307 USA.
20
21 As a special exception, if you link this library with other files to
22 produce an executable, this library does not by itself cause the
23 resulting executable to be covered by the GNU General Public License.
24 This exception does not however invalidate any other reasons why the
25 executable file might be covered by the GNU General Public License.
26  */
27
28 package java.rmi.activation;
29
30 import java.rmi.server.RemoteServer;
31 import java.rmi.server.RMIClientSocketFactory;
32 import java.rmi.server.RMIServerSocketFactory;
33 import java.rmi.RemoteException;
34 import java.rmi.Remote;
35 import java.rmi.NoSuchObjectException;
36 import java.rmi.MarshalledObject;
37
38 public abstract class Activatable
39         extends RemoteServer {
40
41 protected Activatable(String location, MarshalledObject data, boolean restart, int port) throws ActivationException, RemoteException {
42         throw new Error("Not implemented");
43 }
44
45 protected Activatable(String location, MarshalledObject data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws ActivationException, RemoteException {
46         throw new Error("Not implemented");
47 }
48
49 protected Activatable(ActivationID id, int port) throws RemoteException {
50         throw new Error("Not implemented");
51 }
52
53 protected Activatable(ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException {
54         throw new Error("Not implemented");
55 }
56
57 protected ActivationID getID() {
58         throw new Error("Not implemented");
59 }
60
61 public static Remote register(ActivationDesc desc) throws UnknownGroupException, ActivationException, RemoteException {
62         throw new Error("Not implemented");
63 }
64
65 public static boolean inactive(ActivationID id) throws UnknownObjectException, ActivationException, RemoteException {
66         throw new Error("Not implemented");
67 }
68
69 public static void unregister(ActivationID id) throws UnknownObjectException, ActivationException, RemoteException {
70         throw new Error("Not implemented");
71 }
72
73 public static ActivationID exportObject(Remote obj, String location, MarshalledObject data, boolean restart, int port) throws ActivationException, RemoteException {
74         throw new Error("Not implemented");
75 }
76
77 public static ActivationID exportObject(Remote obj, String location, MarshalledObject data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws ActivationException, RemoteException {
78         throw new Error("Not implemented");
79 }
80
81 public static Remote exportObject(Remote obj, ActivationID id, int port) throws RemoteException {
82         throw new Error("Not implemented");
83 }
84
85 public static Remote exportObject(Remote obj, ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException {
86         throw new Error("Not implemented");
87 }
88
89 public static boolean unexportObject(Remote obj, boolean force) throws NoSuchObjectException {
90         throw new Error("Not implemented");
91 }
92
93 }