hep.aida.ref.remote.rmi.client
Class RmiMutableStore
java.lang.Object
hep.aida.ref.remote.RemoteMutableStore
hep.aida.ref.remote.rmi.client.RmiMutableStore
- All Implemented Interfaces:
- AidaUpdatable, IDevMutableStore, IMutableStore, IOnDemandStore, IStore
- public class RmiMutableStore
- extends RemoteMutableStore
- Author:
- serbo
- Source Code:
- RmiMutableStore.java
Constructor Summary |
RmiMutableStore()
Creates a new instance of RmiMutableStore |
Methods inherited from class hep.aida.ref.remote.RemoteMutableStore |
commit, executeStateChanged, executeStateChanged, handleDataUpdate, handleDataUpdate, isReadOnly, main, read, read, reloadFolder, reloadWebPage, setHurry, stateChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RmiMutableStore
public RmiMutableStore()
- Creates a new instance of RmiMutableStore
init
public void init()
- Overrides:
init
in class RemoteMutableStore
createClient
protected RemoteClient createClient(Map options)
- Specified by:
createClient
in class RemoteMutableStore
createObject
public hep.aida.IManagedObject createObject(String name,
String aidaType)
throws IllegalArgumentException
- Description copied from interface:
IDevMutableStore
- Create an IManagedObject that can be later updated.
If object already exist, do not overwrite it, just
return with, maybe, a warning.
- Specified by:
createObject
in interface IDevMutableStore
- Specified by:
createObject
in class RemoteMutableStore
- Throws:
IllegalArgumentException
updateData
public void updateData(String path,
String aidaType)
throws IllegalArgumentException
- Description copied from interface:
IDevMutableStore
- Initiates the process of updating content for an IManagedObject.
Can be done synchronously or can just schedule update in some queue.
If validation mechanism is used for updates, servant's "setValid(path)"
method should be called here after successfull date update.
- Specified by:
updateData
in interface IDevMutableStore
- Specified by:
updateData
in class RemoteMutableStore
- Throws:
IllegalArgumentException
close
public void close()
throws IOException
- Description copied from interface:
IStore
- Close Store and free all resources associated with it.
Should be called from ITree.close() method only.
After the Store is closed, the Tree associated with it becomes unusable.
- Specified by:
close
in interface IStore
- Overrides:
close
in class RemoteMutableStore
- Throws:
IOException
Copyright © 2000-2004 FreeHEP, All Rights Reserved.