class ActivatableNormServerImpl extends NormServerBaseImpl
Modifier and Type | Class and Description |
---|---|
private static class |
ActivatableNormServerImpl.Init |
NormServerBaseImpl.InitException, NormServerBaseImpl.RenewLogThread, NormServerBaseImpl.SnapshotThread
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
Modifier | Constructor and Description |
---|---|
(package private) |
ActivatableNormServerImpl(ActivationID activationID,
MarshalledObject data)
Provides a constructor for an activatable implementation of NormServer
suitable for use with
ServiceStarter . |
private |
ActivatableNormServerImpl(NormServerInitializer init) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the service, if possible, including its persistent storage.
|
private static String[] |
getConfigOptions(ActivationID activationID,
MarshalledObject data) |
(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, start, toString, unexport, updateLeaseCount, updatePerformed
private final ActivationID activationID
private final 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 serverprivate ActivatableNormServerImpl(NormServerInitializer init)
public void destroy() throws RemoteException
DestroyAdmin
destroy
in interface DestroyAdmin
destroy
in class NormServerBaseImpl
RemoteException
void postDestroy()
NormServerBaseImpl
postDestroy
in class NormServerBaseImpl
private static String[] getConfigOptions(ActivationID activationID, MarshalledObject data) throws Exception
Exception
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.