1 19 package org.apache.cayenne.access; 20 21 import java.util.Map ; 22 23 import org.apache.cayenne.DataChannel; 24 import org.apache.cayenne.ObjectContext; 25 import org.apache.cayenne.ObjectContextFactory; 26 27 34 class DefaultObjectContextFactory implements ObjectContextFactory { 35 36 protected DataDomain domain; 37 38 DefaultObjectContextFactory(DataDomain domain) { 39 this.domain = domain; 40 } 41 42 public ObjectContext createObjectContext(Map properties) { 43 return createObjectContext(domain, properties); 44 } 45 46 public ObjectContext createObjectContext(DataChannel parent, Map properties) { 47 return null; 48 } 49 50 } 51 | Popular Tags |