protected void addSharedObject(ISharedObjectManager mgr, ID id, Object data, String updaterID) throws SharedObjectCreateException {
HashMap props = new HashMap(2);
props.put(INITIAL_DATA_KEY, data);
props.put(MODEL_UPDATER_KEY, updaterID);
try {
mgr.addSharedObject(id, new LocalAgent(), props);
} catch (SharedObjectAddException e) {
throw new SharedObjectCreateException(e);
}
}