1 26 27 package org.objectweb.ccm.simple; 28 29 38 39 public class ServerHomeImpl 40 extends org.objectweb.ccm.simple.ServerSessionComposition.HomeImpl 41 { 42 48 54 55 public 56 ServerHomeImpl() 57 { 58 } 59 60 66 72 78 83 public org.omg.Components.ExecutorSegmentBase 84 create_executor_segment(int segid) 85 { 86 return new ServerImpl(); 87 } 88 89 95 99 public static org.omg.Components.HomeExecutorBase 100 create_home() 101 { 102 return new ServerHomeImpl(); 103 } 104 105 109 private static org.omg.Components.HomeExecutorBase 110 create_home_private() 111 { 112 return new ServerHomeImpl(); 113 } 114 115 119 public org.omg.Components.HomeExecutorBase 120 create_home_not_static() 121 { 122 return new ServerHomeImpl(); 123 } 124 125 129 public static String 130 create_home_with_invalid_return_type() 131 { 132 return "HELLO"; 133 } 134 135 139 public static org.omg.Components.HomeExecutorBase 140 create_home_with_parameter(String p) 141 { 142 return new ServerHomeImpl(); 143 } 144 145 149 public static org.omg.Components.HomeExecutorBase 150 create_home_thrown_an_exception() 151 { 152 throw new Error ("blablabla"); 153 } 154 } 155 | Popular Tags |