|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.jsb.ServiceBeanContextManager
public class ServiceBeanContextManager
Manages a persistent ServiceBeanContext
| Nested Class Summary | |
|---|---|
class |
ServiceBeanContextManager.ContextAttributeLogHandler
Class which implements methods needed to meet the LogHandler interface |
| Constructor Summary | |
|---|---|
ServiceBeanContextManager(ServiceBeanContext context)
Create a ServiceBeanContextManager |
|
| Method Summary | |
|---|---|
ServiceBeanContextManager.ContextAttributeLogHandler |
getContextAttributeLogHandler()
Get the ContextAttributeLogHandler object for this
ServiceBeanContextManager |
ServiceBeanContext |
restoreContext(PersistentStore store)
Set the PersistentStore to use for persisting the state of
this service. |
void |
takeSnapshot(DiscoveryManagement dm)
Delegates the snapshot to the ContextAttributeLogHandler |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceBeanContextManager(ServiceBeanContext context)
context - ServiceBeanContext| Method Detail |
|---|
public ServiceBeanContextManager.ContextAttributeLogHandler getContextAttributeLogHandler()
ContextAttributeLogHandler object for this
ServiceBeanContextManager
public void takeSnapshot(DiscoveryManagement dm)
throws Exception
ContextAttributeLogHandler
dm - the DiscoveryManagement for the service
Exception - can raise any exception
public ServiceBeanContext restoreContext(PersistentStore store)
throws StoreException
PersistentStore to use for persisting the state of
this service. If there is a log directory that already exists at this
location the persisted ServiceBeanContext state will be
retrieved and returned.
store - The PersistentStore
null if there
is no context found
StoreException - If the context cannot be restored
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||