class Activation.SystemImpl extends AbstractSystem implements ServerProxyTrust
SYSTEM_PORT
Constructor and Description |
---|
Activation.SystemImpl() |
public ActivationID registerObject(ActivationDesc desc) throws ActivationException
registerObject
in interface ActivationSystem
ActivationException
public void unregisterObject(ActivationID id) throws ActivationException
unregisterObject
in interface ActivationSystem
ActivationException
public ActivationGroupID registerGroup(ActivationGroupDesc desc) throws ActivationException
registerGroup
in interface ActivationSystem
ActivationException
public ActivationMonitor activeGroup(ActivationGroupID id, ActivationInstantiator group, long incarnation) throws ActivationException, RemoteException
activeGroup
in interface ActivationSystem
ActivationException
RemoteException
public void unregisterGroup(ActivationGroupID id) throws ActivationException
unregisterGroup
in interface ActivationSystem
ActivationException
public ActivationDesc setActivationDesc(ActivationID id, ActivationDesc desc) throws ActivationException
setActivationDesc
in interface ActivationSystem
ActivationException
public ActivationGroupDesc setActivationGroupDesc(ActivationGroupID id, ActivationGroupDesc desc) throws ActivationException
setActivationGroupDesc
in interface ActivationSystem
ActivationException
public ActivationDesc getActivationDesc(ActivationID id) throws UnknownObjectException
getActivationDesc
in interface ActivationSystem
UnknownObjectException
public ActivationGroupDesc getActivationGroupDesc(ActivationGroupID id) throws UnknownGroupException
getActivationGroupDesc
in interface ActivationSystem
UnknownGroupException
public void shutdown()
shutdown
in interface ActivationSystem
public Map getActivationGroups()
ActivationAdmin
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.getActivationGroups
in interface ActivationAdmin
ActivationGroupID
to
ActivationGroupDesc
for all registered activation groupspublic Map getActivatableObjects(ActivationGroupID id) throws UnknownGroupException
ActivationAdmin
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.getActivatableObjects
in interface ActivationAdmin
id
- activation group identifierActivationID
to
ActivationDesc
for all activatable objects registered in
the group registered under the specified activation group identifierUnknownGroupException
- if no group is registered under the
specified activation group identifierpublic TrustVerifier getProxyVerifier()
ServerProxyTrust
TrustVerifier
that can be used to verify that
a proxy can be trusted as a proxy for the service; that is, the
isTrustedObject
method of the
returned verifier can be called with a candidate proxy. The verifier
should be able to verify all proxies for the service, including
proxies for resources (such as leases and registrations).getProxyVerifier
in interface ServerProxyTrust
TrustVerifier
that can be used to verify that
a proxy can be trusted as a proxy for the serviceCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.