com.sun.jini.phoenix
Class SystemAccessExporter.SystemImpl
java.lang.Object
com.sun.jini.phoenix.AbstractSystem
com.sun.jini.phoenix.SystemAccessExporter.SystemImpl
- All Implemented Interfaces:
- ActivationAdmin, ActivationSystem, Remote
- Enclosing class:
- SystemAccessExporter
private static class SystemAccessExporter.SystemImpl
- extends AbstractSystem
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
impl
private final ActivationSystem impl
policy
private final GroupPolicy policy
SystemAccessExporter.SystemImpl
SystemAccessExporter.SystemImpl(ActivationSystem impl,
GroupPolicy policy)
registerObject
public ActivationID registerObject(ActivationDesc desc)
throws ActivationException,
RemoteException
- Throws:
ActivationException
RemoteException
unregisterObject
public void unregisterObject(ActivationID id)
throws ActivationException,
RemoteException
- Throws:
ActivationException
RemoteException
registerGroup
public ActivationGroupID registerGroup(ActivationGroupDesc desc)
throws ActivationException,
RemoteException
- Throws:
ActivationException
RemoteException
activeGroup
public ActivationMonitor activeGroup(ActivationGroupID id,
ActivationInstantiator group,
long incarnation)
throws ActivationException,
RemoteException
- Throws:
ActivationException
RemoteException
unregisterGroup
public void unregisterGroup(ActivationGroupID id)
throws ActivationException,
RemoteException
- Throws:
ActivationException
RemoteException
setActivationDesc
public ActivationDesc setActivationDesc(ActivationID id,
ActivationDesc desc)
throws ActivationException,
RemoteException
- Throws:
ActivationException
RemoteException
setActivationGroupDesc
public ActivationGroupDesc setActivationGroupDesc(ActivationGroupID id,
ActivationGroupDesc desc)
throws ActivationException,
RemoteException
- Throws:
ActivationException
RemoteException
getActivationDesc
public ActivationDesc getActivationDesc(ActivationID id)
throws ActivationException,
RemoteException
- Throws:
ActivationException
RemoteException
getActivationGroupDesc
public ActivationGroupDesc getActivationGroupDesc(ActivationGroupID id)
throws ActivationException,
RemoteException
- Throws:
ActivationException
RemoteException
shutdown
public void shutdown()
throws RemoteException
- Throws:
RemoteException
getActivationGroups
public Map getActivationGroups()
throws RemoteException
- Description copied from interface:
ActivationAdmin
- Returns a map from
ActivationGroupID
to
ActivationGroupDesc
for all registered
activation groups. The map contains a snapshot of the state at
the time of the call; subsequent state changes are not reflected
in the map, nor do changes in the map cause changes in the state
of the activation system daemon.
- Returns:
- a map from
ActivationGroupID
to
ActivationGroupDesc
for all registered activation groups
- Throws:
RemoteException
- if a communication-related exception occurs
getActivatableObjects
public Map getActivatableObjects(ActivationGroupID id)
throws UnknownGroupException,
RemoteException
- Description copied from interface:
ActivationAdmin
- Returns a map from
ActivationID
to
ActivationDesc
for all activatable objects
registered in the group registered under the specified activation
group identifier. The map contains a snapshot of the state at
the time of the call; subsequent state changes are not reflected
in the map, nor do changes in the map cause changes in the state
of the activation system daemon.
- Parameters:
id
- activation group identifier
- Returns:
- a map from
ActivationID
to
ActivationDesc
for all activatable objects registered in
the group registered under the specified activation group identifier
- Throws:
UnknownGroupException
- if no group is registered under the
specified activation group identifier
RemoteException
- if a communication-related exception occurs
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.