Retrieve a registered runtime object

  1. Invoke RuntimeStore.get() and provide as a parameter the runtime object ID.
  2. Create a try/catch block to manage the ControlledAccessException that get() throws if the application does not have read access to the specified runtime object.
    RuntimeStore store = RuntimeStore.getRuntimeStore();
    try {
    Object obj = store.get(0x60ac754bc0867248L);
    } catch(ControlledAccessException e) {
    }

Was this information helpful? Send us your comments.