1 19 20 package org.netbeans.modules.j2ee.persistenceapi; 21 22 import org.netbeans.modules.j2ee.persistence.api.PersistenceScope; 23 import org.netbeans.modules.j2ee.persistence.spi.PersistenceScopeImplementation; 24 25 29 public abstract class PersistenceScopeAccessor { 30 31 public static PersistenceScopeAccessor DEFAULT; 32 33 static { 34 Class c = PersistenceScope.class; 35 try { 36 Class.forName(c.getName(), true, c.getClassLoader()); 37 } catch (Exception ex) { 38 ex.printStackTrace(); 41 } 42 } 43 44 public abstract PersistenceScope createPersistenceScope(PersistenceScopeImplementation impl); 45 } 46 | Popular Tags |