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
.ref
Constructor and Description |
---|
ActivationGroup_Stub(RemoteRef ref)
Constructs a stub for the
ActivationGroup class. |
Modifier and Type | Method and Description |
---|---|
MarshalledObject |
newInstance(ActivationID id,
ActivationDesc desc)
Stub method for
ActivationGroup.newInstance . |
setRef
public ActivationGroup_Stub(RemoteRef ref)
ActivationGroup
class. It
invokes the superclass RemoteStub(RemoteRef)
constructor with its argument, ref
.ref
- a remote refpublic MarshalledObject newInstance(ActivationID id, ActivationDesc desc) throws RemoteException, ActivationException
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.newInstance
in interface ActivationInstantiator
id
- an activation identifierdesc
- an activation descriptorRemoteException
- if invocation results in
a RemoteException
ActivationException
- if invocation
results in an ActivationException
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b138