本文整理汇总了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;
}
示例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;
}
示例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);
}
示例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;
}
示例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;
}
示例6: activeGroup
import java.rmi.activation.ActivationMonitor; //导入依赖的package包/类
public ActivationMonitor activeGroup(ActivationGroupID gID,
ActivationInstantiator aInst, long incarnation)
throws UnknownGroupException, ActivationException,
RemoteException {
return null;
}
示例7: activeGroup
import java.rmi.activation.ActivationMonitor; //导入依赖的package包/类
public ActivationMonitor activeGroup(ActivationGroupID arg0, ActivationInstantiator arg1, long arg2) throws UnknownGroupException, ActivationException, RemoteException {
return null;
}