- 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 ofjava.rmi.activation.ActivationGroup
that are exported as ajava.rmi.server.UnicastRemoteObject
.- Since:
- 1.2
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor and Description ActivationGroup_Stub(RemoteRef ref)
Constructs a stub for theActivationGroup
class.
-
Method Summary
Methods Modifier and Type Method and Description MarshalledObject
newInstance(ActivationID id, ActivationDesc desc)
Stub method forActivationGroup.newInstance
.-
Methods inherited from class java.rmi.server.RemoteStub
setRef
-
-
-
-
Constructor Detail
-
ActivationGroup_Stub
public ActivationGroup_Stub(RemoteRef ref)
Constructs a stub for theActivationGroup
class. It invokes the superclassRemoteStub(RemoteRef)
constructor with its argument,ref
.- Parameters:
ref
- a remote ref
-
-
Method Detail
-
newInstance
public MarshalledObject newInstance(ActivationID id, ActivationDesc desc) throws RemoteException, ActivationException
Stub method forActivationGroup.newInstance
. Invokes theinvoke
method on this instance'sRemoteObject.ref
field, withthis
as the first argument, a two-elementObject[]
as the second argument (withid
as the first element anddesc
as the second element), and -5274445189091581345L as the third argument, and returns the result. If that invocation throws aRuntimeException
,RemoteException
, or anActivationException
, then that exception is thrown to the caller. If that invocation throws any otherjava.lang.Exception
, then ajava.rmi.UnexpectedException
is thrown to the caller with the original exception as the cause.- Specified by:
newInstance
in interfaceActivationInstantiator
- Parameters:
id
- an activation identifierdesc
- an activation descriptor- Returns:
- the result of the invocation
- Throws:
RemoteException
- if invocation results in aRemoteException
ActivationException
- if invocation results in anActivationException
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-java/rmi/activation/ActivationGroup_Stub.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.