- Timestamp:
- 01/09/13 00:09:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/main/src/main/java/com/framsticks/hosting/ServerInstance.java
r77 r78 30 30 31 31 @Override 32 protected void configure() {32 protected void configure() throws Exception { 33 33 super.configure(); 34 34 35 Parameters p = new Parameters(config.subset("hosted.entity"), "hosted", this );35 Parameters p = new Parameters(config.subset("hosted.entity"), "hosted", this, null); 36 36 hosted = Program.configureEntity(p); 37 37 if (hosted == null) { … … 49 49 return null; 50 50 } 51 if (infoCache.containsKey(id)) { 52 return infoCache.get(id); 51 FramsClass cached = registry.getInfoFromCache(id); 52 if (cached != null) { 53 return cached; 53 54 } 54 55 try { … … 56 57 FramsClass framsClass = new FramsClass.Constructor(nativeClass, id).getResult(); 57 58 58 regist erReflectedClass(id, nativeClass);59 putInfoIntoCache(framsClass);59 registry.registerReflectedClass(null, id, nativeClass); 60 registry.putInfoIntoCache(framsClass); 60 61 return framsClass; 61 62 } catch (ClassNotFoundException ignored) {
Note: See TracChangeset
for help on using the changeset viewer.