当前位置: 首页>>代码示例>>Java>>正文


Java ActivationMonitor类代码示例

本文整理汇总了Java中java.rmi.activation.ActivationMonitor的典型用法代码示例。如果您正苦于以下问题:Java ActivationMonitor类的具体用法?Java ActivationMonitor怎么用?Java ActivationMonitor使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ActivationMonitor类属于java.rmi.activation包,在下文中一共展示了ActivationMonitor类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: activeGroup

import java.rmi.activation.ActivationMonitor; //导入依赖的package包/类
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;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:12,代码来源:Activation.java

示例2: activeGroup

import java.rmi.activation.ActivationMonitor; //导入依赖的package包/类
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;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:13,代码来源:Activation.java

示例3: activeGroup

import java.rmi.activation.ActivationMonitor; //导入依赖的package包/类
/** @inheritDoc */
public ActivationMonitor activeGroup(ActivationGroupID id,
                                     ActivationInstantiator group,
                                     long incarnation)
    throws UnknownGroupException, ActivationException, RemoteException
{
  return super.activeGroup(id, group, incarnation);
}
 
开发者ID:vilie,项目名称:javify,代码行数:9,代码来源:ActivationSystemImpl.java

示例4: activeGroup

import java.rmi.activation.ActivationMonitor; //导入依赖的package包/类
/**
 * 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;
}
 
开发者ID:vilie,项目名称:javify,代码行数:13,代码来源:ActivationSystemTransient.java

示例5: activeGroup

import java.rmi.activation.ActivationMonitor; //导入依赖的package包/类
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;
}
 
开发者ID:shannah,项目名称:cn1,代码行数:35,代码来源:Rmid.java

示例6: activeGroup

import java.rmi.activation.ActivationMonitor; //导入依赖的package包/类
public ActivationMonitor activeGroup(ActivationGroupID gID,
		ActivationInstantiator aInst, long incarnation)
		throws UnknownGroupException, ActivationException,
		RemoteException {
	return null;
}
 
开发者ID:freeVM,项目名称:freeVM,代码行数:7,代码来源:ActivationGroupIDTest.java

示例7: activeGroup

import java.rmi.activation.ActivationMonitor; //导入依赖的package包/类
public ActivationMonitor activeGroup(ActivationGroupID arg0, ActivationInstantiator arg1, long arg2) throws UnknownGroupException, ActivationException, RemoteException {

		return null;
	}
 
开发者ID:freeVM,项目名称:freeVM,代码行数:5,代码来源:TestActivationGroup.java


注:本文中的java.rmi.activation.ActivationMonitor类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。