Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.rmi.server.RemoteObject java.rmi.server.RemoteStub java.rmi.activation.ActivationGroup_Stub
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
.
Modifier and Type | Field and Description |
---|
Fields inherited from class java.rmi.server.RemoteObject |
---|
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 . |
Methods inherited from class java.rmi.server.RemoteStub |
---|
setRef |
Methods inherited from class java.rmi.server.RemoteObject |
---|
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActivationGroup_Stub(RemoteRef ref)
ActivationGroup
class. It
invokes the superclass RemoteStub(RemoteRef)
constructor with its argument, ref
.
ref
- a remote refMethod Detail |
---|
public 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
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.