ActivationGroup_Stub (Java SE 10 & JDK 10 )
- 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_Stubis a stub class for the subclasses ofjava.rmi.activation.ActivationGroupthat are exported as ajava.rmi.server.UnicastRemoteObject.- Since:
- 1.2
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields declared in class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor Description ActivationGroup_Stub(RemoteRef ref)Constructs a stub for the
ActivationGroupclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MarshalledObjectnewInstance(ActivationID id, ActivationDesc desc)Stub method for
ActivationGroup.newInstance.-
Methods declared in class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods declared in class java.rmi.server.RemoteStub
setRef
-
-
-
-
Constructor Detail
-
ActivationGroup_Stub
public ActivationGroup_Stub(RemoteRef ref)
Constructs a stub for the
ActivationGroupclass. 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 for
ActivationGroup.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
-
-
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2018, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.