01: /*
02: * RMI stub class
03: * for class java.rmi.activation.ActivationGroup
04: * Compatible with stub protocol version 1.2
05: *
06: * Generated by DRL RMI Compiler (rmic).
07: *
08: * DO NOT EDIT!!!
09: * Contents subject to change without notice!
10: */
11: package java.rmi.activation;
12:
13: import org.apache.harmony.rmi.internal.nls.Messages;
14:
15: public final class ActivationGroup_Stub extends
16: java.rmi.server.RemoteStub implements
17: java.rmi.activation.ActivationInstantiator, java.rmi.Remote {
18:
19: private static final long serialVersionUID = 2;
20:
21: private static java.lang.reflect.Method $method_newInstance_0;
22:
23: static {
24: try {
25: $method_newInstance_0 = java.rmi.activation.ActivationInstantiator.class
26: .getMethod(
27: "newInstance", new java.lang.Class[] { java.rmi.activation.ActivationID.class, java.rmi.activation.ActivationDesc.class }); //$NON-NLS-1$
28: } catch (java.lang.NoSuchMethodException e) {
29: // rmi.0B=Stub class initialization failed: java.rmi.activation.ActivationGroup_Stub
30: throw new java.lang.NoSuchMethodError(Messages
31: .getString("rmi.0B")); //$NON-NLS-1$
32: }
33: }
34:
35: public ActivationGroup_Stub(java.rmi.server.RemoteRef ref) {
36: super (ref);
37: }
38:
39: // Implementation of newInstance(ActivationID, ActivationDesc)
40: public java.rmi.MarshalledObject newInstance(
41: java.rmi.activation.ActivationID $param_ActivationID_1,
42: java.rmi.activation.ActivationDesc $param_ActivationDesc_2)
43: throws java.rmi.activation.ActivationException,
44: java.rmi.RemoteException {
45: try {
46: java.lang.Object $result = ref.invoke(this ,
47: $method_newInstance_0, new java.lang.Object[] {
48: $param_ActivationID_1,
49: $param_ActivationDesc_2 },
50: -5274445189091581345L);
51: return ((java.rmi.MarshalledObject) $result);
52: } catch (java.lang.RuntimeException e) {
53: throw e;
54: } catch (java.rmi.RemoteException e) {
55: throw e;
56: } catch (java.rmi.activation.ActivationException e) {
57: throw e;
58: } catch (java.lang.Exception e) {
59: // rmi.0C=Undeclared checked exception
60: throw new java.rmi.UnexpectedException(Messages
61: .getString("rmi.0C"), e); //$NON-NLS-1$
62: }
63: }
64: }
|