Package Summary  Overview Summary

class:ActivationGroup_Stub [NONE]

constructor:<init>(java.rmi.server.RemoteRef) [NONE]

  • ActivationGroup_Stub

    public ActivationGroup_Stub​(RemoteRef ref)
    Constructs a stub for the ActivationGroup class. It invokes the superclass RemoteStub(RemoteRef) constructor with its argument, ref.
    Parameters:
    ref - a remote ref

method:newInstance(java.rmi.activation.ActivationID,java.rmi.activation.ActivationDesc) [NONE]

  • newInstance

    public MarshalledObject newInstance​(ActivationID id,
                                        ActivationDesc desc)
                                 throws RemoteException,
                                        ActivationException
    
    Stub method for 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.
    Specified by:
    newInstance in interface ActivationInstantiator
    Parameters:
    id - an activation identifier
    desc - an activation descriptor
    Returns:
    the result of the invocation
    Throws:
    RemoteException - if invocation results in a RemoteException
    ActivationException - if invocation results in an ActivationException

© 2019 Oracle Corporation and/or its affiliates