|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.norm.NormServerBaseImpl
com.sun.jini.norm.ActivatableNormServerImpl
class ActivatableNormServerImpl
Provides an activatable implementation of NormServer.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.jini.norm.NormServerBaseImpl |
---|
NormServerBaseImpl.InitException |
Nested classes/interfaces inherited from interface com.sun.jini.landlord.Landlord |
---|
Landlord.RenewResults |
Field Summary | |
---|---|
private ActivationID |
activationID
Our activation ID |
private ActivationSystem |
activationSystem
The activation system, prepared |
Fields inherited from class com.sun.jini.norm.NormServerBaseImpl |
---|
exporter, logger, loginContext, NORM, normProxy, persistenceDirectory, persistent, serverProxy |
Fields inherited from interface com.sun.jini.norm.NormServer |
---|
NO_LISTENER |
Constructor Summary | |
---|---|
ActivatableNormServerImpl(ActivationID activationID,
MarshalledObject data)
Provides a constructor for an activatable implementation of NormServer suitable for use with ServiceStarter . |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private ActivationID activationID
private ActivationSystem activationSystem
Constructor Detail |
---|
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 server
Exception
- if there is a problem creating the serverMethod Detail |
---|
public 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 exporter
ConfigurationException
- if a problem occurs retrieving entries
from the configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |