Java 类java.rmi.activation.ActivationMonitor 实例源码

项目:OpenJSharp    文件:Activation.java   
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws ActivationException, UnknownGroupException, RemoteException
{
    checkShutdown();
    RegistryImpl.checkAccess("ActivationSystem.activeGroup");

    getGroupEntry(id).activeGroup(group, incarnation);
    return monitor;
}
项目:jdk8u-jdk    文件:Activation.java   
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws ActivationException, UnknownGroupException, RemoteException
{
    checkShutdown();
    RegistryImpl.checkAccess("ActivationSystem.activeGroup");

    getGroupEntry(id).activeGroup(group, incarnation);
    return monitor;
}
项目:openjdk-jdk10    文件:Activation.java   
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws ActivationException, UnknownGroupException, RemoteException
{
    checkShutdown();
    // RegistryImpl.checkAccess() is done in the SameHostOnlyServerRef
    // during unmarshallCustomData and is not applicable to local access.

    getGroupEntry(id).activeGroup(group, incarnation);
    return monitor;
}
项目:openjdk9    文件:Activation.java   
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws ActivationException, UnknownGroupException, RemoteException
{
    checkShutdown();
    RegistryImpl.checkAccess("ActivationSystem.activeGroup");

    getGroupEntry(id).activeGroup(group, incarnation);
    return monitor;
}
项目:jdk8u_jdk    文件:Activation.java   
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws ActivationException, UnknownGroupException, RemoteException
{
    checkShutdown();
    RegistryImpl.checkAccess("ActivationSystem.activeGroup");

    getGroupEntry(id).activeGroup(group, incarnation);
    return monitor;
}
项目:lookaside_java-1.8.0-openjdk    文件:Activation.java   
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws ActivationException, UnknownGroupException, RemoteException
{
    checkShutdown();
    // RegistryImpl.checkAccess() is done in the SameHostOnlyServerRef
    // during unmarshallCustomData and is not applicable to local access.

    getGroupEntry(id).activeGroup(group, incarnation);
    return monitor;
}
项目:javify    文件:ActivationSystemImpl.java   
/** @inheritDoc */
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws UnknownGroupException, ActivationException, RemoteException
{
  return super.activeGroup(id, group, incarnation);
}
项目:javify    文件:ActivationSystemTransient.java   
/**
 * Returns the activation monitor (THIS) and remebers the instantiator, used
 * by that group.
 */
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws UnknownGroupException, ActivationException, RemoteException
{
  groupInstantiators.put(id, group);
  return this;
}
项目:jvm-stm    文件:ActivationSystemImpl.java   
/** @inheritDoc */
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws UnknownGroupException, ActivationException, RemoteException
{
  return super.activeGroup(id, group, incarnation);
}
项目:jvm-stm    文件:ActivationSystemTransient.java   
/**
 * Returns the activation monitor (THIS) and remebers the instantiator, used
 * by that group.
 */
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws UnknownGroupException, ActivationException, RemoteException
{
  groupInstantiators.put(id, group);
  return this;
}
项目:infobip-open-jdk-8    文件:Activation.java   
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws ActivationException, UnknownGroupException, RemoteException
{
    checkShutdown();
    RegistryImpl.checkAccess("ActivationSystem.activeGroup");

    getGroupEntry(id).activeGroup(group, incarnation);
    return monitor;
}
项目:jdk8u-dev-jdk    文件:Activation.java   
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws ActivationException, UnknownGroupException, RemoteException
{
    checkShutdown();
    RegistryImpl.checkAccess("ActivationSystem.activeGroup");

    getGroupEntry(id).activeGroup(group, incarnation);
    return monitor;
}
项目:jdk7-jdk    文件:Activation.java   
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws ActivationException, UnknownGroupException, RemoteException
{
    checkShutdown();
    RegistryImpl.checkAccess("ActivationSystem.activeGroup");

    getGroupEntry(id).activeGroup(group, incarnation);
    return monitor;
}
项目:openjdk-source-code-learn    文件:Activation.java   
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws ActivationException, UnknownGroupException, RemoteException
{
    checkShutdown();
    RegistryImpl.checkAccess("ActivationSystem.activeGroup");

    getGroupEntry(id).activeGroup(group, incarnation);
    return monitor;
}
项目:OLD-OpenJDK8    文件:Activation.java   
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws ActivationException, UnknownGroupException, RemoteException
{
    checkShutdown();
    RegistryImpl.checkAccess("ActivationSystem.activeGroup");

    getGroupEntry(id).activeGroup(group, incarnation);
    return monitor;
}
项目:cn1    文件:Rmid.java   
public ActivationMonitor activeGroup(ActivationGroupID gID,
        ActivationInstantiator group, long incarnation)
        throws UnknownGroupException, ActivationException {
    waitStartup();
    // rmi.log.46=Rmid.activeGroup: {0}, {1}, {2}
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.46", //$NON-NLS-1$
            new Object[]{gID, group, incarnation}));
    // rmi.log.47=groupID2groupInfo_H = {0}
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.47", //$NON-NLS-1$
            groupInfoByGroupId));

    ActivationGroupInfo agi = (ActivationGroupInfo) groupInfoByGroupId
            .get(gID);
    // rmi.log.48=Rmid.activeGroup group info =  {0}
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.48", agi));//$NON-NLS-1$


    if (agi == null) {
        // rmi.2F=Group is not registered: {0}
        throw new UnknownGroupException(Messages.getString("rmi.2F", gID)); //$NON-NLS-1$
    } else if (agi.isActive()) {
        // rmi.30=Group is already active: {0}
        throw new ActivationException(Messages.getString("rmi.30", gID)); //$NON-NLS-1$
    }

    // rmi.log.49=ready to execute agi.active()
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.49")); //$NON-NLS-1$

    agi.active(group, incarnation);
    // rmi.log.4A=Rmid.activeGroup finished.
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.4A")); //$NON-NLS-1$

    return this;
}
项目:JamVM-PH    文件:ActivationSystemImpl.java   
/** @inheritDoc */
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws UnknownGroupException, ActivationException, RemoteException
{
  return super.activeGroup(id, group, incarnation);
}
项目:JamVM-PH    文件:ActivationSystemTransient.java   
/**
 * Returns the activation monitor (THIS) and remebers the instantiator, used
 * by that group.
 */
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws UnknownGroupException, ActivationException, RemoteException
{
  groupInstantiators.put(id, group);
  return this;
}
项目:openjdk-jdk7u-jdk    文件:Activation.java   
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws ActivationException, UnknownGroupException, RemoteException
{
    checkShutdown();
    RegistryImpl.checkAccess("ActivationSystem.activeGroup");

    getGroupEntry(id).activeGroup(group, incarnation);
    return monitor;
}
项目:classpath    文件:ActivationSystemImpl.java   
/** @inheritDoc */
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws UnknownGroupException, ActivationException, RemoteException
{
  return super.activeGroup(id, group, incarnation);
}
项目:classpath    文件:ActivationSystemTransient.java   
/**
 * Returns the activation monitor (THIS) and remebers the instantiator, used
 * by that group.
 */
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws UnknownGroupException, ActivationException, RemoteException
{
  groupInstantiators.put(id, group);
  return this;
}
项目:freeVM    文件:Rmid.java   
public ActivationMonitor activeGroup(ActivationGroupID gID,
        ActivationInstantiator group, long incarnation)
        throws UnknownGroupException, ActivationException {
    waitStartup();
    // rmi.log.46=Rmid.activeGroup: {0}, {1}, {2}
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.46", //$NON-NLS-1$
            new Object[]{gID, group, incarnation}));
    // rmi.log.47=groupID2groupInfo_H = {0}
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.47", //$NON-NLS-1$
            groupInfoByGroupId));

    ActivationGroupInfo agi = (ActivationGroupInfo) groupInfoByGroupId
            .get(gID);
    // rmi.log.48=Rmid.activeGroup group info =  {0}
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.48", agi));//$NON-NLS-1$


    if (agi == null) {
        // rmi.2F=Group is not registered: {0}
        throw new UnknownGroupException(Messages.getString("rmi.2F", gID)); //$NON-NLS-1$
    } else if (agi.isActive()) {
        // rmi.30=Group is already active: {0}
        throw new ActivationException(Messages.getString("rmi.30", gID)); //$NON-NLS-1$
    }

    // rmi.log.49=ready to execute agi.active()
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.49")); //$NON-NLS-1$

    agi.active(group, incarnation);
    // rmi.log.4A=Rmid.activeGroup finished.
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.4A")); //$NON-NLS-1$

    return this;
}
项目:freeVM    文件:Rmid.java   
public ActivationMonitor activeGroup(ActivationGroupID gID,
        ActivationInstantiator group, long incarnation)
        throws UnknownGroupException, ActivationException {
    waitStartup();
    // rmi.log.46=Rmid.activeGroup: {0}, {1}, {2}
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.46", //$NON-NLS-1$
            new Object[]{gID, group, incarnation}));
    // rmi.log.47=groupID2groupInfo_H = {0}
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.47", //$NON-NLS-1$
            groupInfoByGroupId));

    ActivationGroupInfo agi = (ActivationGroupInfo) groupInfoByGroupId
            .get(gID);
    // rmi.log.48=Rmid.activeGroup group info =  {0}
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.48", agi));//$NON-NLS-1$


    if (agi == null) {
        // rmi.2F=Group is not registered: {0}
        throw new UnknownGroupException(Messages.getString("rmi.2F", gID)); //$NON-NLS-1$
    } else if (agi.isActive()) {
        // rmi.30=Group is already active: {0}
        throw new ActivationException(Messages.getString("rmi.30", gID)); //$NON-NLS-1$
    }

    // rmi.log.49=ready to execute agi.active()
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.49")); //$NON-NLS-1$

    agi.active(group, incarnation);
    // rmi.log.4A=Rmid.activeGroup finished.
    rLog.log(commonDebugLevel, Messages.getString("rmi.log.4A")); //$NON-NLS-1$

    return this;
}
项目:openjdk-icedtea7    文件:Activation.java   
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws ActivationException, UnknownGroupException, RemoteException
{
    checkShutdown();
    RegistryImpl.checkAccess("ActivationSystem.activeGroup");

    getGroupEntry(id).activeGroup(group, incarnation);
    return monitor;
}
项目:freeVM    文件:ActivationGroupIDTest.java   
public ActivationMonitor activeGroup(ActivationGroupID gID,
        ActivationInstantiator aInst, long incarnation)
        throws UnknownGroupException, ActivationException,
        RemoteException {
    return null;
}
项目:freeVM    文件:TestActivationGroup.java   
public ActivationMonitor activeGroup(ActivationGroupID arg0, ActivationInstantiator arg1, long arg2) throws UnknownGroupException, ActivationException, RemoteException {

        return null;
    }