Class ActivationGroup_Stub
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteStub
-
- java.rmi.activation.ActivationGroup_Stub
- All Implemented Interfaces:
-
Serializable
,ActivationInstantiator
,Remote
public final class ActivationGroup_Stub extends RemoteStub implements ActivationInstantiator, Remote
ActivationGroup_Stub
is a stub class for the subclasses of java.rmi.activation.ActivationGroup
that are exported as a java.rmi.server.UnicastRemoteObject
.
- Since:
- 1.2
- See Also:
- Serialized Form
Fields
Fields declared in class java.rmi.server.RemoteObject
ref
Constructors
Constructor | Description |
---|---|
ActivationGroup_Stub(RemoteRef ref) | Constructs a stub for the |
Methods
Modifier and Type | Method | Description |
---|---|---|
MarshalledObject | newInstance(ActivationID id,
ActivationDesc desc) | Stub method for |
Methods declared in class java.rmi.server.RemoteStub
setRef
Methods declared in class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
Methods declared in class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Constructors
ActivationGroup_Stub
public ActivationGroup_Stub(RemoteRef ref)
Constructs a stub for the ActivationGroup
class. It invokes the superclass RemoteStub(RemoteRef)
constructor with its argument, ref
.
- Parameters:
-
ref
- a remote ref
Methods
newInstance
public MarshalledObject newInstance(ActivationID id, ActivationDesc desc) throws RemoteException, ActivationException
Stub method for ActivationGroup.newInstance
. Invokes the invoke
method on this instance's RemoteObject.ref
field, with this
as the first argument, a two-element Object[]
as the second argument (with id
as the first element and desc
as the second element), and -5274445189091581345L as the third argument, and returns the result. If that invocation throws a RuntimeException
, RemoteException
, or an ActivationException
, then that exception is thrown to the caller. If that invocation throws any other java.lang.Exception
, then a java.rmi.UnexpectedException
is thrown to the caller with the original exception as the cause.
- Specified by:
-
newInstance
in interfaceActivationInstantiator
- Parameters:
-
id
- an activation identifier -
desc
- an activation descriptor - Returns:
- the result of the invocation
- Throws:
-
RemoteException
- if invocation results in aRemoteException
-
ActivationException
- if invocation results in anActivationException
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.rmi/java/rmi/activation/ActivationGroup_Stub.html