- Timestamp:
- 06/28/13 11:56:03 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/main/src/main/java/com/framsticks/hosting/ServerInstance.java
r86 r87 2 2 3 3 import com.framsticks.core.*; 4 import com.framsticks.params.CompositeParam;5 4 import com.framsticks.params.ConstructionException; 6 5 import com.framsticks.params.FramsClass; 7 import com.framsticks.params.FramsClassBuilder;8 6 import com.framsticks.params.Param; 9 7 import com.framsticks.core.LocalInstance; … … 44 42 hosted.setName("hosted"); 45 43 hosted.configure(hostedConfig); 46 root = new Node( (CompositeParam) Param.build().name("root").id("root").type("o" + hosted.getClass().getCanonicalName()).finish(), hosted);44 root = new Node(Param.build().name("root").id("root").type("o" + hosted.getClass().getCanonicalName()), hosted); 47 45 } 48 46 … … 59 57 try { 60 58 Class<?> nativeClass = Class.forName(id); 61 FramsClass framsClass = FramsClass Builder.buildForClass(nativeClass);59 FramsClass framsClass = FramsClass.build().forClass(nativeClass); 62 60 63 61 if (!framsClass.getId().equals(id)) {
Note: See TracChangeset
for help on using the changeset viewer.