Changeset 107
- Timestamp:
- 10/19/13 13:20:44 (11 years ago)
- Location:
- branches/supervisor
- Files:
-
- 15 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/supervisor/.classpath
r68 r107 23 23 </attributes> 24 24 </classpathentry> 25 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER ">25 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/Java SE 7 [1.7.0_40]"> 26 26 <attributes> 27 27 <attribute name="maven.pomderived" value="true"/> -
branches/supervisor/.settings/org.eclipse.jdt.core.prefs
r44 r107 11 11 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 12 12 org.eclipse.jdt.core.compiler.source=1.6 13 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false 14 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 15 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 17 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 18 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 19 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 20 org.eclipse.jdt.core.formatter.alignment_for_assignment=0 21 org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 22 org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 23 org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 24 org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 25 org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 26 org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 27 org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 28 org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 29 org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 30 org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 31 org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 32 org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 33 org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 34 org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 35 org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 36 org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 37 org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 38 org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 39 org.eclipse.jdt.core.formatter.blank_lines_after_package=1 40 org.eclipse.jdt.core.formatter.blank_lines_before_field=0 41 org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 42 org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 43 org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 44 org.eclipse.jdt.core.formatter.blank_lines_before_method=1 45 org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 46 org.eclipse.jdt.core.formatter.blank_lines_before_package=0 47 org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 48 org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 49 org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line 50 org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line 51 org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line 52 org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line 53 org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line 54 org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line 55 org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line 56 org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line 57 org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line 58 org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line 59 org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line 60 org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false 61 org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false 62 org.eclipse.jdt.core.formatter.comment.format_block_comments=true 63 org.eclipse.jdt.core.formatter.comment.format_header=false 64 org.eclipse.jdt.core.formatter.comment.format_html=true 65 org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true 66 org.eclipse.jdt.core.formatter.comment.format_line_comments=true 67 org.eclipse.jdt.core.formatter.comment.format_source_code=true 68 org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true 69 org.eclipse.jdt.core.formatter.comment.indent_root_tags=true 70 org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert 71 org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert 72 org.eclipse.jdt.core.formatter.comment.line_length=80 73 org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true 74 org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true 75 org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false 76 org.eclipse.jdt.core.formatter.compact_else_if=true 77 org.eclipse.jdt.core.formatter.continuation_indentation=2 78 org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 79 org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off 80 org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on 81 org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false 82 org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true 83 org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true 84 org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true 85 org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true 86 org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true 87 org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true 88 org.eclipse.jdt.core.formatter.indent_empty_lines=false 89 org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true 90 org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true 91 org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true 92 org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false 93 org.eclipse.jdt.core.formatter.indentation.size=4 94 org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert 95 org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert 96 org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert 97 org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert 98 org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert 99 org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert 100 org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert 101 org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert 102 org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert 103 org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert 104 org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert 105 org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert 106 org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert 107 org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert 108 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert 109 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert 110 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert 111 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert 112 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert 113 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert 114 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert 115 org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert 116 org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert 117 org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert 118 org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert 119 org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert 120 org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert 121 org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert 122 org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert 123 org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert 124 org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert 125 org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert 126 org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert 127 org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert 128 org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert 129 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert 130 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert 131 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert 132 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert 133 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert 134 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert 135 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert 136 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert 137 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert 138 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert 139 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert 140 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert 141 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert 142 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert 143 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert 144 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert 145 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert 146 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert 147 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert 148 org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert 149 org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert 150 org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert 151 org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert 152 org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert 153 org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert 154 org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert 155 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert 156 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert 157 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert 158 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert 159 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert 160 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert 161 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert 162 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert 163 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert 164 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert 165 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert 166 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert 167 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert 168 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert 169 org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert 170 org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert 171 org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert 172 org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert 173 org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert 174 org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert 175 org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert 176 org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert 177 org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert 178 org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert 179 org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert 180 org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert 181 org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert 182 org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert 183 org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert 184 org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert 185 org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert 186 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert 187 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert 188 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert 189 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert 190 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert 191 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert 192 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert 193 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert 194 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert 195 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert 196 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert 197 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert 198 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert 199 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert 200 org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert 201 org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert 202 org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert 203 org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert 204 org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert 205 org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert 206 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert 207 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert 208 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert 209 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert 210 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert 211 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert 212 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert 213 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert 214 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert 215 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert 216 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert 217 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert 218 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert 219 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert 220 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert 221 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert 222 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert 223 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert 224 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert 225 org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert 226 org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert 227 org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert 228 org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert 229 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert 230 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert 231 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert 232 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert 233 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert 234 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert 235 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert 236 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert 237 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert 238 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert 239 org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert 240 org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert 241 org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert 242 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert 243 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert 244 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert 245 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert 246 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert 247 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert 248 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert 249 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert 250 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert 251 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert 252 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert 253 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert 254 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert 255 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert 256 org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert 257 org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert 258 org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert 259 org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert 260 org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert 261 org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert 262 org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert 263 org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert 264 org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert 265 org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert 266 org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert 267 org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert 268 org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert 269 org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert 270 org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert 271 org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert 272 org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert 273 org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert 274 org.eclipse.jdt.core.formatter.join_lines_in_comments=true 275 org.eclipse.jdt.core.formatter.join_wrapped_lines=true 276 org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false 277 org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false 278 org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false 279 org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false 280 org.eclipse.jdt.core.formatter.lineSplit=140 281 org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false 282 org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false 283 org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 284 org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 285 org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true 286 org.eclipse.jdt.core.formatter.tabulation.char=tab 287 org.eclipse.jdt.core.formatter.tabulation.size=4 288 org.eclipse.jdt.core.formatter.use_on_off_tags=false 289 org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false 290 org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true 291 org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true 292 org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true -
branches/supervisor/src/main/java/omq/Remote.java
r105 r107 22 22 */ 23 23 public String getRef(); 24 25 public String getUID(); 26 27 public void setUID(String uID); 24 28 } -
branches/supervisor/src/main/java/omq/client/proxy/Proxymq.java
r105 r107 47 47 48 48 private String reference; 49 private String UID; 49 50 private transient String exchange; 50 51 private transient String multiExchange; … … 72 73 * Proxymq Constructor. 73 74 * 74 * This constructor uses an reference to know which object will call. It also uses75 * Properties to set where to send the messages75 * This constructor uses an reference to know which object will call. It 76 * also uses Properties to set where to send the messages 76 77 * 77 78 * @param reference 78 * The reference represents the unique identifier of a remote object 79 * The reference represents the unique identifier of a remote 80 * object 79 81 * @param clazz 80 82 * It represents the real class of the remote object. With this … … 119 121 return getRef(); 120 122 } 123 if (methodName.equals("getUID")) { 124 return getUID(); 125 } 126 if (methodName.equals("setUID")) { 127 setUID((String) arguments[0]); 128 return null; 129 } 121 130 if (methodName.equals("equals")) { 122 131 if (arguments[0] instanceof Remote) { … … 168 177 } 169 178 179 // TODO look this carefully 180 String appId = UID == null ? reference : UID; 181 170 182 // Add the correlation ID and create a replyTo property 171 BasicProperties props = new BasicProperties.Builder().appId( reference).correlationId(corrId).replyTo(replyQueueName).type(serializerType)172 . deliveryMode(deliveryMode).build();183 BasicProperties props = new BasicProperties.Builder().appId(appId).correlationId(corrId).replyTo(replyQueueName) 184 .type(serializerType).deliveryMode(deliveryMode).build(); 173 185 174 186 // Publish the message 175 187 byte[] bytesRequest = serializer.serialize(serializerType, request); 176 188 broker.publishMessge(exchange, routingkey, props, bytesRequest); 177 logger.debug("Proxymq: " + reference + " invokes '" + request.getMethod() + "' , corrID: " + corrId + ", exchange: " + exchange + ", replyQueue: "178 + replyQueueName + ", serializerType: " + serializerType + ", multi call: " + request.isMulti() + ", async call: " + request.isAsync()179 + ", delivery mode: " + deliveryMode);189 logger.debug("Proxymq: " + reference + " invokes '" + request.getMethod() + "' , corrID: " + corrId + ", exchange: " + exchange 190 + ", replyQueue: " + replyQueueName + ", serializerType: " + serializerType + ", multi call: " + request.isMulti() 191 + ", async call: " + request.isAsync() + ", delivery mode: " + deliveryMode); 180 192 } 181 193 … … 362 374 } 363 375 376 @Override 377 public String getUID() { 378 return UID; 379 } 380 381 @Override 382 public void setUID(String uID) { 383 this.UID = uID; 384 } 385 364 386 } -
branches/supervisor/src/main/java/omq/common/broker/RemoteBroker.java
r103 r107 6 6 7 7 import omq.Remote; 8 import omq.client.annotation.SyncMethod;9 8 import omq.exception.RemoteException; 10 9 import omq.exception.RetryException; … … 19 18 public void deleteObject(String reference) throws RemoteException, IOException; 20 19 21 @SyncMethod(retry = 1, timeout = 1000)22 20 public boolean hasObject(String reference) throws RetryException; 23 21 24 @SyncMethod(retry = 1, timeout = 1000)25 22 public HasObject hasObjectInfo(String reference) throws RetryException; 26 23 -
branches/supervisor/src/main/java/omq/common/broker/RemoteBrokerImpl.java
r103 r107 50 50 @Override 51 51 public HasObject hasObjectInfo(String reference) throws RetryException { 52 System.out.println("Hola soc un broker"+ getRef() + ", "+getUID()+ ", fil: "+Thread.currentThread().getId()); 52 53 if (getBroker().getRemoteObjs().containsKey(reference)) { 53 54 RemoteObject r = getBroker().getRemoteObjs().get(reference); 54 55 int numThreads = r.getPool().getWorkers().size(); 55 return new HasObject(this.get Ref(), reference, true, numThreads);56 return new HasObject(this.getUID(), reference, true, numThreads); 56 57 } 57 return new HasObject(this.get Ref(), reference, false, 0);58 return new HasObject(this.getUID(), reference, false, 0); 58 59 } 59 60 -
branches/supervisor/src/main/java/omq/common/broker/RemoteMultiBroker.java
r106 r107 1 1 package omq.common.broker; 2 3 import java.util.Set;4 2 5 3 import omq.Remote; … … 9 7 10 8 public interface RemoteMultiBroker extends Remote { 11 @MultiMethod12 @SyncMethod(retry = 1, timeout = 1000)13 public Set<String> getRemoteObjects();14 9 15 10 @MultiMethod -
branches/supervisor/src/main/java/omq/server/InvocationThread.java
r106 r107 172 172 channel = broker.getNewChannel(); 173 173 174 /*175 * Default queue, Round Robin behaviour176 */177 178 174 // Get info about which exchange and queue will use 179 175 String exchange = env.getProperty(ParameterQueue.RPC_EXCHANGE, ""); … … 242 238 */ 243 239 240 // Disable Round Robin behavior 244 241 boolean autoAck = false; 245 242 -
branches/supervisor/src/main/java/omq/supervisor/SupervisorImpl.java
r106 r107 1 1 package omq.supervisor; 2 2 3 import java. util.ArrayList;3 import java.lang.reflect.Proxy; 4 4 import java.util.HashMap; 5 import java.util.List;6 5 import java.util.Map; 7 6 import java.util.Set; 8 7 8 import omq.client.proxy.Proxymq; 9 9 import omq.common.broker.HasObject; 10 10 import omq.common.broker.RemoteBroker; … … 15 15 import org.apache.log4j.Logger; 16 16 17 import com.rabbitmq.client.AMQP.Queue.DeclareOk; 17 18 import com.rabbitmq.client.Channel; 18 import com.rabbitmq.client.AMQP.Queue.DeclareOk;19 19 20 20 public class SupervisorImpl extends RemoteObject implements Supervisor, Runnable { … … 29 29 private long sleep; 30 30 private Map<String, OmqSettings> objectSettings; 31 // TODO: Set<?>32 31 private RemoteMultiBroker multiBroker; 33 32 private Map<String, RemoteBroker> brokerMap; 34 private List<RemoteBroker> brokers;35 33 36 34 public SupervisorImpl(String brokerSet, long sleep) { 37 35 this.brokerSet = brokerSet; 38 36 this.sleep = sleep; 39 broker s = new ArrayList<RemoteBroker>();37 brokerMap = new HashMap<String, RemoteBroker>(); 40 38 objectSettings = new HashMap<String, OmqSettings>(); 41 39 } … … 72 70 if (brokerSet.equals(brokerSet) && !brokerMap.containsKey(brokerName)) { 73 71 logger.info("Broker " + brokerName + " subscrived"); 74 RemoteBroker broker = getBroker().lookup(brokerName, RemoteBroker.class); 72 // RemoteBroker broker = getBroker().lookup(brokerSet, 73 // RemoteBroker.class); 74 Proxymq proxy = new Proxymq(brokerSet, RemoteBroker.class, getBroker()); 75 Class<?>[] array = { RemoteBroker.class }; 76 RemoteBroker broker = (RemoteBroker) Proxy.newProxyInstance(RemoteBroker.class.getClassLoader(), array, proxy); 77 broker.setUID(brokerName); 75 78 brokerMap.put(brokerSet, broker); 76 79 } else { … … 86 89 throw new Exception("JAJAJAJAJA"); 87 90 } 91 92 HasObject[] hasList = multiBroker.hasObjectInfo(reference); 93 94 int minObjects = settings.getMinNumberObjects(); 95 int numBrokers = hasList.length; 96 int numObjects = 0; 97 98 for (HasObject h : hasList) { 99 if (h.hasObject()) { 100 numObjects++; 101 } 102 } 103 System.out.println("NumObjects " + numObjects + " numBrokers " + numBrokers); 104 105 int i = 0; 106 while (numObjects <= minObjects && i < numBrokers) { 107 HasObject h = hasList[i++]; 108 if (h.hasObject()) { 109 brokerMap.get(h.getBrokerName()).spawnObject(reference, settings.getClassName()); 110 numObjects++; 111 } 112 } 88 113 objectSettings.put(reference, settings); 114 89 115 } 90 116 … … 114 140 @Override 115 141 public void unbindObject(OmqSettings settings, HasObject[] hasList, int numObjects) throws Exception { 116 String reference = settings.getReference();117 118 int minObjects = settings.getMinNumberObjects();119 120 for (RemoteBroker broker : brokers) {121 122 123 124 125 }142 // String reference = settings.getReference(); 143 // 144 // int minObjects = settings.getMinNumberObjects(); 145 // 146 // for (RemoteBroker broker : brokers) { 147 // if (broker.hasObject(reference) && (numObjects - 1) >= minObjects) { 148 // broker.deleteObject(reference); 149 // break; 150 // } 151 // } 126 152 127 153 } … … 166 192 } 167 193 168 public List<RemoteBroker> getBrokers() {169 return brokers;170 }171 172 public void setBrokers(List<RemoteBroker> brokers) {173 this.brokers = brokers;174 }175 176 194 public String getBrokerSet() { 177 195 return brokerSet; -
branches/supervisor/src/test/java/omq/test/supervisor/SleepTest.java
r106 r107 25 25 env1.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 26 26 env1.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 27 env1.setProperty(ParameterQueue.MIN_POOL_THREADS, " 4");28 env1.setProperty(ParameterQueue.MAX_POOL_THREADS, " 4");27 env1.setProperty(ParameterQueue.MIN_POOL_THREADS, "1"); 28 env1.setProperty(ParameterQueue.MAX_POOL_THREADS, "1"); 29 29 30 30 Broker broker = new Broker(env1); … … 37 37 env2.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 38 38 env2.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 39 env2.setProperty(ParameterQueue.MIN_POOL_THREADS, " 4");40 env2.setProperty(ParameterQueue.MAX_POOL_THREADS, " 4");39 env2.setProperty(ParameterQueue.MIN_POOL_THREADS, "1"); 40 env2.setProperty(ParameterQueue.MAX_POOL_THREADS, "1"); 41 41 42 42 Broker broker2 = new Broker(env2);
Note: See TracChangeset
for help on using the changeset viewer.