java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteStub
java.rmi.activation.ActivationGroup_Stub
- All Implemented Interfaces:
Serializable,ActivationInstantiator,Remote
@Deprecated(forRemoval=true,
since="15")
public final class ActivationGroup_Stub
extends RemoteStub
implements ActivationInstantiator, Remote
Deprecated, for removal: This API element is subject to removal in a future version.
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
-
Field Summary
Fields declared in class java.rmi.server.RemoteObject
ref -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Constructs a stub for theActivationGroupclass. -
Method Summary
Modifier and TypeMethodDescriptionnewInstance(ActivationID id, ActivationDesc desc)Deprecated, for removal: This API element is subject to removal in a future version.Stub method forActivationGroup.newInstance.Methods declared in class java.rmi.server.RemoteStub
setRef
-
Constructor Details
-
ActivationGroup_Stub
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a stub for theActivationGroupclass. It invokes the superclassRemoteStub(RemoteRef)constructor with its argument,ref.- Parameters:
ref- a remote ref
-
-
Method Details
-
newInstance
public MarshalledObject newInstance(ActivationID id, ActivationDesc desc) throws RemoteException, ActivationExceptionDeprecated, for removal: This API element is subject to removal in a future version.Stub method forActivationGroup.newInstance. Invokes theinvokemethod on this instance'sRemoteObject.reffield, withthisas the first argument, a two-elementObject[]as the second argument (withidas the first element anddescas 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.UnexpectedExceptionis thrown to the caller with the original exception as the cause.- Specified by:
newInstancein interfaceActivationInstantiator- Parameters:
id- an activation identifierdesc- an activation descriptor- Returns:
- the result of the invocation
- Throws:
RemoteException- if invocation results in aRemoteExceptionActivationException- if invocation results in anActivationException
-
java.rmi.activationpackage specification for further information.