Lines Matching refs:java
25 extends java.rmi.server.RemoteStub
26 implements java.rmi.registry.Registry, java.rmi.Remote
28 private static final java.rmi.server.Operation[] operations = {
29 new java.rmi.server.Operation("void bind(java.lang.String, java.rmi.Remote)"),
30 new java.rmi.server.Operation("java.lang.String list()[]"),
31 new java.rmi.server.Operation("java.rmi.Remote lookup(java.lang.String)"),
32 new java.rmi.server.Operation("void rebind(java.lang.String, java.rmi.Remote)"),
33 new java.rmi.server.Operation("void unbind(java.lang.String)")
42 public ReferenceRegistryStub(java.rmi.server.RemoteRef ref) {
49 public void bind(java.lang.String $param_String_1, java.rmi.Remote $param_Remote_2)
50 throws java.rmi.AccessException, java.rmi.AlreadyBoundException, java.rmi.RemoteException
53 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject) this, operations, 0, interfaceHash);
55 java.io.ObjectOutput out = call.getOutputStream();
58 } catch (java.io.IOException e) {
59 throw new java.rmi.MarshalException("error marshalling arguments", e);
63 } catch (java.lang.RuntimeException e) {
65 } catch (java.rmi.RemoteException e) {
67 } catch (java.rmi.AlreadyBoundException e) {
69 } catch (java.lang.Exception e) {
70 throw new java.rmi.UnexpectedException("undeclared checked exception", e);
75 public java.lang.String[] list()
76 throws java.rmi.AccessException, java.rmi.RemoteException
79 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject) this, operations, 1, interfaceHash);
81 java.lang.String[] $result;
83 java.io.ObjectInput in = call.getInputStream();
84 $result = (java.lang.String[]) in.readObject();
85 } catch (java.io.IOException e) {
86 throw new java.rmi.UnmarshalException("error unmarshalling return", e);
87 } catch (java.lang.ClassNotFoundException e) {
88 throw new java.rmi.UnmarshalException("error unmarshalling return", e);
93 } catch (java.lang.RuntimeException e) {
95 } catch (java.rmi.RemoteException e) {
97 } catch (java.lang.Exception e) {
98 throw new java.rmi.UnexpectedException("undeclared checked exception", e);
103 public java.rmi.Remote lookup(java.lang.String $param_String_1)
104 throws java.rmi.AccessException, java.rmi.NotBoundException, java.rmi.RemoteException
107 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject) this, operations, 2, interfaceHash);
109 java.io.ObjectOutput out = call.getOutputStream();
111 } catch (java.io.IOException e) {
112 throw new java.rmi.MarshalException("error marshalling arguments", e);
115 java.rmi.Remote $result;
117 java.io.ObjectInput in = call.getInputStream();
118 $result = (java.rmi.Remote) in.readObject();
119 } catch (java.io.IOException e) {
120 throw new java.rmi.UnmarshalException("error unmarshalling return", e);
121 } catch (java.lang.ClassNotFoundException e) {
122 throw new java.rmi.UnmarshalException("error unmarshalling return", e);
127 } catch (java.lang.RuntimeException e) {
129 } catch (java.rmi.RemoteException e) {
131 } catch (java.rmi.NotBoundException e) {
133 } catch (java.lang.Exception e) {
134 throw new java.rmi.UnexpectedException("undeclared checked exception", e);
139 public void rebind(java.lang.String $param_String_1, java.rmi.Remote $param_Remote_2)
140 throws java.rmi.AccessException, java.rmi.RemoteException
143 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject) this, operations, 3, interfaceHash);
145 java.io.ObjectOutput out = call.getOutputStream();
148 } catch (java.io.IOException e) {
149 throw new java.rmi.MarshalException("error marshalling arguments", e);
153 } catch (java.lang.RuntimeException e) {
155 } catch (java.rmi.RemoteException e) {
157 } catch (java.lang.Exception e) {
158 throw new java.rmi.UnexpectedException("undeclared checked exception", e);
163 public void unbind(java.lang.String $param_String_1)
164 throws java.rmi.AccessException, java.rmi.NotBoundException, java.rmi.RemoteException
167 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject) this, operations, 4, interfaceHash);
169 java.io.ObjectOutput out = call.getOutputStream();
171 } catch (java.io.IOException e) {
172 throw new java.rmi.MarshalException("error marshalling arguments", e);
176 } catch (java.lang.RuntimeException e) {
178 } catch (java.rmi.RemoteException e) {
180 } catch (java.rmi.NotBoundException e) {
182 } catch (java.lang.Exception e) {
183 throw new java.rmi.UnexpectedException("undeclared checked exception", e);