Exemple #1
0
 protected void recreateAdapters() {
   for (final ObjectSpecId noSpec : persistedObjects.specifications()) {
     if (LOG.isDebugEnabled()) {
       LOG.debug("recreating adapters for: " + noSpec.asString());
     }
     recreateAdapters(persistedObjects.instancesFor(noSpec));
   }
 }
Exemple #2
0
 @Override
 public void debugData(final DebugBuilder debug) {
   debug.appendTitle("Domain Objects");
   for (final ObjectSpecId specId : persistedObjects.specifications()) {
     debug.appendln(specId.asString());
     final ObjectStoreInstances instances = instancesFor(specId);
     instances.debugData(debug);
   }
   debug.unindent();
   debug.appendln();
 }
Exemple #3
0
 private ObjectStoreInstances instancesFor(final ObjectSpecId spec) {
   return persistedObjects.instancesFor(spec);
 }
Exemple #4
0
 @Override
 public void registerService(final RootOid rootOid) {
   persistedObjects.registerService(rootOid.getObjectSpecId(), rootOid);
 }
Exemple #5
0
 @Override
 public RootOid getOidForService(ObjectSpecification serviceSpec) {
   return (RootOid) persistedObjects.getService(serviceSpec.getSpecId());
 }