class ActivatableNormServerImpl extends NormServerBaseImpl
NormServerBaseImpl.InitException
Landlord.RenewResults
Modifier and Type | Field and Description |
---|---|
private ActivationID |
activationID
Our activation ID
|
private ActivationSystem |
activationSystem
The activation system, prepared
|
exporter, logger, loginContext, NORM, normProxy, persistenceDirectory, persistent, serverProxy
NO_LISTENER
Constructor and Description |
---|
ActivatableNormServerImpl(ActivationID activationID,
MarshalledObject data)
Provides a constructor for an activatable implementation of NormServer
suitable for use with
ServiceStarter . |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the service, if possible, including its persistent storage.
|
(package private) Exporter |
getExporter(Configuration config)
Returns the exporter to use to export this server.
|
(package private) void |
initAsSubject(Configuration config)
Common construction for activatable and non-activatable cases, run
under the proper Subject.
|
(package private) void |
postDestroy()
Method subclasses can override to perform any necessary post
log destruction cleanup.
|
addLookupAttributes, addLookupGroups, addLookupLocators, cancel, cancelAll, createLeaseRenewalSet, desiredExpirationReached, expireIfTime, getAdmin, getLeases, getLookupAttributes, getLookupGroups, getLookupLocators, getProxy, getProxyVerifier, getServiceProxy, init, initFailed, isolateSets, modifyLookupAttributes, newSendMonitor, newSetProxy, remove, removeLookupGroups, removeLookupLocators, renew, renewalFailure, renewAll, renewFor, restoreTransientState, sendWarningEvent, setExpirationWarningListener, setLookupGroups, setLookupLocators, setRenewalFailureListener, toString, unexport, updateLeaseCount, updatePerformed
private ActivationID activationID
private ActivationSystem activationSystem
ActivatableNormServerImpl(ActivationID activationID, MarshalledObject data) throws Exception
ServiceStarter
.activationID
- activation ID passed in by the activation daemondata
- state data needed to re-activate a Norm serverException
- if there is a problem creating the serverpublic void destroy() throws RemoteException
DestroyAdmin
destroy
in interface DestroyAdmin
destroy
in class NormServerBaseImpl
RemoteException
void postDestroy()
NormServerBaseImpl
postDestroy
in class NormServerBaseImpl
void initAsSubject(Configuration config) throws Exception
NormServerBaseImpl
initAsSubject
in class NormServerBaseImpl
Exception
Exporter getExporter(Configuration config) throws ConfigurationException
NormServerBaseImpl
getExporter
in class NormServerBaseImpl
config
- the configuration to use for supplying the exporterConfigurationException
- if a problem occurs retrieving entries
from the configurationCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.