Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-12-28 18:07:30 +0000
committerEike Stepper2008-12-28 18:07:30 +0000
commite84a2efac794b99633e5ce2961af4a784422a4bb (patch)
tree7fc2e764236af34b834840e02b569f43e4fd0bac /plugins/org.eclipse.net4j.defs
parentd995f99ee984ab46739ec135b19b932a72eba14d (diff)
downloadcdo-e84a2efac794b99633e5ce2961af4a784422a4bb.tar.gz
cdo-e84a2efac794b99633e5ce2961af4a784422a4bb.tar.xz
cdo-e84a2efac794b99633e5ce2961af4a784422a4bb.zip
[246623] Create Definition model as alternative configuration/wiring mechanism
https://bugs.eclipse.org/bugs/show_bug.cgi?id=246623
Diffstat (limited to 'plugins/org.eclipse.net4j.defs')
-rw-r--r--plugins/org.eclipse.net4j.defs/.classpath7
-rw-r--r--plugins/org.eclipse.net4j.defs/.cvsignore1
-rw-r--r--plugins/org.eclipse.net4j.defs/.project28
-rw-r--r--plugins/org.eclipse.net4j.defs/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.core.prefs258
-rw-r--r--plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.ui.prefs4
-rw-r--r--plugins/org.eclipse.net4j.defs/.settings/org.moreunit.prefs6
-rw-r--r--plugins/org.eclipse.net4j.defs/META-INF/MANIFEST.MF20
-rw-r--r--plugins/org.eclipse.net4j.defs/about.html29
-rw-r--r--plugins/org.eclipse.net4j.defs/build.properties23
-rw-r--r--plugins/org.eclipse.net4j.defs/copyright.txt8
-rw-r--r--plugins/org.eclipse.net4j.defs/epl-v10.html319
-rw-r--r--plugins/org.eclipse.net4j.defs/license.html319
-rw-r--r--plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.ecore80
-rw-r--r--plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.ecorediag661
-rw-r--r--plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.genmodel48
-rw-r--r--plugins/org.eclipse.net4j.defs/plugin.properties25
-rw-r--r--plugins/org.eclipse.net4j.defs/plugin.xml20
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/AcceptorDef.java178
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/BufferPoolDef.java21
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/BufferProviderDef.java23
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ChallengeNegotiatorDef.java81
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ClientProtocolFactoryDef.java21
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ConnectorDef.java232
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/CredentialsProviderDef.java54
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/HTTPConnectorDef.java53
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/JVMAcceptorDef.java53
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/JVMConnectorDef.java53
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/NegotiatorDef.java22
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/Net4jDefsFactory.java154
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/Net4jDefsPackage.java1852
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/PasswordCredentialsProviderDef.java53
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ProtocolProviderDef.java23
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/RandomizerDef.java22
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ResponseNegotiatorDef.java53
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ServerConnector.java53
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ServerProtocolFactoryDef.java21
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/SeverProtocolFactory.java22
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPAcceptorDef.java107
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPConnectorDef.java134
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPSelectorDef.java22
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/User.java81
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/UserManagerDef.java69
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/AcceptorDefImpl.java387
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/BufferPoolDefImpl.java58
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/BufferProviderDefImpl.java44
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ChallengeNegotiatorDefImpl.java267
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ClientProtocolFactoryDefImpl.java43
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ConnectorDefImpl.java627
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/CredentialsProviderDefImpl.java165
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/HTTPConnectorDefImpl.java172
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/JVMAcceptorDefImpl.java173
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/JVMConnectorDefImpl.java179
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/NegotiatorDefImpl.java44
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/Net4jDefsFactoryImpl.java243
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/Net4jDefsPackageImpl.java910
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/PasswordCredentialsProviderDefImpl.java184
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ProtocolProviderDefImpl.java44
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/RandomizerDefImpl.java52
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ResponseNegotiatorDefImpl.java161
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ServerProtocolFactoryDefImpl.java45
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPAcceptorDefImpl.java289
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPConnectorDefImpl.java352
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPSelectorDefImpl.java58
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/UserImpl.java219
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/UserManagerDefImpl.java161
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/ConnectorDefBuilder.java45
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsAdapterFactory.java522
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsSwitch.java618
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsUtil.java53
-rw-r--r--plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/TCPClientConnectorBuilder.java66
71 files changed, 11497 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j.defs/.classpath b/plugins/org.eclipse.net4j.defs/.classpath
new file mode 100644
index 0000000000..304e86186a
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.net4j.defs/.cvsignore b/plugins/org.eclipse.net4j.defs/.cvsignore
new file mode 100644
index 0000000000..ba077a4031
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/.cvsignore
@@ -0,0 +1 @@
+bin
diff --git a/plugins/org.eclipse.net4j.defs/.project b/plugins/org.eclipse.net4j.defs/.project
new file mode 100644
index 0000000000..3c86066604
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.net4j.defs</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000000..30b22635b5
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Tue Dec 16 17:15:58 CET 2008
+eclipse.preferences.version=1
+encoding//model/org.eclipse.net4j.defs.ecorediag=UTF-8
diff --git a/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..dd158ff537
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,258 @@
+#Mon Dec 15 16:13:46 CET 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.blank_lines_before_field=1
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=next_line
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
+org.eclipse.jdt.core.formatter.comment.format_header=false
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
+org.eclipse.jdt.core.formatter.comment.line_length=120
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
+org.eclipse.jdt.core.formatter.indentation.size=2
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.lineSplit=120
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
+org.eclipse.jdt.core.formatter.tabulation.char=space
+org.eclipse.jdt.core.formatter.tabulation.size=2
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
diff --git a/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 0000000000..589ef0320d
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,4 @@
+#Mon Dec 15 16:13:46 CET 2008
+eclipse.preferences.version=1
+formatter_profile=_Unmanaged profile 'EMFT' mine
+formatter_settings_version=11
diff --git a/plugins/org.eclipse.net4j.defs/.settings/org.moreunit.prefs b/plugins/org.eclipse.net4j.defs/.settings/org.moreunit.prefs
new file mode 100644
index 0000000000..48c2caa909
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/.settings/org.moreunit.prefs
@@ -0,0 +1,6 @@
+#Wed Dec 10 11:19:31 CET 2008
+eclipse.preferences.version=1
+org.moreunit.flexiblenaming=true
+org.moreunit.prefixes=
+org.moreunit.unitsourcefolder=org.eclipse.net4j.defs\:src\:org.eclipse.net4j.tests.defs\:src
+org.moreunit.useprojectsettings=true
diff --git a/plugins/org.eclipse.net4j.defs/META-INF/MANIFEST.MF b/plugins/org.eclipse.net4j.defs/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..d50b95a341
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/META-INF/MANIFEST.MF
@@ -0,0 +1,20 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.net4j.defs;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-ClassPath: .
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.emf.ecore;visibility:=reexport,
+ org.eclipse.emf.cdo;visibility:=reexport,
+ org.eclipse.net4j.util.defs;bundle-version="1.0.0",
+ org.eclipse.net4j.tcp;bundle-version="2.0.0",
+ org.eclipse.net4j.jvm;bundle-version="2.0.0",
+ org.eclipse.net4j.http;bundle-version="2.0.0"
+Bundle-ActivationPolicy: lazy
+Export-Package: org.eclipse.net4j.net4jdefs,
+ org.eclipse.net4j.net4jdefs.impl,
+ org.eclipse.net4j.net4jdefs.util
diff --git a/plugins/org.eclipse.net4j.defs/about.html b/plugins/org.eclipse.net4j.defs/about.html
new file mode 100644
index 0000000000..c5796baf03
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/about.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
+
diff --git a/plugins/org.eclipse.net4j.defs/build.properties b/plugins/org.eclipse.net4j.defs/build.properties
new file mode 100644
index 0000000000..8de8fa2c13
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/build.properties
@@ -0,0 +1,23 @@
+# Copyright (c) 2004 - 2008 Eike Stepper, Germany.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Eike Stepper - initial API and implementation
+
+# NLS_MESSAGEFORMAT_VAR
+
+bin.includes = .,\
+ META-INF/,\
+ plugin.properties,\
+ about.html,\
+ copyright.txt,\
+ epl-v10.html,\
+ license.html,\
+ plugin.xml,\
+ model/
+jars.compile.order = .
+source.. = src/
+output.. = bin/
diff --git a/plugins/org.eclipse.net4j.defs/copyright.txt b/plugins/org.eclipse.net4j.defs/copyright.txt
new file mode 100644
index 0000000000..07978a5b95
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/copyright.txt
@@ -0,0 +1,8 @@
+Copyright (c) 2004 - 2008 André Dietisheim, Switzerland.
+All rights reserved. This program and the accompanying materials
+are made available under the terms of the Eclipse Public License v1.0
+which accompanies this distribution, and is available at
+http://www.eclipse.org/legal/epl-v10.html
+
+Contributors:
+ André Dietisheim - initial API and implementation \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j.defs/epl-v10.html b/plugins/org.eclipse.net4j.defs/epl-v10.html
new file mode 100644
index 0000000000..d7b88e9416
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/epl-v10.html
@@ -0,0 +1,319 @@
+<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta name="ProgId" content="Word.Document">
+<meta name="Generator" content="Microsoft Word 9">
+<meta name="Originator" content="Microsoft Word 9">
+<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
+ <o:DocumentProperties>
+ <o:Revision>2</o:Revision>
+ <o:TotalTime>3</o:TotalTime>
+ <o:Created>2004-03-05T23:03:00Z</o:Created>
+ <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
+ <o:Pages>4</o:Pages>
+ <o:Words>1626</o:Words>
+ <o:Characters>9270</o:Characters>
+ <o:Lines>77</o:Lines>
+ <o:Paragraphs>18</o:Paragraphs>
+ <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
+ <o:Version>9.4402</o:Version>
+ </o:DocumentProperties>
+</xml><![endif]--><!--[if gte mso 9]><xml>
+ <w:WordDocument>
+ <w:TrackRevisions/>
+ </w:WordDocument>
+</xml><![endif]-->
+
+
+<style>
+<!--
+ /* Font Definitions */
+@font-face
+ {font-family:Tahoma;
+ panose-1:2 11 6 4 3 5 4 4 2 4;
+ mso-font-charset:0;
+ mso-generic-font-family:swiss;
+ mso-font-pitch:variable;
+ mso-font-signature:553679495 -2147483648 8 0 66047 0;}
+ /* Style Definitions */
+p.MsoNormal, li.MsoNormal, div.MsoNormal
+ {mso-style-parent:"";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p
+ {margin-right:0in;
+ mso-margin-top-alt:auto;
+ mso-margin-bottom-alt:auto;
+ margin-left:0in;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p.BalloonText, li.BalloonText, div.BalloonText
+ {mso-style-name:"Balloon Text";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:8.0pt;
+ font-family:Tahoma;
+ mso-fareast-font-family:"Times New Roman";}
+@page Section1
+ {size:8.5in 11.0in;
+ margin:1.0in 1.25in 1.0in 1.25in;
+ mso-header-margin:.5in;
+ mso-footer-margin:.5in;
+ mso-paper-source:0;}
+div.Section1
+ {page:Section1;}
+-->
+</style></head>
+
+<body style="" lang="EN-US">
+
+<div class="Section1">
+
+<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
+</p>
+
+<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
+THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
+REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.</span> </p>
+
+<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
+
+<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+in the case of the initial Contributor, the initial code and documentation
+distributed under this Agreement, and<br clear="left">
+b) in the case of each subsequent Contributor:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+changes to the Program, and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+additions to the Program;</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
+such changes and/or additions to the Program originate from and are distributed
+by that particular Contributor. A Contribution 'originates' from a Contributor
+if it was added to the Program by such Contributor itself or anyone acting on
+such Contributor's behalf. Contributions do not include additions to the
+Program which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii) are not derivative
+works of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Contributor" means any person or
+entity that distributes the Program.</span> </p>
+
+<p><span style="font-size: 10pt;">"Licensed Patents " mean patent
+claims licensable by a Contributor which are necessarily infringed by the use
+or sale of its Contribution alone or when combined with the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Program" means the Contributions
+distributed in accordance with this Agreement.</span> </p>
+
+<p><span style="font-size: 10pt;">"Recipient" means anyone who
+receives the Program under this Agreement, including all Contributors.</span> </p>
+
+<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+Subject to the terms of this Agreement, each Contributor hereby grants Recipient
+a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>reproduce, prepare derivative works of, publicly
+display, publicly perform, distribute and sublicense the Contribution of such
+Contributor, if any, and such derivative works, in source code and object code
+form.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+Subject to the terms of this Agreement, each Contributor hereby grants
+Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>royalty-free
+patent license under Licensed Patents to make, use, sell, offer to sell, import
+and otherwise transfer the Contribution of such Contributor, if any, in source
+code and object code form. This patent license shall apply to the combination
+of the Contribution and the Program if, at the time the Contribution is added
+by the Contributor, such addition of the Contribution causes such combination
+to be covered by the Licensed Patents. The patent license shall not apply to
+any other combinations which include the Contribution. No hardware per se is
+licensed hereunder. </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">c)
+Recipient understands that although each Contributor grants the licenses to its
+Contributions set forth herein, no assurances are provided by any Contributor
+that the Program does not infringe the patent or other intellectual property
+rights of any other entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement of intellectual
+property rights or otherwise. As a condition to exercising the rights and
+licenses granted hereunder, each Recipient hereby assumes sole responsibility
+to secure any other intellectual property rights needed, if any. For example,
+if a third party patent license is required to allow Recipient to distribute
+the Program, it is Recipient's responsibility to acquire that license before
+distributing the Program.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">d)
+Each Contributor represents that to its knowledge it has sufficient copyright
+rights in its Contribution, if any, to grant the copyright license set forth in
+this Agreement. </span></p>
+
+<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
+
+<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
+Program in object code form under its own license agreement, provided that:</span>
+</p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it complies with the terms and conditions of this Agreement; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+its license agreement:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+effectively disclaims on behalf of all Contributors all warranties and
+conditions, express and implied, including warranties or conditions of title
+and non-infringement, and implied warranties or conditions of merchantability
+and fitness for a particular purpose; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+effectively excludes on behalf of all Contributors all liability for damages,
+including direct, indirect, special, incidental and consequential damages, such
+as lost profits; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
+states that any provisions which differ from this Agreement are offered by that
+Contributor alone and not by any other party; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iv)
+states that source code for the Program is available from such Contributor, and
+informs licensees how to obtain it in a reasonable manner on or through a
+medium customarily used for software exchange.<span style="color: blue;"> </span></span></p>
+
+<p><span style="font-size: 10pt;">When the Program is made available in source
+code form:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it must be made available under this Agreement; and </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
+copy of this Agreement must be included with each copy of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Contributors may not remove or alter any
+copyright notices contained within the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Each Contributor must identify itself as the
+originator of its Contribution, if any, in a manner that reasonably allows
+subsequent Recipients to identify the originator of the Contribution. </span></p>
+
+<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
+
+<p><span style="font-size: 10pt;">Commercial distributors of software may
+accept certain responsibilities with respect to end users, business partners
+and the like. While this license is intended to facilitate the commercial use
+of the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create potential
+liability for other Contributors. Therefore, if a Contributor includes the
+Program in a commercial product offering, such Contributor ("Commercial
+Contributor") hereby agrees to defend and indemnify every other
+Contributor ("Indemnified Contributor") against any losses, damages and
+costs (collectively "Losses") arising from claims, lawsuits and other
+legal actions brought by a third party against the Indemnified Contributor to
+the extent caused by the acts or omissions of such Commercial Contributor in
+connection with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any claims or Losses
+relating to any actual or alleged intellectual property infringement. In order
+to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
+Contributor in writing of such claim, and b) allow the Commercial Contributor
+to control, and cooperate with the Commercial Contributor in, the defense and
+any related settlement negotiations. The Indemnified Contributor may participate
+in any such claim at its own expense.</span> </p>
+
+<p><span style="font-size: 10pt;">For example, a Contributor might include the
+Program in a commercial product offering, Product X. That Contributor is then a
+Commercial Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance claims and
+warranties are such Commercial Contributor's responsibility alone. Under this
+section, the Commercial Contributor would have to defend claims against the
+other Contributors related to those performance claims and warranties, and if a
+court requires any other Contributor to pay any damages as a result, the
+Commercial Contributor must pay those damages.</span> </p>
+
+<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
+WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
+MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and distributing the
+Program and assumes all risks associated with its exercise of rights under this
+Agreement , including but not limited to the risks and costs of program errors,
+compliance with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations. </span></p>
+
+<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
+THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
+
+<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
+
+<p><span style="font-size: 10pt;">If any provision of this Agreement is invalid
+or unenforceable under applicable law, it shall not affect the validity or
+enforceability of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be reformed to the
+minimum extent necessary to make such provision valid and enforceable.</span> </p>
+
+<p><span style="font-size: 10pt;">If Recipient institutes patent litigation
+against any entity (including a cross-claim or counterclaim in a lawsuit)
+alleging that the Program itself (excluding combinations of the Program with
+other software or hardware) infringes such Recipient's patent(s), then such
+Recipient's rights granted under Section 2(b) shall terminate as of the date
+such litigation is filed. </span></p>
+
+<p><span style="font-size: 10pt;">All Recipient's rights under this Agreement
+shall terminate if it fails to comply with any of the material terms or
+conditions of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If all Recipient's
+rights under this Agreement terminate, Recipient agrees to cease use and
+distribution of the Program as soon as reasonably practicable. However,
+Recipient's obligations under this Agreement and any licenses granted by
+Recipient relating to the Program shall continue and survive. </span></p>
+
+<p><span style="font-size: 10pt;">Everyone is permitted to copy and distribute
+copies of this Agreement, but in order to avoid inconsistency the Agreement is
+copyrighted and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including revisions) of
+this Agreement from time to time. No one other than the Agreement Steward has
+the right to modify this Agreement. The Eclipse Foundation is the initial
+Agreement Steward. The Eclipse Foundation may assign the responsibility to
+serve as the Agreement Steward to a suitable separate entity. Each new version
+of the Agreement will be given a distinguishing version number. The Program
+(including Contributions) may always be distributed subject to the version of
+the Agreement under which it was received. In addition, after a new version of
+the Agreement is published, Contributor may elect to distribute the Program
+(including its Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
+the intellectual property of any Contributor under this Agreement, whether
+expressly, by implication, estoppel or otherwise. All rights in the Program not
+expressly granted under this Agreement are reserved.</span> </p>
+
+<p><span style="font-size: 10pt;">This Agreement is governed by the laws of the
+State of New York and the intellectual property laws of the United States of
+America. No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose. Each party waives
+its rights to a jury trial in any resulting litigation.</span> </p>
+
+<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
+
+</div>
+
+</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j.defs/license.html b/plugins/org.eclipse.net4j.defs/license.html
new file mode 100644
index 0000000000..d7b88e9416
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/license.html
@@ -0,0 +1,319 @@
+<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta name="ProgId" content="Word.Document">
+<meta name="Generator" content="Microsoft Word 9">
+<meta name="Originator" content="Microsoft Word 9">
+<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
+ <o:DocumentProperties>
+ <o:Revision>2</o:Revision>
+ <o:TotalTime>3</o:TotalTime>
+ <o:Created>2004-03-05T23:03:00Z</o:Created>
+ <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
+ <o:Pages>4</o:Pages>
+ <o:Words>1626</o:Words>
+ <o:Characters>9270</o:Characters>
+ <o:Lines>77</o:Lines>
+ <o:Paragraphs>18</o:Paragraphs>
+ <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
+ <o:Version>9.4402</o:Version>
+ </o:DocumentProperties>
+</xml><![endif]--><!--[if gte mso 9]><xml>
+ <w:WordDocument>
+ <w:TrackRevisions/>
+ </w:WordDocument>
+</xml><![endif]-->
+
+
+<style>
+<!--
+ /* Font Definitions */
+@font-face
+ {font-family:Tahoma;
+ panose-1:2 11 6 4 3 5 4 4 2 4;
+ mso-font-charset:0;
+ mso-generic-font-family:swiss;
+ mso-font-pitch:variable;
+ mso-font-signature:553679495 -2147483648 8 0 66047 0;}
+ /* Style Definitions */
+p.MsoNormal, li.MsoNormal, div.MsoNormal
+ {mso-style-parent:"";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p
+ {margin-right:0in;
+ mso-margin-top-alt:auto;
+ mso-margin-bottom-alt:auto;
+ margin-left:0in;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p.BalloonText, li.BalloonText, div.BalloonText
+ {mso-style-name:"Balloon Text";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:8.0pt;
+ font-family:Tahoma;
+ mso-fareast-font-family:"Times New Roman";}
+@page Section1
+ {size:8.5in 11.0in;
+ margin:1.0in 1.25in 1.0in 1.25in;
+ mso-header-margin:.5in;
+ mso-footer-margin:.5in;
+ mso-paper-source:0;}
+div.Section1
+ {page:Section1;}
+-->
+</style></head>
+
+<body style="" lang="EN-US">
+
+<div class="Section1">
+
+<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
+</p>
+
+<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
+THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
+REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.</span> </p>
+
+<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
+
+<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+in the case of the initial Contributor, the initial code and documentation
+distributed under this Agreement, and<br clear="left">
+b) in the case of each subsequent Contributor:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+changes to the Program, and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+additions to the Program;</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
+such changes and/or additions to the Program originate from and are distributed
+by that particular Contributor. A Contribution 'originates' from a Contributor
+if it was added to the Program by such Contributor itself or anyone acting on
+such Contributor's behalf. Contributions do not include additions to the
+Program which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii) are not derivative
+works of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Contributor" means any person or
+entity that distributes the Program.</span> </p>
+
+<p><span style="font-size: 10pt;">"Licensed Patents " mean patent
+claims licensable by a Contributor which are necessarily infringed by the use
+or sale of its Contribution alone or when combined with the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Program" means the Contributions
+distributed in accordance with this Agreement.</span> </p>
+
+<p><span style="font-size: 10pt;">"Recipient" means anyone who
+receives the Program under this Agreement, including all Contributors.</span> </p>
+
+<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+Subject to the terms of this Agreement, each Contributor hereby grants Recipient
+a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>reproduce, prepare derivative works of, publicly
+display, publicly perform, distribute and sublicense the Contribution of such
+Contributor, if any, and such derivative works, in source code and object code
+form.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+Subject to the terms of this Agreement, each Contributor hereby grants
+Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>royalty-free
+patent license under Licensed Patents to make, use, sell, offer to sell, import
+and otherwise transfer the Contribution of such Contributor, if any, in source
+code and object code form. This patent license shall apply to the combination
+of the Contribution and the Program if, at the time the Contribution is added
+by the Contributor, such addition of the Contribution causes such combination
+to be covered by the Licensed Patents. The patent license shall not apply to
+any other combinations which include the Contribution. No hardware per se is
+licensed hereunder. </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">c)
+Recipient understands that although each Contributor grants the licenses to its
+Contributions set forth herein, no assurances are provided by any Contributor
+that the Program does not infringe the patent or other intellectual property
+rights of any other entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement of intellectual
+property rights or otherwise. As a condition to exercising the rights and
+licenses granted hereunder, each Recipient hereby assumes sole responsibility
+to secure any other intellectual property rights needed, if any. For example,
+if a third party patent license is required to allow Recipient to distribute
+the Program, it is Recipient's responsibility to acquire that license before
+distributing the Program.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">d)
+Each Contributor represents that to its knowledge it has sufficient copyright
+rights in its Contribution, if any, to grant the copyright license set forth in
+this Agreement. </span></p>
+
+<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
+
+<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
+Program in object code form under its own license agreement, provided that:</span>
+</p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it complies with the terms and conditions of this Agreement; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+its license agreement:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+effectively disclaims on behalf of all Contributors all warranties and
+conditions, express and implied, including warranties or conditions of title
+and non-infringement, and implied warranties or conditions of merchantability
+and fitness for a particular purpose; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+effectively excludes on behalf of all Contributors all liability for damages,
+including direct, indirect, special, incidental and consequential damages, such
+as lost profits; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
+states that any provisions which differ from this Agreement are offered by that
+Contributor alone and not by any other party; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iv)
+states that source code for the Program is available from such Contributor, and
+informs licensees how to obtain it in a reasonable manner on or through a
+medium customarily used for software exchange.<span style="color: blue;"> </span></span></p>
+
+<p><span style="font-size: 10pt;">When the Program is made available in source
+code form:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it must be made available under this Agreement; and </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
+copy of this Agreement must be included with each copy of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Contributors may not remove or alter any
+copyright notices contained within the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Each Contributor must identify itself as the
+originator of its Contribution, if any, in a manner that reasonably allows
+subsequent Recipients to identify the originator of the Contribution. </span></p>
+
+<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
+
+<p><span style="font-size: 10pt;">Commercial distributors of software may
+accept certain responsibilities with respect to end users, business partners
+and the like. While this license is intended to facilitate the commercial use
+of the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create potential
+liability for other Contributors. Therefore, if a Contributor includes the
+Program in a commercial product offering, such Contributor ("Commercial
+Contributor") hereby agrees to defend and indemnify every other
+Contributor ("Indemnified Contributor") against any losses, damages and
+costs (collectively "Losses") arising from claims, lawsuits and other
+legal actions brought by a third party against the Indemnified Contributor to
+the extent caused by the acts or omissions of such Commercial Contributor in
+connection with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any claims or Losses
+relating to any actual or alleged intellectual property infringement. In order
+to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
+Contributor in writing of such claim, and b) allow the Commercial Contributor
+to control, and cooperate with the Commercial Contributor in, the defense and
+any related settlement negotiations. The Indemnified Contributor may participate
+in any such claim at its own expense.</span> </p>
+
+<p><span style="font-size: 10pt;">For example, a Contributor might include the
+Program in a commercial product offering, Product X. That Contributor is then a
+Commercial Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance claims and
+warranties are such Commercial Contributor's responsibility alone. Under this
+section, the Commercial Contributor would have to defend claims against the
+other Contributors related to those performance claims and warranties, and if a
+court requires any other Contributor to pay any damages as a result, the
+Commercial Contributor must pay those damages.</span> </p>
+
+<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
+WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
+MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and distributing the
+Program and assumes all risks associated with its exercise of rights under this
+Agreement , including but not limited to the risks and costs of program errors,
+compliance with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations. </span></p>
+
+<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
+THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
+
+<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
+
+<p><span style="font-size: 10pt;">If any provision of this Agreement is invalid
+or unenforceable under applicable law, it shall not affect the validity or
+enforceability of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be reformed to the
+minimum extent necessary to make such provision valid and enforceable.</span> </p>
+
+<p><span style="font-size: 10pt;">If Recipient institutes patent litigation
+against any entity (including a cross-claim or counterclaim in a lawsuit)
+alleging that the Program itself (excluding combinations of the Program with
+other software or hardware) infringes such Recipient's patent(s), then such
+Recipient's rights granted under Section 2(b) shall terminate as of the date
+such litigation is filed. </span></p>
+
+<p><span style="font-size: 10pt;">All Recipient's rights under this Agreement
+shall terminate if it fails to comply with any of the material terms or
+conditions of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If all Recipient's
+rights under this Agreement terminate, Recipient agrees to cease use and
+distribution of the Program as soon as reasonably practicable. However,
+Recipient's obligations under this Agreement and any licenses granted by
+Recipient relating to the Program shall continue and survive. </span></p>
+
+<p><span style="font-size: 10pt;">Everyone is permitted to copy and distribute
+copies of this Agreement, but in order to avoid inconsistency the Agreement is
+copyrighted and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including revisions) of
+this Agreement from time to time. No one other than the Agreement Steward has
+the right to modify this Agreement. The Eclipse Foundation is the initial
+Agreement Steward. The Eclipse Foundation may assign the responsibility to
+serve as the Agreement Steward to a suitable separate entity. Each new version
+of the Agreement will be given a distinguishing version number. The Program
+(including Contributions) may always be distributed subject to the version of
+the Agreement under which it was received. In addition, after a new version of
+the Agreement is published, Contributor may elect to distribute the Program
+(including its Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
+the intellectual property of any Contributor under this Agreement, whether
+expressly, by implication, estoppel or otherwise. All rights in the Program not
+expressly granted under this Agreement are reserved.</span> </p>
+
+<p><span style="font-size: 10pt;">This Agreement is governed by the laws of the
+State of New York and the intellectual property laws of the United States of
+America. No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose. Each party waives
+its rights to a jury trial in any resulting litigation.</span> </p>
+
+<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
+
+</div>
+
+</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.ecore b/plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.ecore
new file mode 100644
index 0000000000..838e4b9f21
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.ecore
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="net4jdefs"
+ nsURI="http://www.eclipse.org/NET4J/defs/1.0.0" nsPrefix="net4jdefs">
+ <eClassifiers xsi:type="ecore:EClass" name="ConnectorDef" abstract="true" eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="userID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="bufferProvider" lowerBound="1"
+ eType="#//BufferProviderDef"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="executorService" lowerBound="1"
+ eType="ecore:EClass ../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//ExecutorServiceDef"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="negotiator" eType="#//NegotiatorDef"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="clientProtocolProvider"
+ lowerBound="1" upperBound="-1" eType="#//ClientProtocolFactoryDef" unsettable="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ClientProtocolFactoryDef" abstract="true"
+ eSuperTypes="#//ProtocolProviderDef"/>
+ <eClassifiers xsi:type="ecore:EClass" name="TCPConnectorDef" eSuperTypes="#//ConnectorDef">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="tcpSelectorDef" eType="#//TCPSelectorDef"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="host" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="port" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
+ unsettable="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="AcceptorDef" abstract="true" eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="bufferProvider" eType="#//BufferPoolDef"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="executorService" eType="ecore:EClass ../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//ThreadPoolDef"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="negotiator" eType="#//NegotiatorDef"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="serverProtocolProvider"
+ lowerBound="1" upperBound="-1" eType="#//ServerProtocolFactoryDef" unsettable="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TCPAcceptorDef" eSuperTypes="#//AcceptorDef">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="host" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="port" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="tcpSelectorDef" lowerBound="1"
+ eType="#//TCPSelectorDef"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="JVMAcceptorDef" eSuperTypes="#//AcceptorDef">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="JVMConnectorDef" eSuperTypes="#//ConnectorDef">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="HTTPConnectorDef" eSuperTypes="#//ConnectorDef">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="url" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="NegotiatorDef" abstract="true" eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def"/>
+ <eClassifiers xsi:type="ecore:EClass" name="ResponseNegotiatorDef" eSuperTypes="#//NegotiatorDef">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="credentialsProvider" eType="#//CredentialsProviderDef"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ChallengeNegotiatorDef" eSuperTypes="#//NegotiatorDef">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="userManager" eType="#//UserManagerDef"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="randomizer" eType="#//RandomizerDef"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TCPSelectorDef" eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def"/>
+ <eClassifiers xsi:type="ecore:EClass" name="ServerProtocolFactoryDef" abstract="true"
+ eSuperTypes="#//ProtocolProviderDef"/>
+ <eClassifiers xsi:type="ecore:EClass" name="BufferProviderDef" abstract="true" eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def"/>
+ <eClassifiers xsi:type="ecore:EClass" name="BufferPoolDef" eSuperTypes="#//BufferProviderDef"/>
+ <eClassifiers xsi:type="ecore:EClass" name="ProtocolProviderDef" abstract="true"
+ eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def"/>
+ <eClassifiers xsi:type="ecore:EClass" name="CredentialsProviderDef" abstract="true"
+ eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="userID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PasswordCredentialsProviderDef" eSuperTypes="#//CredentialsProviderDef">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="password" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="User">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="userID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="password" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="UserManagerDef" eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="user" lowerBound="1" upperBound="-1"
+ eType="#//User" unsettable="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="RandomizerDef" eSuperTypes="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def"/>
+</ecore:EPackage>
diff --git a/plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.ecorediag b/plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.ecorediag
new file mode 100644
index 0000000000..da933f2004
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.ecorediag
@@ -0,0 +1,661 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.1/notation" xmi:id="_05gMAcuMEd2PF5F8mtjyUw" type="EcoreTools" measurementUnit="Pixel">
+ <children xmi:type="notation:Node" xmi:id="_0-ZTEMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-fZsMuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-gn0MuMEd2PF5F8mtjyUw" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_0-lgUMuMEd2PF5F8mtjyUw" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.net4j.defs.ecore#//ConnectorDef/userID"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0-lgUcuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-gn0cuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-gn0suMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-gn08uMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-h18MuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-h18cuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-h18suMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-h188uMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-ZTEcuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//ConnectorDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-ZTEsuMEd2PF5F8mtjyUw" x="992" y="304"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-mHYMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-mucMuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-nVgMuMEd2PF5F8mtjyUw" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-nVgcuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-nVgsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-nVg8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-n8kMuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-n8kcuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-n8ksuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-n8k8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-mHYcuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//ClientProtocolFactoryDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-mHYsuMEd2PF5F8mtjyUw" x="1216" y="160"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-ojoMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-pKsMuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-pxwMuMEd2PF5F8mtjyUw" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_0-qY0MuMEd2PF5F8mtjyUw" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.net4j.defs.ecore#//TCPConnectorDef/host"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0-qY0cuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-q_4MuMEd2PF5F8mtjyUw" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.net4j.defs.ecore#//TCPConnectorDef/port"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0-q_4cuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-pxwcuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-pxwsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-pxw8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-pxxMuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-pxxcuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-pxxsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-pxx8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-ojocuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//TCPConnectorDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-ojosuMEd2PF5F8mtjyUw" x="752" y="416"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-vRUMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-v4YMuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-v4YcuMEd2PF5F8mtjyUw" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-v4YsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-v4Y8uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-v4ZMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-wfcMuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-wfccuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-wfcsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-wfc8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-vRUcuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//AcceptorDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-vRUsuMEd2PF5F8mtjyUw" x="416" y="304"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-wfdMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-xGgMuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-xGgcuMEd2PF5F8mtjyUw" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_0-xtkMuMEd2PF5F8mtjyUw" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.net4j.defs.ecore#//TCPAcceptorDef/host"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0-xtkcuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-xtksuMEd2PF5F8mtjyUw" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.net4j.defs.ecore#//TCPAcceptorDef/port"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0-xtk8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-xGgsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-xGg8uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-xGhMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-xGhcuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-xGhsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-xGh8uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-xGiMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-wfdcuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//TCPAcceptorDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-wfdsuMEd2PF5F8mtjyUw" x="576" y="416"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-xtlMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-yUoMuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-yUocuMEd2PF5F8mtjyUw" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_0-y7tMuMEd2PF5F8mtjyUw" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.net4j.defs.ecore#//JVMAcceptorDef/name"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0-y7tcuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-yUosuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-yUo8uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-yUpMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-y7sMuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-y7scuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-y7ssuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-y7s8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-xtlcuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//JVMAcceptorDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-xtlsuMEd2PF5F8mtjyUw" x="384" y="416"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-ziwMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-0J0MuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-0J0cuMEd2PF5F8mtjyUw" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_0-0w4MuMEd2PF5F8mtjyUw" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.net4j.defs.ecore#//JVMConnectorDef/name"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0-0w4cuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-0J0suMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-0J08uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-0J1MuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-0J1cuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-0J1suMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-0J18uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-0J2MuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-ziwcuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//JVMConnectorDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-ziwsuMEd2PF5F8mtjyUw" x="944" y="416"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-0w4suMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-1X8MuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-1X8cuMEd2PF5F8mtjyUw" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_0-1X-cuMEd2PF5F8mtjyUw" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.net4j.defs.ecore#//HTTPConnectorDef/url"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0-1_AMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-1X8suMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-1X88uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-1X9MuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-1X9cuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-1X9suMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-1X98uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-1X-MuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-0w48uMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//HTTPConnectorDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-0w5MuMEd2PF5F8mtjyUw" x="1136" y="416"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-1_AcuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-1_BMuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-2mEMuMEd2PF5F8mtjyUw" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-2mEcuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-2mEsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-2mE8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-2mFMuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-2mFcuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-2mFsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-2mF8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-1_AsuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//NegotiatorDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-1_A8uMEd2PF5F8mtjyUw" x="640" y="160"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-3NIMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-3NI8uMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-3NJMuMEd2PF5F8mtjyUw" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-3NJcuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-3NJsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-3NJ8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-30MMuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-30McuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-30MsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-30M8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-3NIcuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//ResponseNegotiatorDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-3NIsuMEd2PF5F8mtjyUw" x="1184" y="304"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-30NMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-4bQMuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-4bQcuMEd2PF5F8mtjyUw" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-4bQsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-4bQ8uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-4bRMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-4bRcuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-4bRsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-4bR8uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-4bSMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-30NcuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//ChallengeNegotiatorDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-30NsuMEd2PF5F8mtjyUw" x="752" y="304"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-5CUMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-5CU8uMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-5pYMuMEd2PF5F8mtjyUw" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-5pYcuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-5pYsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-5pY8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-5pZMuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-5pZcuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-5pZsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-5pZ8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-5CUcuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//TCPSelectorDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-5CUsuMEd2PF5F8mtjyUw" x="576" y="304"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-5paMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-6QcMuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-6QccuMEd2PF5F8mtjyUw" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-6QcsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-6Qc8uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-6QdMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-6QdcuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-6QdsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-6Qd8uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-63gMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-5pacuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//ServerProtocolFactoryDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-5pasuMEd2PF5F8mtjyUw" x="400" y="160"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-63gcuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-63hMuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-7ekMuMEd2PF5F8mtjyUw" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-7ekcuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-7eksuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-7ek8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-7elMuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-7elcuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-7elsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-7el8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-63gsuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//BufferProviderDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-63g8uMEd2PF5F8mtjyUw" x="816" y="32"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-7emMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-8FoMuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-8FocuMEd2PF5F8mtjyUw" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-8FosuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-8Fo8uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-8FpMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-8FpcuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-8FpsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-8Fp8uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-8FqMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-7emcuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//BufferPoolDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-7emsuMEd2PF5F8mtjyUw" x="224" y="160"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0-8ssMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0-960MuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0-960cuMEd2PF5F8mtjyUw" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0-960suMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0-9608uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0-961MuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0--h4MuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0--h4cuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0--h4suMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0--h48uMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0-9TwMuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//ProtocolProviderDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0-9TwcuMEd2PF5F8mtjyUw" x="1008" y="32"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_ZYoMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0_amwMuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0_amwcuMEd2PF5F8mtjyUw" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_0_bN18uMEd2PF5F8mtjyUw" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.net4j.defs.ecore#//CredentialsProviderDef/userID"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_bN2MuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0_bN0MuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0_bN0cuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0_bN0suMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_bN08uMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0_bN1MuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0_bN1cuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0_bN1suMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0_ZYocuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//CredentialsProviderDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0_ZYosuMEd2PF5F8mtjyUw" x="1728" y="160"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_b04MuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0_cb8MuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0_cb8cuMEd2PF5F8mtjyUw" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_0_dDB8uMEd2PF5F8mtjyUw" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.net4j.defs.ecore#//PasswordCredentialsProviderDef/password"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_dDCMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0_dDAMuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0_dDAcuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0_dDAsuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_dDA8uMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0_dDBMuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0_dDBcuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0_dDBsuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0_b04cuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//PasswordCredentialsProviderDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0_b04suMEd2PF5F8mtjyUw" x="1696" y="304"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_dqEMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0_e4MMuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0_e4McuMEd2PF5F8mtjyUw" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0_e4MsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0_e4M8uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0_e4NMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_e4NcuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0_e4NsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0_ffQMuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0_ffQcuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0_dqEcuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//UserManagerDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0_dqEsuMEd2PF5F8mtjyUw" x="32" y="160"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_gGUMuMEd2PF5F8mtjyUw" type="1001">
+ <children xmi:type="notation:Node" xmi:id="_0_gtYMuMEd2PF5F8mtjyUw" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_0_gtYcuMEd2PF5F8mtjyUw" type="5001">
+ <children xmi:type="notation:Node" xmi:id="_0_hUcMuMEd2PF5F8mtjyUw" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.net4j.defs.ecore#//User/userID"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_hUccuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_hUcsuMEd2PF5F8mtjyUw" type="2001">
+ <element xmi:type="ecore:EAttribute" href="org.eclipse.net4j.defs.ecore#//User/password"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_hUc8uMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0_gtYsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0_gtY8uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0_gtZMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_gtZcuMEd2PF5F8mtjyUw" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_0_gtZsuMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_0_gtZ8uMEd2PF5F8mtjyUw"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_0_gtaMuMEd2PF5F8mtjyUw"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_0_gGUcuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="org.eclipse.net4j.defs.ecore#//User"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0_gGUsuMEd2PF5F8mtjyUw" x="32" y="32"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_uZgiIdEQEd2lHcdF0ybKRg" type="1001">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ucp8wNEQEd2lHcdF0ybKRg" source="Shortcut">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ucqj0NEQEd2lHcdF0ybKRg" key="modelID" value="EcoreTools"/>
+ </eAnnotations>
+ <children xmi:type="notation:Node" xmi:id="_ucJmcNEQEd2lHcdF0ybKRg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_ucKNgNEQEd2lHcdF0ybKRg" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ucKNgdEQEd2lHcdF0ybKRg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ucKNgtEQEd2lHcdF0ybKRg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ucKNg9EQEd2lHcdF0ybKRg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ucmSYNEQEd2lHcdF0ybKRg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_ucm5cNEQEd2lHcdF0ybKRg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_ucm5cdEQEd2lHcdF0ybKRg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_ucm5ctEQEd2lHcdF0ybKRg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_uZhwQNEQEd2lHcdF0ybKRg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="platform:/resource/org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//ExecutorServiceDef"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uZhwQdEQEd2lHcdF0ybKRg" x="1008" y="160"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ucrx8NEQEd2lHcdF0ybKRg" type="1001">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ucu1QNEQEd2lHcdF0ybKRg" source="Shortcut">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ucu1QdEQEd2lHcdF0ybKRg" key="modelID" value="EcoreTools"/>
+ </eAnnotations>
+ <children xmi:type="notation:Node" xmi:id="_uctAENEQEd2lHcdF0ybKRg" type="4001"/>
+ <children xmi:type="notation:Node" xmi:id="_uctAEdEQEd2lHcdF0ybKRg" type="5001">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_uctAEtEQEd2lHcdF0ybKRg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_uctAE9EQEd2lHcdF0ybKRg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_uctAFNEQEd2lHcdF0ybKRg"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_uctnINEQEd2lHcdF0ybKRg" type="5002">
+ <styles xmi:type="notation:DrawerStyle" xmi:id="_uctnIdEQEd2lHcdF0ybKRg"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_uctnItEQEd2lHcdF0ybKRg"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_uctnI9EQEd2lHcdF0ybKRg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_ucrx8dEQEd2lHcdF0ybKRg" fontName="Sans" fontHeight="10" fillColor="13761016" lineColor="0"/>
+ <element xmi:type="ecore:EClass" href="platform:/resource/org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.ecore#//Def"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ucrx8tEQEd2lHcdF0ybKRg" x="1456" y="160"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_05gMAsuMEd2PF5F8mtjyUw"/>
+ <element xmi:type="ecore:EPackage" href="org.eclipse.net4j.defs.ecore#/"/>
+ <edges xmi:type="notation:Edge" xmi:id="_0_yaMMuMEd2PF5F8mtjyUw" type="3002" source="_0-ZTEMuMEd2PF5F8mtjyUw" target="_0-63gcuMEd2PF5F8mtjyUw">
+ <children xmi:type="notation:Node" xmi:id="_0_0PYMuMEd2PF5F8mtjyUw" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_0PYcuMEd2PF5F8mtjyUw" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_02cMuMEd2PF5F8mtjyUw" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_02ccuMEd2PF5F8mtjyUw" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_yaMcuMEd2PF5F8mtjyUw" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_yaMsuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.net4j.defs.ecore#//ConnectorDef/bufferProvider"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_yaM8uMEd2PF5F8mtjyUw" points="[0, 0, 152, 228]$[-151, -61, 1, 167]$[-151, -228, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1ED2MMuMEd2PF5F8mtjyUw" id="(0.3255814,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1ED2McuMEd2PF5F8mtjyUw" id="(0.51079136,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_02csuMEd2PF5F8mtjyUw" type="3002" source="_0-ZTEMuMEd2PF5F8mtjyUw" target="_0-1_AcuMEd2PF5F8mtjyUw">
+ <children xmi:type="notation:Node" xmi:id="_0_1dgMuMEd2PF5F8mtjyUw" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_1dgcuMEd2PF5F8mtjyUw" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_2EkMuMEd2PF5F8mtjyUw" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_2EkcuMEd2PF5F8mtjyUw" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_02c8uMEd2PF5F8mtjyUw" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_02dMuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.net4j.defs.ecore#//ConnectorDef/negotiator"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_02dcuMEd2PF5F8mtjyUw" points="[0, 0, 299, 102]$[-286, -61, 13, 41]$[-298, -102, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1EAL0MuMEd2PF5F8mtjyUw" id="(0.1627907,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1EAL0cuMEd2PF5F8mtjyUw" id="(0.5964912,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_2EksuMEd2PF5F8mtjyUw" type="3002" source="_0-ZTEMuMEd2PF5F8mtjyUw" target="_0-mHYMuMEd2PF5F8mtjyUw">
+ <children xmi:type="notation:Node" xmi:id="_0_2roMuMEd2PF5F8mtjyUw" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_2rocuMEd2PF5F8mtjyUw" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_2rosuMEd2PF5F8mtjyUw" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_2ro8uMEd2PF5F8mtjyUw" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_2Ek8uMEd2PF5F8mtjyUw" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_2ElMuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.net4j.defs.ecore#//ConnectorDef/clientProtocolProvider"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_2ElcuMEd2PF5F8mtjyUw" points="[0, 0, -226, 102]$[165, -61, -61, 41]$[227, -102, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1EAy4MuMEd2PF5F8mtjyUw" id="(0.65891474,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1EAy4cuMEd2PF5F8mtjyUw" id="(0.4972973,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_3SsMuMEd2PF5F8mtjyUw" type="3003" source="_0-mHYMuMEd2PF5F8mtjyUw" target="_0-8ssMuMEd2PF5F8mtjyUw">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_3SscuMEd2PF5F8mtjyUw" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_3SssuMEd2PF5F8mtjyUw" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_3Ss8uMEd2PF5F8mtjyUw" points="[1, 0, 192, 85]$[1, -30, 192, 55]$[-191, -30, 0, 55]$[-191, -85, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D3B4MuMEd2PF5F8mtjyUw" id="(0.4972973,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D3B4cuMEd2PF5F8mtjyUw" id="(0.6644737,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_35wMuMEd2PF5F8mtjyUw" type="3002" source="_0-ojoMuMEd2PF5F8mtjyUw" target="_0-5CUMuMEd2PF5F8mtjyUw">
+ <children xmi:type="notation:Node" xmi:id="_0_35xMuMEd2PF5F8mtjyUw" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_35xcuMEd2PF5F8mtjyUw" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_35xsuMEd2PF5F8mtjyUw" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_35x8uMEd2PF5F8mtjyUw" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_35wcuMEd2PF5F8mtjyUw" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_35wsuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.net4j.defs.ecore#//TCPConnectorDef/tcpSelectorDef"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_35w8uMEd2PF5F8mtjyUw" points="[0, 0, 135, 68]$[-135, -68, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D-WoMuMEd2PF5F8mtjyUw" id="(0.33333334,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D-WocuMEd2PF5F8mtjyUw" id="(0.7478992,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_4g0MuMEd2PF5F8mtjyUw" type="3003" source="_0-ojoMuMEd2PF5F8mtjyUw" target="_0-ZTEMuMEd2PF5F8mtjyUw">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_4g0cuMEd2PF5F8mtjyUw" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_4g0suMEd2PF5F8mtjyUw" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_4g08uMEd2PF5F8mtjyUw" points="[0, 0, -178, 60]$[0, -30, -178, 30]$[179, -30, 1, 30]$[179, -60, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D-9sMuMEd2PF5F8mtjyUw" id="(0.6666667,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D-9scuMEd2PF5F8mtjyUw" id="(0.24806201,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_4g1MuMEd2PF5F8mtjyUw" type="3002" source="_0-vRUMuMEd2PF5F8mtjyUw" target="_0-7emMuMEd2PF5F8mtjyUw">
+ <children xmi:type="notation:Node" xmi:id="_0_4g2MuMEd2PF5F8mtjyUw" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_4g2cuMEd2PF5F8mtjyUw" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_4g2suMEd2PF5F8mtjyUw" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_4g28uMEd2PF5F8mtjyUw" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_4g1cuMEd2PF5F8mtjyUw" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_4g1suMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.net4j.defs.ecore#//AcceptorDef/bufferProvider"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_4g18uMEd2PF5F8mtjyUw" points="[0, 0, 157, 102]$[-114, -61, 43, 41]$[-157, -102, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D76YcuMEd2PF5F8mtjyUw" id="(0.24509804,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D8hcMuMEd2PF5F8mtjyUw" id="(0.49541286,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_5H4MuMEd2PF5F8mtjyUw" type="3002" source="_0-vRUMuMEd2PF5F8mtjyUw" target="_0-1_AcuMEd2PF5F8mtjyUw">
+ <children xmi:type="notation:Node" xmi:id="_0_5H5MuMEd2PF5F8mtjyUw" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_5H5cuMEd2PF5F8mtjyUw" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_5H5suMEd2PF5F8mtjyUw" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_5H58uMEd2PF5F8mtjyUw" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_5H4cuMEd2PF5F8mtjyUw" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_5H4suMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.net4j.defs.ecore#//AcceptorDef/negotiator"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_5H48uMEd2PF5F8mtjyUw" points="[0, 0, -177, 102]$[168, -61, -9, 41]$[178, -102, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D9IgMuMEd2PF5F8mtjyUw" id="(0.74509805,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D9vkMuMEd2PF5F8mtjyUw" id="(0.19298245,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_5H6MuMEd2PF5F8mtjyUw" type="3002" source="_0-vRUMuMEd2PF5F8mtjyUw" target="_0-5paMuMEd2PF5F8mtjyUw">
+ <children xmi:type="notation:Node" xmi:id="_0_5u8MuMEd2PF5F8mtjyUw" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_5u8cuMEd2PF5F8mtjyUw" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_5u8suMEd2PF5F8mtjyUw" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_5u88uMEd2PF5F8mtjyUw" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_5H6cuMEd2PF5F8mtjyUw" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_5H6suMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.net4j.defs.ecore#//AcceptorDef/serverProtocolProvider"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_5H68uMEd2PF5F8mtjyUw" points="[0, 0, 1, 102]$[0, -102, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D7TUsuMEd2PF5F8mtjyUw" id="(0.5,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D76YMuMEd2PF5F8mtjyUw" id="(0.35978836,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_5u9MuMEd2PF5F8mtjyUw" type="3002" source="_0-wfdMuMEd2PF5F8mtjyUw" target="_0-5CUMuMEd2PF5F8mtjyUw">
+ <children xmi:type="notation:Node" xmi:id="_0_5u-MuMEd2PF5F8mtjyUw" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_5u-cuMEd2PF5F8mtjyUw" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_5u-suMEd2PF5F8mtjyUw" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_5u-8uMEd2PF5F8mtjyUw" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_5u9cuMEd2PF5F8mtjyUw" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_5u9suMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.net4j.defs.ecore#//TCPAcceptorDef/tcpSelectorDef"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_5u98uMEd2PF5F8mtjyUw" points="[0, 0, 0, 68]$[0, -68, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D6FMMuMEd2PF5F8mtjyUw" id="(0.5,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D6FMcuMEd2PF5F8mtjyUw" id="(0.49579832,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_6WAMuMEd2PF5F8mtjyUw" type="3003" source="_0-wfdMuMEd2PF5F8mtjyUw" target="_0-vRUMuMEd2PF5F8mtjyUw">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_6WAcuMEd2PF5F8mtjyUw" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_6WAsuMEd2PF5F8mtjyUw" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_6WA8uMEd2PF5F8mtjyUw" points="[0, 0, 114, 68]$[0, -30, 114, 38]$[-114, -30, 0, 38]$[-114, -68, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D5eIcuMEd2PF5F8mtjyUw" id="(0.24590164,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D5eIsuMEd2PF5F8mtjyUw" id="(0.74509805,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_6WBMuMEd2PF5F8mtjyUw" type="3003" source="_0-xtlMuMEd2PF5F8mtjyUw" target="_0-vRUMuMEd2PF5F8mtjyUw">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_6WBcuMEd2PF5F8mtjyUw" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_6WBsuMEd2PF5F8mtjyUw" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_6WB8uMEd2PF5F8mtjyUw" points="[0, 0, 0, 68]$[0, -68, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D4QAcuMEd2PF5F8mtjyUw" id="(0.6048387,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D4QAsuMEd2PF5F8mtjyUw" id="(0.5,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_6WCMuMEd2PF5F8mtjyUw" type="3003" source="_0-ziwMuMEd2PF5F8mtjyUw" target="_0-ZTEMuMEd2PF5F8mtjyUw">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_6WCcuMEd2PF5F8mtjyUw" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_6WCsuMEd2PF5F8mtjyUw" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_6WC8uMEd2PF5F8mtjyUw" points="[1, 0, 1, 60]$[1, -60, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D43EMuMEd2PF5F8mtjyUw" id="(0.80451125,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D43EcuMEd2PF5F8mtjyUw" id="(0.49612403,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_69EMuMEd2PF5F8mtjyUw" type="3003" source="_0-0w4suMEd2PF5F8mtjyUw" target="_0-ZTEMuMEd2PF5F8mtjyUw">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_69EcuMEd2PF5F8mtjyUw" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_69EsuMEd2PF5F8mtjyUw" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_69E8uMEd2PF5F8mtjyUw" points="[0, 0, 126, 60]$[0, -30, 126, 30]$[-125, -30, 1, 30]$[-125, -60, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D3o8suMEd2PF5F8mtjyUw" id="(0.5,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D4QAMuMEd2PF5F8mtjyUw" id="(0.74418604,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_69FMuMEd2PF5F8mtjyUw" type="3002" source="_0-3NIMuMEd2PF5F8mtjyUw" target="_0_ZYoMuMEd2PF5F8mtjyUw">
+ <children xmi:type="notation:Node" xmi:id="_0_69GMuMEd2PF5F8mtjyUw" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_69GcuMEd2PF5F8mtjyUw" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_69GsuMEd2PF5F8mtjyUw" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_69G8uMEd2PF5F8mtjyUw" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_69FcuMEd2PF5F8mtjyUw" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_69FsuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.net4j.defs.ecore#//ResponseNegotiatorDef/credentialsProvider"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_69F8uMEd2PF5F8mtjyUw" points="[0, 0, -469, 94]$[453, -61, -16, 33]$[469, -94, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D6sQMuMEd2PF5F8mtjyUw" id="(0.6647399,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D6sQcuMEd2PF5F8mtjyUw" id="(0.24855492,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_7kIMuMEd2PF5F8mtjyUw" type="3003" source="_0-3NIMuMEd2PF5F8mtjyUw" target="_0-1_AcuMEd2PF5F8mtjyUw">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_7kIcuMEd2PF5F8mtjyUw" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_7kIsuMEd2PF5F8mtjyUw" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_7kI8uMEd2PF5F8mtjyUw" points="[1, 0, 501, 102]$[1, -30, 501, 72]$[-499, -30, 1, 72]$[-499, -102, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D7TUMuMEd2PF5F8mtjyUw" id="(0.32947975,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D7TUcuMEd2PF5F8mtjyUw" id="(0.7982456,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_8LMMuMEd2PF5F8mtjyUw" type="3003" source="_0-30NMuMEd2PF5F8mtjyUw" target="_0-1_AcuMEd2PF5F8mtjyUw">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_8LMcuMEd2PF5F8mtjyUw" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_8LMsuMEd2PF5F8mtjyUw" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_8LM8uMEd2PF5F8mtjyUw" points="[0, 0, 152, 102]$[0, -30, 152, 72]$[-152, -30, 0, 72]$[-152, -102, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D43EsuMEd2PF5F8mtjyUw" id="(0.5,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D5eIMuMEd2PF5F8mtjyUw" id="(0.39473686,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_8LNMuMEd2PF5F8mtjyUw" type="3003" source="_0-5paMuMEd2PF5F8mtjyUw" target="_0-8ssMuMEd2PF5F8mtjyUw">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_8LNcuMEd2PF5F8mtjyUw" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_8LNsuMEd2PF5F8mtjyUw" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_8LN8uMEd2PF5F8mtjyUw" points="[0, 0, -568, 85]$[0, -30, -568, 55]$[569, -30, 1, 55]$[569, -85, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1EBZ8MuMEd2PF5F8mtjyUw" id="(0.4973545,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1EBZ8cuMEd2PF5F8mtjyUw" id="(0.32894737,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_8yQMuMEd2PF5F8mtjyUw" type="3003" source="_0-7emMuMEd2PF5F8mtjyUw" target="_0-63gcuMEd2PF5F8mtjyUw">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_8yQcuMEd2PF5F8mtjyUw" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_8yQsuMEd2PF5F8mtjyUw" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_8yQ8uMEd2PF5F8mtjyUw" points="[0, 0, -564, 85]$[0, -30, -564, 55]$[564, -30, 0, 55]$[564, -85, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1EBZ8suMEd2PF5F8mtjyUw" id="(0.49541286,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1EBZ88uMEd2PF5F8mtjyUw" id="(0.25179857,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_8yRMuMEd2PF5F8mtjyUw" type="3003" source="_0_b04MuMEd2PF5F8mtjyUw" target="_0_ZYoMuMEd2PF5F8mtjyUw">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_8yRcuMEd2PF5F8mtjyUw" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_8yRsuMEd2PF5F8mtjyUw" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_8yR8uMEd2PF5F8mtjyUw" points="[1, 0, 0, 94]$[1, -94, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D3o8MuMEd2PF5F8mtjyUw" id="(0.4978355,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D3o8cuMEd2PF5F8mtjyUw" id="(0.49710983,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_0_8ySMuMEd2PF5F8mtjyUw" type="3002" source="_0_dqEMuMEd2PF5F8mtjyUw" target="_0_gGUMuMEd2PF5F8mtjyUw">
+ <children xmi:type="notation:Node" xmi:id="_0_9ZUcuMEd2PF5F8mtjyUw" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_9ZUsuMEd2PF5F8mtjyUw" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_0_9ZU8uMEd2PF5F8mtjyUw" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_0_9ZVMuMEd2PF5F8mtjyUw" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_0_8yScuMEd2PF5F8mtjyUw" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_0_8ySsuMEd2PF5F8mtjyUw" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.net4j.defs.ecore#//UserManagerDef/user"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0_9ZUMuMEd2PF5F8mtjyUw" points="[1, 0, 1, 60]$[1, -60, 1, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D_kwMuMEd2PF5F8mtjyUw" id="(0.49612403,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1D_kwcuMEd2PF5F8mtjyUw" id="(0.4966443,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_ufiRoNEQEd2lHcdF0ybKRg" type="3002" source="_0-ZTEMuMEd2PF5F8mtjyUw" target="_uZgiIdEQEd2lHcdF0ybKRg">
+ <children xmi:type="notation:Node" xmi:id="_ufjfwNEQEd2lHcdF0ybKRg" type="4011">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_ufjfwdEQEd2lHcdF0ybKRg" x="-10" y="-10"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_ufkG0NEQEd2lHcdF0ybKRg" type="4012">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_ufkG0dEQEd2lHcdF0ybKRg" x="10" y="10"/>
+ </children>
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_ufiRodEQEd2lHcdF0ybKRg" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_ufiRotEQEd2lHcdF0ybKRg" fontName="Sans" fontHeight="10"/>
+ <element xmi:type="ecore:EReference" href="org.eclipse.net4j.defs.ecore#//ConnectorDef/executorService"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ufiRo9EQEd2lHcdF0ybKRg" points="[1, 0, 0, 85]$[1, -85, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uhVocNEQEd2lHcdF0ybKRg" id="(0.49612403,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uhVocdEQEd2lHcdF0ybKRg" id="(0.36,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Edge" xmi:id="_ufl8ANEQEd2lHcdF0ybKRg" type="3003" source="_0-ZTEMuMEd2PF5F8mtjyUw" target="_ucrx8NEQEd2lHcdF0ybKRg">
+ <styles xmi:type="notation:ConnectorStyle" xmi:id="_ufl8AdEQEd2lHcdF0ybKRg" routing="Tree" lineColor="0"/>
+ <styles xmi:type="notation:FontStyle" xmi:id="_ufl8AtEQEd2lHcdF0ybKRg" fontName="Sans"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ufl8A9EQEd2lHcdF0ybKRg" points="[1, 0, -460, 60]$[1, -30, -460, 30]$[461, -30, 0, 30]$[461, -60, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uhTMMNEQEd2lHcdF0ybKRg" id="(0.82945734,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uhTzQNEQEd2lHcdF0ybKRg" id="(0.49756098,1.0)"/>
+ </edges>
+</notation:Diagram>
diff --git a/plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.genmodel b/plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.genmodel
new file mode 100644
index 0000000000..09d9c56ddc
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/model/org.eclipse.net4j.defs.genmodel
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.net4j.defs/src"
+ modelPluginID="org.eclipse.net4j.defs" modelName="Org.eclipse.net4j" importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="5.0" copyrightFields="false" usedGenPackages="../../org.eclipse.net4j.util.defs/model/org.eclipse.net4j.util.defs.genmodel#//net4jutildefs">
+ <foreignModel>org.eclipse.net4j.defs.ecore</foreignModel>
+ <genPackages prefix="Net4jDefs" basePackage="org.eclipse.net4j" disposableProviderFactory="true"
+ ecorePackage="org.eclipse.net4j.defs.ecore#/">
+ <genClasses image="false" ecoreClass="org.eclipse.net4j.defs.ecore#//ConnectorDef">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.net4j.defs.ecore#//ConnectorDef/userID"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.net4j.defs.ecore#//ConnectorDef/bufferProviderDef"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.net4j.defs.ecore#//ConnectorDef/executorServiceDef"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.net4j.defs.ecore#//ConnectorDef/negotiatorDef"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.net4j.defs.ecore#//ConnectorDef/clientProtocolFactoryDef"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="org.eclipse.net4j.defs.ecore#//ClientProtocolFactoryDef"/>
+ <genClasses ecoreClass="org.eclipse.net4j.defs.ecore#//TCPConnectorDef">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.net4j.defs.ecore#//TCPConnectorDef/tcpSelectorDef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.net4j.defs.ecore#//TCPConnectorDef/host"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.net4j.defs.ecore#//TCPConnectorDef/port"/>
+ </genClasses>
+ <genClasses ecoreClass="org.eclipse.net4j.defs.ecore#//AcceptorDef">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.net4j.defs.ecore#//AcceptorDef/negotiatorDef"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.net4j.defs.ecore#//AcceptorDef/threadPoolDef"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.net4j.defs.ecore#//AcceptorDef/bufferPoolDef"/>
+ </genClasses>
+ <genClasses ecoreClass="org.eclipse.net4j.defs.ecore#//TCPAcceptorDef">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.net4j.defs.ecore#//TCPAcceptorDef/host"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.net4j.defs.ecore#//TCPAcceptorDef/port"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference org.eclipse.net4j.defs.ecore#//TCPAcceptorDef/tcpSelectorDef"/>
+ </genClasses>
+ <genClasses ecoreClass="org.eclipse.net4j.defs.ecore#//JVMAcceptorDef">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.net4j.defs.ecore#//JVMAcceptorDef/name"/>
+ </genClasses>
+ <genClasses ecoreClass="org.eclipse.net4j.defs.ecore#//JVMConnectorDef">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.net4j.defs.ecore#//JVMConnectorDef/name"/>
+ </genClasses>
+ <genClasses ecoreClass="org.eclipse.net4j.defs.ecore#//HTTPConnectorDef">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute org.eclipse.net4j.defs.ecore#//HTTPConnectorDef/url"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="org.eclipse.net4j.defs.ecore#//NegotiatorDef"/>
+ <genClasses ecoreClass="org.eclipse.net4j.defs.ecore#//ResponseNegotiatorDef"/>
+ <genClasses ecoreClass="org.eclipse.net4j.defs.ecore#//ChallengeNegotiatorDef"/>
+ <genClasses ecoreClass="org.eclipse.net4j.defs.ecore#//TCPSelectorDef"/>
+ <genClasses image="false" ecoreClass="org.eclipse.net4j.defs.ecore#//ServerProtocolFactoryDef"/>
+ </genPackages>
+</genmodel:GenModel>
diff --git a/plugins/org.eclipse.net4j.defs/plugin.properties b/plugins/org.eclipse.net4j.defs/plugin.properties
new file mode 100644
index 0000000000..27661fb89d
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/plugin.properties
@@ -0,0 +1,25 @@
+# Copyright (c) 2004 - 2008 André Dietisheim, Switzerland.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# André Dietisheim - initial API and implementation
+
+# NLS_MESSAGEFORMAT_VAR
+
+# ==============================================================================
+# Do not change the properties between this line and the last line containing:
+# %%% END OF TRANSLATED PROPERTIES %%%
+# Instead, either redefine an existing property, or create a new property,
+# append it to the end of the file, and change the code to use the new name.
+# ==============================================================================
+
+pluginName = Net4j Signalling Platform Definitions
+providerName = Eclipse.org
+
+# ==============================================================================
+# %%% END OF TRANSLATED PROPERTIES %%%
+# The above properties have been shipped for translation.
+# ==============================================================================
diff --git a/plugins/org.eclipse.net4j.defs/plugin.xml b/plugins/org.eclipse.net4j.defs/plugin.xml
new file mode 100644
index 0000000000..97f1b32610
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/plugin.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<!--
+ <copyright>
+ </copyright>
+
+ $Id: plugin.xml,v 1.1 2008-12-28 18:07:30 estepper Exp $
+-->
+
+<plugin>
+
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <package
+ uri="http://www.eclipse.org/NET4J/util/defs/1.0.0"
+ class="org.eclipse.net4j.net4jdefs.Net4jDefsPackage"
+ genModel="model/org.eclipse.net4j.defs.genmodel"/>
+ </extension>
+
+</plugin>
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/AcceptorDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/AcceptorDef.java
new file mode 100644
index 0000000000..8277c1a040
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/AcceptorDef.java
@@ -0,0 +1,178 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: AcceptorDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+import org.eclipse.net4j.util.net4jutildefs.ThreadPoolDef;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Acceptor Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getBufferProvider <em>Buffer Provider</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getExecutorService <em>Executor Service</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getNegotiator <em>Negotiator</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getServerProtocolProvider <em>Server Protocol Provider</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getAcceptorDef()
+ * @model abstract="true"
+ * @generated
+ */
+public interface AcceptorDef extends Def {
+ /**
+ * Returns the value of the '<em><b>Buffer Provider</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Buffer Provider</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Buffer Provider</em>' reference.
+ * @see #setBufferProvider(BufferPoolDef)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getAcceptorDef_BufferProvider()
+ * @model
+ * @generated
+ */
+ BufferPoolDef getBufferProvider();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getBufferProvider <em>Buffer Provider</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Buffer Provider</em>' reference.
+ * @see #getBufferProvider()
+ * @generated
+ */
+ void setBufferProvider(BufferPoolDef value);
+
+ /**
+ * Returns the value of the '<em><b>Executor Service</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Executor Service</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Executor Service</em>' reference.
+ * @see #setExecutorService(ThreadPoolDef)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getAcceptorDef_ExecutorService()
+ * @model
+ * @generated
+ */
+ ThreadPoolDef getExecutorService();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getExecutorService <em>Executor Service</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Executor Service</em>' reference.
+ * @see #getExecutorService()
+ * @generated
+ */
+ void setExecutorService(ThreadPoolDef value);
+
+ /**
+ * Returns the value of the '<em><b>Negotiator</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Negotiator</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Negotiator</em>' reference.
+ * @see #isSetNegotiator()
+ * @see #unsetNegotiator()
+ * @see #setNegotiator(NegotiatorDef)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getAcceptorDef_Negotiator()
+ * @model unsettable="true"
+ * @generated
+ */
+ NegotiatorDef getNegotiator();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getNegotiator <em>Negotiator</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Negotiator</em>' reference.
+ * @see #isSetNegotiator()
+ * @see #unsetNegotiator()
+ * @see #getNegotiator()
+ * @generated
+ */
+ void setNegotiator(NegotiatorDef value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getNegotiator <em>Negotiator</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetNegotiator()
+ * @see #getNegotiator()
+ * @see #setNegotiator(NegotiatorDef)
+ * @generated
+ */
+ void unsetNegotiator();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getNegotiator <em>Negotiator</em>}' reference is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Negotiator</em>' reference is set.
+ * @see #unsetNegotiator()
+ * @see #getNegotiator()
+ * @see #setNegotiator(NegotiatorDef)
+ * @generated
+ */
+ boolean isSetNegotiator();
+
+ /**
+ * Returns the value of the '<em><b>Server Protocol Provider</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Server Protocol Provider</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Server Protocol Provider</em>' reference list.
+ * @see #isSetServerProtocolProvider()
+ * @see #unsetServerProtocolProvider()
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getAcceptorDef_ServerProtocolProvider()
+ * @model unsettable="true" required="true"
+ * @generated
+ */
+ EList<ServerProtocolFactoryDef> getServerProtocolProvider();
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getServerProtocolProvider <em>Server Protocol Provider</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetServerProtocolProvider()
+ * @see #getServerProtocolProvider()
+ * @generated
+ */
+ void unsetServerProtocolProvider();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getServerProtocolProvider <em>Server Protocol Provider</em>}' reference list is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Server Protocol Provider</em>' reference list is set.
+ * @see #unsetServerProtocolProvider()
+ * @see #getServerProtocolProvider()
+ * @generated
+ */
+ boolean isSetServerProtocolProvider();
+
+} // AcceptorDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/BufferPoolDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/BufferPoolDef.java
new file mode 100644
index 0000000000..8d9c8629a0
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/BufferPoolDef.java
@@ -0,0 +1,21 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: BufferPoolDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Buffer Pool Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getBufferPoolDef()
+ * @model
+ * @generated
+ */
+public interface BufferPoolDef extends BufferProviderDef {
+} // BufferPoolDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/BufferProviderDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/BufferProviderDef.java
new file mode 100644
index 0000000000..1fc208d8ce
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/BufferProviderDef.java
@@ -0,0 +1,23 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: BufferProviderDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Buffer Provider Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getBufferProviderDef()
+ * @model abstract="true"
+ * @generated
+ */
+public interface BufferProviderDef extends Def {
+} // BufferProviderDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ChallengeNegotiatorDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ChallengeNegotiatorDef.java
new file mode 100644
index 0000000000..ddf22c8a81
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ChallengeNegotiatorDef.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ChallengeNegotiatorDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Challenge Negotiator Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef#getUserManager <em>User Manager</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef#getRandomizer <em>Randomizer</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getChallengeNegotiatorDef()
+ * @model
+ * @generated
+ */
+public interface ChallengeNegotiatorDef extends NegotiatorDef {
+
+ /**
+ * Returns the value of the '<em><b>User Manager</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>User Manager</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>User Manager</em>' reference.
+ * @see #setUserManager(UserManagerDef)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getChallengeNegotiatorDef_UserManager()
+ * @model
+ * @generated
+ */
+ UserManagerDef getUserManager();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef#getUserManager <em>User Manager</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>User Manager</em>' reference.
+ * @see #getUserManager()
+ * @generated
+ */
+ void setUserManager(UserManagerDef value);
+
+ /**
+ * Returns the value of the '<em><b>Randomizer</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Randomizer</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Randomizer</em>' reference.
+ * @see #setRandomizer(RandomizerDef)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getChallengeNegotiatorDef_Randomizer()
+ * @model
+ * @generated
+ */
+ RandomizerDef getRandomizer();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef#getRandomizer <em>Randomizer</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Randomizer</em>' reference.
+ * @see #getRandomizer()
+ * @generated
+ */
+ void setRandomizer(RandomizerDef value);
+} // ChallengeNegotiatorDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ClientProtocolFactoryDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ClientProtocolFactoryDef.java
new file mode 100644
index 0000000000..b87605e0b7
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ClientProtocolFactoryDef.java
@@ -0,0 +1,21 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ClientProtocolFactoryDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Client Protocol Factory Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getClientProtocolFactoryDef()
+ * @model abstract="true"
+ * @generated
+ */
+public interface ClientProtocolFactoryDef extends ProtocolProviderDef {
+} // ClientProtocolFactoryDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ConnectorDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ConnectorDef.java
new file mode 100644
index 0000000000..37dc6fef6c
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ConnectorDef.java
@@ -0,0 +1,232 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ConnectorDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+import org.eclipse.net4j.util.net4jutildefs.ExecutorServiceDef;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Connector Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getUserID <em>User ID</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getBufferProvider <em>Buffer Provider</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getExecutorService <em>Executor Service</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getNegotiator <em>Negotiator</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getClientProtocolProvider <em>Client Protocol Provider</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getConnectorDef()
+ * @model abstract="true"
+ * @generated
+ */
+public interface ConnectorDef extends Def {
+ /**
+ * Returns the value of the '<em><b>User ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>User ID</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>User ID</em>' attribute.
+ * @see #isSetUserID()
+ * @see #unsetUserID()
+ * @see #setUserID(String)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getConnectorDef_UserID()
+ * @model unsettable="true"
+ * @generated
+ */
+ String getUserID();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getUserID <em>User ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>User ID</em>' attribute.
+ * @see #isSetUserID()
+ * @see #unsetUserID()
+ * @see #getUserID()
+ * @generated
+ */
+ void setUserID(String value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getUserID <em>User ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetUserID()
+ * @see #getUserID()
+ * @see #setUserID(String)
+ * @generated
+ */
+ void unsetUserID();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getUserID <em>User ID</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>User ID</em>' attribute is set.
+ * @see #unsetUserID()
+ * @see #getUserID()
+ * @see #setUserID(String)
+ * @generated
+ */
+ boolean isSetUserID();
+
+ /**
+ * Returns the value of the '<em><b>Buffer Provider</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Buffer Provider</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Buffer Provider</em>' reference.
+ * @see #setBufferProvider(BufferProviderDef)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getConnectorDef_BufferProvider()
+ * @model required="true"
+ * @generated
+ */
+ BufferProviderDef getBufferProvider();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getBufferProvider <em>Buffer Provider</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Buffer Provider</em>' reference.
+ * @see #getBufferProvider()
+ * @generated
+ */
+ void setBufferProvider(BufferProviderDef value);
+
+ /**
+ * Returns the value of the '<em><b>Executor Service</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Executor Service</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Executor Service</em>' reference.
+ * @see #setExecutorService(ExecutorServiceDef)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getConnectorDef_ExecutorService()
+ * @model required="true"
+ * @generated
+ */
+ ExecutorServiceDef getExecutorService();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getExecutorService <em>Executor Service</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Executor Service</em>' reference.
+ * @see #getExecutorService()
+ * @generated
+ */
+ void setExecutorService(ExecutorServiceDef value);
+
+ /**
+ * Returns the value of the '<em><b>Negotiator</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Negotiator</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Negotiator</em>' reference.
+ * @see #isSetNegotiator()
+ * @see #unsetNegotiator()
+ * @see #setNegotiator(NegotiatorDef)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getConnectorDef_Negotiator()
+ * @model unsettable="true"
+ * @generated
+ */
+ NegotiatorDef getNegotiator();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getNegotiator <em>Negotiator</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Negotiator</em>' reference.
+ * @see #isSetNegotiator()
+ * @see #unsetNegotiator()
+ * @see #getNegotiator()
+ * @generated
+ */
+ void setNegotiator(NegotiatorDef value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getNegotiator <em>Negotiator</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetNegotiator()
+ * @see #getNegotiator()
+ * @see #setNegotiator(NegotiatorDef)
+ * @generated
+ */
+ void unsetNegotiator();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getNegotiator <em>Negotiator</em>}' reference is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Negotiator</em>' reference is set.
+ * @see #unsetNegotiator()
+ * @see #getNegotiator()
+ * @see #setNegotiator(NegotiatorDef)
+ * @generated
+ */
+ boolean isSetNegotiator();
+
+ /**
+ * Returns the value of the '<em><b>Client Protocol Provider</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Client Protocol Provider</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Client Protocol Provider</em>' reference list.
+ * @see #isSetClientProtocolProvider()
+ * @see #unsetClientProtocolProvider()
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getConnectorDef_ClientProtocolProvider()
+ * @model unsettable="true" required="true"
+ * @generated
+ */
+ EList<ClientProtocolFactoryDef> getClientProtocolProvider();
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getClientProtocolProvider <em>Client Protocol Provider</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetClientProtocolProvider()
+ * @see #getClientProtocolProvider()
+ * @generated
+ */
+ void unsetClientProtocolProvider();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getClientProtocolProvider <em>Client Protocol Provider</em>}' reference list is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Client Protocol Provider</em>' reference list is set.
+ * @see #unsetClientProtocolProvider()
+ * @see #getClientProtocolProvider()
+ * @generated
+ */
+ boolean isSetClientProtocolProvider();
+
+} // ConnectorDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/CredentialsProviderDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/CredentialsProviderDef.java
new file mode 100644
index 0000000000..14fdf0e4d9
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/CredentialsProviderDef.java
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CredentialsProviderDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Credentials Provider Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.CredentialsProviderDef#getUserID <em>User ID</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getCredentialsProviderDef()
+ * @model abstract="true"
+ * @generated
+ */
+public interface CredentialsProviderDef extends Def {
+ /**
+ * Returns the value of the '<em><b>User ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>User ID</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>User ID</em>' attribute.
+ * @see #setUserID(String)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getCredentialsProviderDef_UserID()
+ * @model
+ * @generated
+ */
+ String getUserID();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.CredentialsProviderDef#getUserID <em>User ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>User ID</em>' attribute.
+ * @see #getUserID()
+ * @generated
+ */
+ void setUserID(String value);
+
+} // CredentialsProviderDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/HTTPConnectorDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/HTTPConnectorDef.java
new file mode 100644
index 0000000000..967b42117b
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/HTTPConnectorDef.java
@@ -0,0 +1,53 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: HTTPConnectorDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>HTTP Connector Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.HTTPConnectorDef#getUrl <em>Url</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getHTTPConnectorDef()
+ * @model
+ * @generated
+ */
+public interface HTTPConnectorDef extends ConnectorDef {
+
+ /**
+ * Returns the value of the '<em><b>Url</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Url</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Url</em>' attribute.
+ * @see #setUrl(String)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getHTTPConnectorDef_Url()
+ * @model
+ * @generated
+ */
+ String getUrl();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.HTTPConnectorDef#getUrl <em>Url</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Url</em>' attribute.
+ * @see #getUrl()
+ * @generated
+ */
+ void setUrl(String value);
+} // HTTPConnectorDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/JVMAcceptorDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/JVMAcceptorDef.java
new file mode 100644
index 0000000000..5a73c1b6d6
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/JVMAcceptorDef.java
@@ -0,0 +1,53 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: JVMAcceptorDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>JVM Acceptor Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.JVMAcceptorDef#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getJVMAcceptorDef()
+ * @model
+ * @generated
+ */
+public interface JVMAcceptorDef extends AcceptorDef {
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getJVMAcceptorDef_Name()
+ * @model
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.JVMAcceptorDef#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+} // JVMAcceptorDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/JVMConnectorDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/JVMConnectorDef.java
new file mode 100644
index 0000000000..4de5b4e73c
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/JVMConnectorDef.java
@@ -0,0 +1,53 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: JVMConnectorDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>JVM Connector Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.JVMConnectorDef#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getJVMConnectorDef()
+ * @model
+ * @generated
+ */
+public interface JVMConnectorDef extends ConnectorDef {
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getJVMConnectorDef_Name()
+ * @model
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.JVMConnectorDef#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+} // JVMConnectorDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/NegotiatorDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/NegotiatorDef.java
new file mode 100644
index 0000000000..98e662502b
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/NegotiatorDef.java
@@ -0,0 +1,22 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: NegotiatorDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Negotiator Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getNegotiatorDef()
+ * @model abstract="true"
+ * @generated
+ */
+public interface NegotiatorDef extends Def {
+} // NegotiatorDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/Net4jDefsFactory.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/Net4jDefsFactory.java
new file mode 100644
index 0000000000..7ebff198ec
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/Net4jDefsFactory.java
@@ -0,0 +1,154 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: Net4jDefsFactory.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage
+ * @generated
+ */
+public interface Net4jDefsFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ Net4jDefsFactory eINSTANCE = org.eclipse.net4j.net4jdefs.impl.Net4jDefsFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>TCP Connector Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>TCP Connector Def</em>'.
+ * @generated
+ */
+ TCPConnectorDef createTCPConnectorDef();
+
+ /**
+ * Returns a new object of class '<em>TCP Acceptor Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>TCP Acceptor Def</em>'.
+ * @generated
+ */
+ TCPAcceptorDef createTCPAcceptorDef();
+
+ /**
+ * Returns a new object of class '<em>JVM Acceptor Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>JVM Acceptor Def</em>'.
+ * @generated
+ */
+ JVMAcceptorDef createJVMAcceptorDef();
+
+ /**
+ * Returns a new object of class '<em>JVM Connector Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>JVM Connector Def</em>'.
+ * @generated
+ */
+ JVMConnectorDef createJVMConnectorDef();
+
+ /**
+ * Returns a new object of class '<em>HTTP Connector Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>HTTP Connector Def</em>'.
+ * @generated
+ */
+ HTTPConnectorDef createHTTPConnectorDef();
+
+ /**
+ * Returns a new object of class '<em>Response Negotiator Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Response Negotiator Def</em>'.
+ * @generated
+ */
+ ResponseNegotiatorDef createResponseNegotiatorDef();
+
+ /**
+ * Returns a new object of class '<em>Challenge Negotiator Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Challenge Negotiator Def</em>'.
+ * @generated
+ */
+ ChallengeNegotiatorDef createChallengeNegotiatorDef();
+
+ /**
+ * Returns a new object of class '<em>TCP Selector Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>TCP Selector Def</em>'.
+ * @generated
+ */
+ TCPSelectorDef createTCPSelectorDef();
+
+ /**
+ * Returns a new object of class '<em>Buffer Pool Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Buffer Pool Def</em>'.
+ * @generated
+ */
+ BufferPoolDef createBufferPoolDef();
+
+ /**
+ * Returns a new object of class '<em>Password Credentials Provider Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Password Credentials Provider Def</em>'.
+ * @generated
+ */
+ PasswordCredentialsProviderDef createPasswordCredentialsProviderDef();
+
+ /**
+ * Returns a new object of class '<em>User Manager Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>User Manager Def</em>'.
+ * @generated
+ */
+ UserManagerDef createUserManagerDef();
+
+ /**
+ * Returns a new object of class '<em>Randomizer Def</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Randomizer Def</em>'.
+ * @generated
+ */
+ RandomizerDef createRandomizerDef();
+
+ /**
+ * Returns a new object of class '<em>User</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>User</em>'.
+ * @generated
+ */
+ User createUser();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ Net4jDefsPackage getNet4jDefsPackage();
+
+} //Net4jDefsFactory
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/Net4jDefsPackage.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/Net4jDefsPackage.java
new file mode 100644
index 0000000000..7bf31a82a7
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/Net4jDefsPackage.java
@@ -0,0 +1,1852 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: Net4jDefsPackage.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Net4jUtilDefsPackage;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface Net4jDefsPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "net4jdefs";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/NET4J/defs/1.0.0";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "net4jdefs";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ Net4jDefsPackage eINSTANCE = org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.ConnectorDefImpl <em>Connector Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.ConnectorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getConnectorDef()
+ * @generated
+ */
+ int CONNECTOR_DEF = 0;
+
+ /**
+ * The feature id for the '<em><b>User ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONNECTOR_DEF__USER_ID = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Buffer Provider</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONNECTOR_DEF__BUFFER_PROVIDER = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Executor Service</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONNECTOR_DEF__EXECUTOR_SERVICE = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Negotiator</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONNECTOR_DEF__NEGOTIATOR = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Client Protocol Provider</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONNECTOR_DEF__CLIENT_PROTOCOL_PROVIDER = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>Connector Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONNECTOR_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.ClientProtocolFactoryDefImpl <em>Client Protocol Factory Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.ClientProtocolFactoryDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getClientProtocolFactoryDef()
+ * @generated
+ */
+ int CLIENT_PROTOCOL_FACTORY_DEF = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.TCPConnectorDefImpl <em>TCP Connector Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.TCPConnectorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getTCPConnectorDef()
+ * @generated
+ */
+ int TCP_CONNECTOR_DEF = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.AcceptorDefImpl <em>Acceptor Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.AcceptorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getAcceptorDef()
+ * @generated
+ */
+ int ACCEPTOR_DEF = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.TCPAcceptorDefImpl <em>TCP Acceptor Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.TCPAcceptorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getTCPAcceptorDef()
+ * @generated
+ */
+ int TCP_ACCEPTOR_DEF = 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.JVMAcceptorDefImpl <em>JVM Acceptor Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.JVMAcceptorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getJVMAcceptorDef()
+ * @generated
+ */
+ int JVM_ACCEPTOR_DEF = 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.JVMConnectorDefImpl <em>JVM Connector Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.JVMConnectorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getJVMConnectorDef()
+ * @generated
+ */
+ int JVM_CONNECTOR_DEF = 6;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.HTTPConnectorDefImpl <em>HTTP Connector Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.HTTPConnectorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getHTTPConnectorDef()
+ * @generated
+ */
+ int HTTP_CONNECTOR_DEF = 7;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.NegotiatorDefImpl <em>Negotiator Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.NegotiatorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getNegotiatorDef()
+ * @generated
+ */
+ int NEGOTIATOR_DEF = 8;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.ResponseNegotiatorDefImpl <em>Response Negotiator Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.ResponseNegotiatorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getResponseNegotiatorDef()
+ * @generated
+ */
+ int RESPONSE_NEGOTIATOR_DEF = 9;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.ChallengeNegotiatorDefImpl <em>Challenge Negotiator Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.ChallengeNegotiatorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getChallengeNegotiatorDef()
+ * @generated
+ */
+ int CHALLENGE_NEGOTIATOR_DEF = 10;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.TCPSelectorDefImpl <em>TCP Selector Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.TCPSelectorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getTCPSelectorDef()
+ * @generated
+ */
+ int TCP_SELECTOR_DEF = 11;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.ServerProtocolFactoryDefImpl <em>Server Protocol Factory Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.ServerProtocolFactoryDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getServerProtocolFactoryDef()
+ * @generated
+ */
+ int SERVER_PROTOCOL_FACTORY_DEF = 12;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.BufferProviderDefImpl <em>Buffer Provider Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.BufferProviderDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getBufferProviderDef()
+ * @generated
+ */
+ int BUFFER_PROVIDER_DEF = 13;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.BufferPoolDefImpl <em>Buffer Pool Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.BufferPoolDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getBufferPoolDef()
+ * @generated
+ */
+ int BUFFER_POOL_DEF = 14;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.ProtocolProviderDefImpl <em>Protocol Provider Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.ProtocolProviderDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getProtocolProviderDef()
+ * @generated
+ */
+ int PROTOCOL_PROVIDER_DEF = 15;
+
+ /**
+ * The number of structural features of the '<em>Protocol Provider Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROTOCOL_PROVIDER_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Client Protocol Factory Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CLIENT_PROTOCOL_FACTORY_DEF_FEATURE_COUNT = PROTOCOL_PROVIDER_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>User ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_CONNECTOR_DEF__USER_ID = CONNECTOR_DEF__USER_ID;
+
+ /**
+ * The feature id for the '<em><b>Buffer Provider</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_CONNECTOR_DEF__BUFFER_PROVIDER = CONNECTOR_DEF__BUFFER_PROVIDER;
+
+ /**
+ * The feature id for the '<em><b>Executor Service</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_CONNECTOR_DEF__EXECUTOR_SERVICE = CONNECTOR_DEF__EXECUTOR_SERVICE;
+
+ /**
+ * The feature id for the '<em><b>Negotiator</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_CONNECTOR_DEF__NEGOTIATOR = CONNECTOR_DEF__NEGOTIATOR;
+
+ /**
+ * The feature id for the '<em><b>Client Protocol Provider</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_CONNECTOR_DEF__CLIENT_PROTOCOL_PROVIDER = CONNECTOR_DEF__CLIENT_PROTOCOL_PROVIDER;
+
+ /**
+ * The feature id for the '<em><b>Tcp Selector Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_CONNECTOR_DEF__TCP_SELECTOR_DEF = CONNECTOR_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Host</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_CONNECTOR_DEF__HOST = CONNECTOR_DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Port</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_CONNECTOR_DEF__PORT = CONNECTOR_DEF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>TCP Connector Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_CONNECTOR_DEF_FEATURE_COUNT = CONNECTOR_DEF_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Buffer Provider</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACCEPTOR_DEF__BUFFER_PROVIDER = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Executor Service</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACCEPTOR_DEF__EXECUTOR_SERVICE = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Negotiator</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACCEPTOR_DEF__NEGOTIATOR = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Server Protocol Provider</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACCEPTOR_DEF__SERVER_PROTOCOL_PROVIDER = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Acceptor Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACCEPTOR_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Buffer Provider</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_ACCEPTOR_DEF__BUFFER_PROVIDER = ACCEPTOR_DEF__BUFFER_PROVIDER;
+
+ /**
+ * The feature id for the '<em><b>Executor Service</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_ACCEPTOR_DEF__EXECUTOR_SERVICE = ACCEPTOR_DEF__EXECUTOR_SERVICE;
+
+ /**
+ * The feature id for the '<em><b>Negotiator</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_ACCEPTOR_DEF__NEGOTIATOR = ACCEPTOR_DEF__NEGOTIATOR;
+
+ /**
+ * The feature id for the '<em><b>Server Protocol Provider</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_ACCEPTOR_DEF__SERVER_PROTOCOL_PROVIDER = ACCEPTOR_DEF__SERVER_PROTOCOL_PROVIDER;
+
+ /**
+ * The feature id for the '<em><b>Host</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_ACCEPTOR_DEF__HOST = ACCEPTOR_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Port</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_ACCEPTOR_DEF__PORT = ACCEPTOR_DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Tcp Selector Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_ACCEPTOR_DEF__TCP_SELECTOR_DEF = ACCEPTOR_DEF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>TCP Acceptor Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_ACCEPTOR_DEF_FEATURE_COUNT = ACCEPTOR_DEF_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Buffer Provider</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JVM_ACCEPTOR_DEF__BUFFER_PROVIDER = ACCEPTOR_DEF__BUFFER_PROVIDER;
+
+ /**
+ * The feature id for the '<em><b>Executor Service</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JVM_ACCEPTOR_DEF__EXECUTOR_SERVICE = ACCEPTOR_DEF__EXECUTOR_SERVICE;
+
+ /**
+ * The feature id for the '<em><b>Negotiator</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JVM_ACCEPTOR_DEF__NEGOTIATOR = ACCEPTOR_DEF__NEGOTIATOR;
+
+ /**
+ * The feature id for the '<em><b>Server Protocol Provider</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JVM_ACCEPTOR_DEF__SERVER_PROTOCOL_PROVIDER = ACCEPTOR_DEF__SERVER_PROTOCOL_PROVIDER;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JVM_ACCEPTOR_DEF__NAME = ACCEPTOR_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>JVM Acceptor Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JVM_ACCEPTOR_DEF_FEATURE_COUNT = ACCEPTOR_DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>User ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JVM_CONNECTOR_DEF__USER_ID = CONNECTOR_DEF__USER_ID;
+
+ /**
+ * The feature id for the '<em><b>Buffer Provider</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JVM_CONNECTOR_DEF__BUFFER_PROVIDER = CONNECTOR_DEF__BUFFER_PROVIDER;
+
+ /**
+ * The feature id for the '<em><b>Executor Service</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JVM_CONNECTOR_DEF__EXECUTOR_SERVICE = CONNECTOR_DEF__EXECUTOR_SERVICE;
+
+ /**
+ * The feature id for the '<em><b>Negotiator</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JVM_CONNECTOR_DEF__NEGOTIATOR = CONNECTOR_DEF__NEGOTIATOR;
+
+ /**
+ * The feature id for the '<em><b>Client Protocol Provider</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JVM_CONNECTOR_DEF__CLIENT_PROTOCOL_PROVIDER = CONNECTOR_DEF__CLIENT_PROTOCOL_PROVIDER;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JVM_CONNECTOR_DEF__NAME = CONNECTOR_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>JVM Connector Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JVM_CONNECTOR_DEF_FEATURE_COUNT = CONNECTOR_DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>User ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HTTP_CONNECTOR_DEF__USER_ID = CONNECTOR_DEF__USER_ID;
+
+ /**
+ * The feature id for the '<em><b>Buffer Provider</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HTTP_CONNECTOR_DEF__BUFFER_PROVIDER = CONNECTOR_DEF__BUFFER_PROVIDER;
+
+ /**
+ * The feature id for the '<em><b>Executor Service</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HTTP_CONNECTOR_DEF__EXECUTOR_SERVICE = CONNECTOR_DEF__EXECUTOR_SERVICE;
+
+ /**
+ * The feature id for the '<em><b>Negotiator</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HTTP_CONNECTOR_DEF__NEGOTIATOR = CONNECTOR_DEF__NEGOTIATOR;
+
+ /**
+ * The feature id for the '<em><b>Client Protocol Provider</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HTTP_CONNECTOR_DEF__CLIENT_PROTOCOL_PROVIDER = CONNECTOR_DEF__CLIENT_PROTOCOL_PROVIDER;
+
+ /**
+ * The feature id for the '<em><b>Url</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HTTP_CONNECTOR_DEF__URL = CONNECTOR_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>HTTP Connector Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HTTP_CONNECTOR_DEF_FEATURE_COUNT = CONNECTOR_DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Negotiator Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NEGOTIATOR_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Credentials Provider</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESPONSE_NEGOTIATOR_DEF__CREDENTIALS_PROVIDER = NEGOTIATOR_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Response Negotiator Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESPONSE_NEGOTIATOR_DEF_FEATURE_COUNT = NEGOTIATOR_DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>User Manager</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHALLENGE_NEGOTIATOR_DEF__USER_MANAGER = NEGOTIATOR_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Randomizer</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHALLENGE_NEGOTIATOR_DEF__RANDOMIZER = NEGOTIATOR_DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Challenge Negotiator Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHALLENGE_NEGOTIATOR_DEF_FEATURE_COUNT = NEGOTIATOR_DEF_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>TCP Selector Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TCP_SELECTOR_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Server Protocol Factory Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SERVER_PROTOCOL_FACTORY_DEF_FEATURE_COUNT = PROTOCOL_PROVIDER_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Buffer Provider Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUFFER_PROVIDER_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Buffer Pool Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BUFFER_POOL_DEF_FEATURE_COUNT = BUFFER_PROVIDER_DEF_FEATURE_COUNT + 0;
+
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.CredentialsProviderDefImpl <em>Credentials Provider Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.CredentialsProviderDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getCredentialsProviderDef()
+ * @generated
+ */
+ int CREDENTIALS_PROVIDER_DEF = 16;
+
+ /**
+ * The feature id for the '<em><b>User ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CREDENTIALS_PROVIDER_DEF__USER_ID = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Credentials Provider Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CREDENTIALS_PROVIDER_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.PasswordCredentialsProviderDefImpl <em>Password Credentials Provider Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.PasswordCredentialsProviderDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getPasswordCredentialsProviderDef()
+ * @generated
+ */
+ int PASSWORD_CREDENTIALS_PROVIDER_DEF = 17;
+
+ /**
+ * The feature id for the '<em><b>User ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PASSWORD_CREDENTIALS_PROVIDER_DEF__USER_ID = CREDENTIALS_PROVIDER_DEF__USER_ID;
+
+ /**
+ * The feature id for the '<em><b>Password</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PASSWORD_CREDENTIALS_PROVIDER_DEF__PASSWORD = CREDENTIALS_PROVIDER_DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Password Credentials Provider Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PASSWORD_CREDENTIALS_PROVIDER_DEF_FEATURE_COUNT = CREDENTIALS_PROVIDER_DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.UserManagerDefImpl <em>User Manager Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.UserManagerDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getUserManagerDef()
+ * @generated
+ */
+ int USER_MANAGER_DEF = 19;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.UserImpl <em>User</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.UserImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getUser()
+ * @generated
+ */
+ int USER = 18;
+
+ /**
+ * The feature id for the '<em><b>User ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER__USER_ID = 0;
+
+ /**
+ * The feature id for the '<em><b>Password</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER__PASSWORD = 1;
+
+ /**
+ * The number of structural features of the '<em>User</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_FEATURE_COUNT = 2;
+
+ /**
+ * The feature id for the '<em><b>User</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_MANAGER_DEF__USER = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>User Manager Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USER_MANAGER_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.net4j.net4jdefs.impl.RandomizerDefImpl <em>Randomizer Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.RandomizerDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getRandomizerDef()
+ * @generated
+ */
+ int RANDOMIZER_DEF = 20;
+
+ /**
+ * The number of structural features of the '<em>Randomizer Def</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RANDOMIZER_DEF_FEATURE_COUNT = Net4jUtilDefsPackage.DEF_FEATURE_COUNT + 0;
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.ConnectorDef <em>Connector Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Connector Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.ConnectorDef
+ * @generated
+ */
+ EClass getConnectorDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getUserID <em>User ID</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>User ID</em>'.
+ * @see org.eclipse.net4j.net4jdefs.ConnectorDef#getUserID()
+ * @see #getConnectorDef()
+ * @generated
+ */
+ EAttribute getConnectorDef_UserID();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getBufferProvider <em>Buffer Provider</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Buffer Provider</em>'.
+ * @see org.eclipse.net4j.net4jdefs.ConnectorDef#getBufferProvider()
+ * @see #getConnectorDef()
+ * @generated
+ */
+ EReference getConnectorDef_BufferProvider();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getExecutorService <em>Executor Service</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Executor Service</em>'.
+ * @see org.eclipse.net4j.net4jdefs.ConnectorDef#getExecutorService()
+ * @see #getConnectorDef()
+ * @generated
+ */
+ EReference getConnectorDef_ExecutorService();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getNegotiator <em>Negotiator</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Negotiator</em>'.
+ * @see org.eclipse.net4j.net4jdefs.ConnectorDef#getNegotiator()
+ * @see #getConnectorDef()
+ * @generated
+ */
+ EReference getConnectorDef_Negotiator();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.net4j.net4jdefs.ConnectorDef#getClientProtocolProvider <em>Client Protocol Provider</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Client Protocol Provider</em>'.
+ * @see org.eclipse.net4j.net4jdefs.ConnectorDef#getClientProtocolProvider()
+ * @see #getConnectorDef()
+ * @generated
+ */
+ EReference getConnectorDef_ClientProtocolProvider();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef <em>Client Protocol Factory Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Client Protocol Factory Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef
+ * @generated
+ */
+ EClass getClientProtocolFactoryDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.TCPConnectorDef <em>TCP Connector Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>TCP Connector Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.TCPConnectorDef
+ * @generated
+ */
+ EClass getTCPConnectorDef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.net4j.net4jdefs.TCPConnectorDef#getTcpSelectorDef <em>Tcp Selector Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Tcp Selector Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.TCPConnectorDef#getTcpSelectorDef()
+ * @see #getTCPConnectorDef()
+ * @generated
+ */
+ EReference getTCPConnectorDef_TcpSelectorDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.net4j.net4jdefs.TCPConnectorDef#getHost <em>Host</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Host</em>'.
+ * @see org.eclipse.net4j.net4jdefs.TCPConnectorDef#getHost()
+ * @see #getTCPConnectorDef()
+ * @generated
+ */
+ EAttribute getTCPConnectorDef_Host();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.net4j.net4jdefs.TCPConnectorDef#getPort <em>Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Port</em>'.
+ * @see org.eclipse.net4j.net4jdefs.TCPConnectorDef#getPort()
+ * @see #getTCPConnectorDef()
+ * @generated
+ */
+ EAttribute getTCPConnectorDef_Port();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.AcceptorDef <em>Acceptor Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Acceptor Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.AcceptorDef
+ * @generated
+ */
+ EClass getAcceptorDef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getBufferProvider <em>Buffer Provider</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Buffer Provider</em>'.
+ * @see org.eclipse.net4j.net4jdefs.AcceptorDef#getBufferProvider()
+ * @see #getAcceptorDef()
+ * @generated
+ */
+ EReference getAcceptorDef_BufferProvider();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getExecutorService <em>Executor Service</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Executor Service</em>'.
+ * @see org.eclipse.net4j.net4jdefs.AcceptorDef#getExecutorService()
+ * @see #getAcceptorDef()
+ * @generated
+ */
+ EReference getAcceptorDef_ExecutorService();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getNegotiator <em>Negotiator</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Negotiator</em>'.
+ * @see org.eclipse.net4j.net4jdefs.AcceptorDef#getNegotiator()
+ * @see #getAcceptorDef()
+ * @generated
+ */
+ EReference getAcceptorDef_Negotiator();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.net4j.net4jdefs.AcceptorDef#getServerProtocolProvider <em>Server Protocol Provider</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Server Protocol Provider</em>'.
+ * @see org.eclipse.net4j.net4jdefs.AcceptorDef#getServerProtocolProvider()
+ * @see #getAcceptorDef()
+ * @generated
+ */
+ EReference getAcceptorDef_ServerProtocolProvider();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.TCPAcceptorDef <em>TCP Acceptor Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>TCP Acceptor Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.TCPAcceptorDef
+ * @generated
+ */
+ EClass getTCPAcceptorDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.net4j.net4jdefs.TCPAcceptorDef#getHost <em>Host</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Host</em>'.
+ * @see org.eclipse.net4j.net4jdefs.TCPAcceptorDef#getHost()
+ * @see #getTCPAcceptorDef()
+ * @generated
+ */
+ EAttribute getTCPAcceptorDef_Host();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.net4j.net4jdefs.TCPAcceptorDef#getPort <em>Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Port</em>'.
+ * @see org.eclipse.net4j.net4jdefs.TCPAcceptorDef#getPort()
+ * @see #getTCPAcceptorDef()
+ * @generated
+ */
+ EAttribute getTCPAcceptorDef_Port();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.net4j.net4jdefs.TCPAcceptorDef#getTcpSelectorDef <em>Tcp Selector Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Tcp Selector Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.TCPAcceptorDef#getTcpSelectorDef()
+ * @see #getTCPAcceptorDef()
+ * @generated
+ */
+ EReference getTCPAcceptorDef_TcpSelectorDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.JVMAcceptorDef <em>JVM Acceptor Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>JVM Acceptor Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.JVMAcceptorDef
+ * @generated
+ */
+ EClass getJVMAcceptorDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.net4j.net4jdefs.JVMAcceptorDef#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.net4j.net4jdefs.JVMAcceptorDef#getName()
+ * @see #getJVMAcceptorDef()
+ * @generated
+ */
+ EAttribute getJVMAcceptorDef_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.JVMConnectorDef <em>JVM Connector Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>JVM Connector Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.JVMConnectorDef
+ * @generated
+ */
+ EClass getJVMConnectorDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.net4j.net4jdefs.JVMConnectorDef#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.net4j.net4jdefs.JVMConnectorDef#getName()
+ * @see #getJVMConnectorDef()
+ * @generated
+ */
+ EAttribute getJVMConnectorDef_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.HTTPConnectorDef <em>HTTP Connector Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>HTTP Connector Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.HTTPConnectorDef
+ * @generated
+ */
+ EClass getHTTPConnectorDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.net4j.net4jdefs.HTTPConnectorDef#getUrl <em>Url</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Url</em>'.
+ * @see org.eclipse.net4j.net4jdefs.HTTPConnectorDef#getUrl()
+ * @see #getHTTPConnectorDef()
+ * @generated
+ */
+ EAttribute getHTTPConnectorDef_Url();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.NegotiatorDef <em>Negotiator Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Negotiator Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.NegotiatorDef
+ * @generated
+ */
+ EClass getNegotiatorDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.ResponseNegotiatorDef <em>Response Negotiator Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Response Negotiator Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.ResponseNegotiatorDef
+ * @generated
+ */
+ EClass getResponseNegotiatorDef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.net4j.net4jdefs.ResponseNegotiatorDef#getCredentialsProvider <em>Credentials Provider</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Credentials Provider</em>'.
+ * @see org.eclipse.net4j.net4jdefs.ResponseNegotiatorDef#getCredentialsProvider()
+ * @see #getResponseNegotiatorDef()
+ * @generated
+ */
+ EReference getResponseNegotiatorDef_CredentialsProvider();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef <em>Challenge Negotiator Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Challenge Negotiator Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef
+ * @generated
+ */
+ EClass getChallengeNegotiatorDef();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef#getUserManager <em>User Manager</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>User Manager</em>'.
+ * @see org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef#getUserManager()
+ * @see #getChallengeNegotiatorDef()
+ * @generated
+ */
+ EReference getChallengeNegotiatorDef_UserManager();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef#getRandomizer <em>Randomizer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Randomizer</em>'.
+ * @see org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef#getRandomizer()
+ * @see #getChallengeNegotiatorDef()
+ * @generated
+ */
+ EReference getChallengeNegotiatorDef_Randomizer();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.TCPSelectorDef <em>TCP Selector Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>TCP Selector Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.TCPSelectorDef
+ * @generated
+ */
+ EClass getTCPSelectorDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef <em>Server Protocol Factory Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Server Protocol Factory Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef
+ * @generated
+ */
+ EClass getServerProtocolFactoryDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.BufferProviderDef <em>Buffer Provider Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Buffer Provider Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.BufferProviderDef
+ * @generated
+ */
+ EClass getBufferProviderDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.BufferPoolDef <em>Buffer Pool Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Buffer Pool Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.BufferPoolDef
+ * @generated
+ */
+ EClass getBufferPoolDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.ProtocolProviderDef <em>Protocol Provider Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Protocol Provider Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.ProtocolProviderDef
+ * @generated
+ */
+ EClass getProtocolProviderDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.CredentialsProviderDef <em>Credentials Provider Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Credentials Provider Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.CredentialsProviderDef
+ * @generated
+ */
+ EClass getCredentialsProviderDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.net4j.net4jdefs.CredentialsProviderDef#getUserID <em>User ID</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>User ID</em>'.
+ * @see org.eclipse.net4j.net4jdefs.CredentialsProviderDef#getUserID()
+ * @see #getCredentialsProviderDef()
+ * @generated
+ */
+ EAttribute getCredentialsProviderDef_UserID();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.PasswordCredentialsProviderDef <em>Password Credentials Provider Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Password Credentials Provider Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.PasswordCredentialsProviderDef
+ * @generated
+ */
+ EClass getPasswordCredentialsProviderDef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.net4j.net4jdefs.PasswordCredentialsProviderDef#getPassword <em>Password</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Password</em>'.
+ * @see org.eclipse.net4j.net4jdefs.PasswordCredentialsProviderDef#getPassword()
+ * @see #getPasswordCredentialsProviderDef()
+ * @generated
+ */
+ EAttribute getPasswordCredentialsProviderDef_Password();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.UserManagerDef <em>User Manager Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>User Manager Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.UserManagerDef
+ * @generated
+ */
+ EClass getUserManagerDef();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.net4j.net4jdefs.UserManagerDef#getUser <em>User</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>User</em>'.
+ * @see org.eclipse.net4j.net4jdefs.UserManagerDef#getUser()
+ * @see #getUserManagerDef()
+ * @generated
+ */
+ EReference getUserManagerDef_User();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.RandomizerDef <em>Randomizer Def</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Randomizer Def</em>'.
+ * @see org.eclipse.net4j.net4jdefs.RandomizerDef
+ * @generated
+ */
+ EClass getRandomizerDef();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.net4j.net4jdefs.User <em>User</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>User</em>'.
+ * @see org.eclipse.net4j.net4jdefs.User
+ * @generated
+ */
+ EClass getUser();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.net4j.net4jdefs.User#getUserID <em>User ID</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>User ID</em>'.
+ * @see org.eclipse.net4j.net4jdefs.User#getUserID()
+ * @see #getUser()
+ * @generated
+ */
+ EAttribute getUser_UserID();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.net4j.net4jdefs.User#getPassword <em>Password</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Password</em>'.
+ * @see org.eclipse.net4j.net4jdefs.User#getPassword()
+ * @see #getUser()
+ * @generated
+ */
+ EAttribute getUser_Password();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ Net4jDefsFactory getNet4jDefsFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.ConnectorDefImpl <em>Connector Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.ConnectorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getConnectorDef()
+ * @generated
+ */
+ EClass CONNECTOR_DEF = eINSTANCE.getConnectorDef();
+
+ /**
+ * The meta object literal for the '<em><b>User ID</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CONNECTOR_DEF__USER_ID = eINSTANCE.getConnectorDef_UserID();
+
+ /**
+ * The meta object literal for the '<em><b>Buffer Provider</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CONNECTOR_DEF__BUFFER_PROVIDER = eINSTANCE.getConnectorDef_BufferProvider();
+
+ /**
+ * The meta object literal for the '<em><b>Executor Service</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CONNECTOR_DEF__EXECUTOR_SERVICE = eINSTANCE.getConnectorDef_ExecutorService();
+
+ /**
+ * The meta object literal for the '<em><b>Negotiator</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CONNECTOR_DEF__NEGOTIATOR = eINSTANCE.getConnectorDef_Negotiator();
+
+ /**
+ * The meta object literal for the '<em><b>Client Protocol Provider</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CONNECTOR_DEF__CLIENT_PROTOCOL_PROVIDER = eINSTANCE.getConnectorDef_ClientProtocolProvider();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.ClientProtocolFactoryDefImpl <em>Client Protocol Factory Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.ClientProtocolFactoryDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getClientProtocolFactoryDef()
+ * @generated
+ */
+ EClass CLIENT_PROTOCOL_FACTORY_DEF = eINSTANCE.getClientProtocolFactoryDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.TCPConnectorDefImpl <em>TCP Connector Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.TCPConnectorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getTCPConnectorDef()
+ * @generated
+ */
+ EClass TCP_CONNECTOR_DEF = eINSTANCE.getTCPConnectorDef();
+
+ /**
+ * The meta object literal for the '<em><b>Tcp Selector Def</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TCP_CONNECTOR_DEF__TCP_SELECTOR_DEF = eINSTANCE.getTCPConnectorDef_TcpSelectorDef();
+
+ /**
+ * The meta object literal for the '<em><b>Host</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TCP_CONNECTOR_DEF__HOST = eINSTANCE.getTCPConnectorDef_Host();
+
+ /**
+ * The meta object literal for the '<em><b>Port</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TCP_CONNECTOR_DEF__PORT = eINSTANCE.getTCPConnectorDef_Port();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.AcceptorDefImpl <em>Acceptor Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.AcceptorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getAcceptorDef()
+ * @generated
+ */
+ EClass ACCEPTOR_DEF = eINSTANCE.getAcceptorDef();
+
+ /**
+ * The meta object literal for the '<em><b>Buffer Provider</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ACCEPTOR_DEF__BUFFER_PROVIDER = eINSTANCE.getAcceptorDef_BufferProvider();
+
+ /**
+ * The meta object literal for the '<em><b>Executor Service</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ACCEPTOR_DEF__EXECUTOR_SERVICE = eINSTANCE.getAcceptorDef_ExecutorService();
+
+ /**
+ * The meta object literal for the '<em><b>Negotiator</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ACCEPTOR_DEF__NEGOTIATOR = eINSTANCE.getAcceptorDef_Negotiator();
+
+ /**
+ * The meta object literal for the '<em><b>Server Protocol Provider</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ACCEPTOR_DEF__SERVER_PROTOCOL_PROVIDER = eINSTANCE.getAcceptorDef_ServerProtocolProvider();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.TCPAcceptorDefImpl <em>TCP Acceptor Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.TCPAcceptorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getTCPAcceptorDef()
+ * @generated
+ */
+ EClass TCP_ACCEPTOR_DEF = eINSTANCE.getTCPAcceptorDef();
+
+ /**
+ * The meta object literal for the '<em><b>Host</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TCP_ACCEPTOR_DEF__HOST = eINSTANCE.getTCPAcceptorDef_Host();
+
+ /**
+ * The meta object literal for the '<em><b>Port</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TCP_ACCEPTOR_DEF__PORT = eINSTANCE.getTCPAcceptorDef_Port();
+
+ /**
+ * The meta object literal for the '<em><b>Tcp Selector Def</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TCP_ACCEPTOR_DEF__TCP_SELECTOR_DEF = eINSTANCE.getTCPAcceptorDef_TcpSelectorDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.JVMAcceptorDefImpl <em>JVM Acceptor Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.JVMAcceptorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getJVMAcceptorDef()
+ * @generated
+ */
+ EClass JVM_ACCEPTOR_DEF = eINSTANCE.getJVMAcceptorDef();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute JVM_ACCEPTOR_DEF__NAME = eINSTANCE.getJVMAcceptorDef_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.JVMConnectorDefImpl <em>JVM Connector Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.JVMConnectorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getJVMConnectorDef()
+ * @generated
+ */
+ EClass JVM_CONNECTOR_DEF = eINSTANCE.getJVMConnectorDef();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute JVM_CONNECTOR_DEF__NAME = eINSTANCE.getJVMConnectorDef_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.HTTPConnectorDefImpl <em>HTTP Connector Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.HTTPConnectorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getHTTPConnectorDef()
+ * @generated
+ */
+ EClass HTTP_CONNECTOR_DEF = eINSTANCE.getHTTPConnectorDef();
+
+ /**
+ * The meta object literal for the '<em><b>Url</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute HTTP_CONNECTOR_DEF__URL = eINSTANCE.getHTTPConnectorDef_Url();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.NegotiatorDefImpl <em>Negotiator Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.NegotiatorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getNegotiatorDef()
+ * @generated
+ */
+ EClass NEGOTIATOR_DEF = eINSTANCE.getNegotiatorDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.ResponseNegotiatorDefImpl <em>Response Negotiator Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.ResponseNegotiatorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getResponseNegotiatorDef()
+ * @generated
+ */
+ EClass RESPONSE_NEGOTIATOR_DEF = eINSTANCE.getResponseNegotiatorDef();
+
+ /**
+ * The meta object literal for the '<em><b>Credentials Provider</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RESPONSE_NEGOTIATOR_DEF__CREDENTIALS_PROVIDER = eINSTANCE.getResponseNegotiatorDef_CredentialsProvider();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.ChallengeNegotiatorDefImpl <em>Challenge Negotiator Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.ChallengeNegotiatorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getChallengeNegotiatorDef()
+ * @generated
+ */
+ EClass CHALLENGE_NEGOTIATOR_DEF = eINSTANCE.getChallengeNegotiatorDef();
+
+ /**
+ * The meta object literal for the '<em><b>User Manager</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CHALLENGE_NEGOTIATOR_DEF__USER_MANAGER = eINSTANCE.getChallengeNegotiatorDef_UserManager();
+
+ /**
+ * The meta object literal for the '<em><b>Randomizer</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CHALLENGE_NEGOTIATOR_DEF__RANDOMIZER = eINSTANCE.getChallengeNegotiatorDef_Randomizer();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.TCPSelectorDefImpl <em>TCP Selector Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.TCPSelectorDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getTCPSelectorDef()
+ * @generated
+ */
+ EClass TCP_SELECTOR_DEF = eINSTANCE.getTCPSelectorDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.ServerProtocolFactoryDefImpl <em>Server Protocol Factory Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.ServerProtocolFactoryDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getServerProtocolFactoryDef()
+ * @generated
+ */
+ EClass SERVER_PROTOCOL_FACTORY_DEF = eINSTANCE.getServerProtocolFactoryDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.BufferProviderDefImpl <em>Buffer Provider Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.BufferProviderDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getBufferProviderDef()
+ * @generated
+ */
+ EClass BUFFER_PROVIDER_DEF = eINSTANCE.getBufferProviderDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.BufferPoolDefImpl <em>Buffer Pool Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.BufferPoolDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getBufferPoolDef()
+ * @generated
+ */
+ EClass BUFFER_POOL_DEF = eINSTANCE.getBufferPoolDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.ProtocolProviderDefImpl <em>Protocol Provider Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.ProtocolProviderDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getProtocolProviderDef()
+ * @generated
+ */
+ EClass PROTOCOL_PROVIDER_DEF = eINSTANCE.getProtocolProviderDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.CredentialsProviderDefImpl <em>Credentials Provider Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.CredentialsProviderDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getCredentialsProviderDef()
+ * @generated
+ */
+ EClass CREDENTIALS_PROVIDER_DEF = eINSTANCE.getCredentialsProviderDef();
+
+ /**
+ * The meta object literal for the '<em><b>User ID</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CREDENTIALS_PROVIDER_DEF__USER_ID = eINSTANCE.getCredentialsProviderDef_UserID();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.PasswordCredentialsProviderDefImpl <em>Password Credentials Provider Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.PasswordCredentialsProviderDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getPasswordCredentialsProviderDef()
+ * @generated
+ */
+ EClass PASSWORD_CREDENTIALS_PROVIDER_DEF = eINSTANCE.getPasswordCredentialsProviderDef();
+
+ /**
+ * The meta object literal for the '<em><b>Password</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PASSWORD_CREDENTIALS_PROVIDER_DEF__PASSWORD = eINSTANCE.getPasswordCredentialsProviderDef_Password();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.UserManagerDefImpl <em>User Manager Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.UserManagerDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getUserManagerDef()
+ * @generated
+ */
+ EClass USER_MANAGER_DEF = eINSTANCE.getUserManagerDef();
+
+ /**
+ * The meta object literal for the '<em><b>User</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference USER_MANAGER_DEF__USER = eINSTANCE.getUserManagerDef_User();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.RandomizerDefImpl <em>Randomizer Def</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.RandomizerDefImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getRandomizerDef()
+ * @generated
+ */
+ EClass RANDOMIZER_DEF = eINSTANCE.getRandomizerDef();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.net4j.net4jdefs.impl.UserImpl <em>User</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.impl.UserImpl
+ * @see org.eclipse.net4j.net4jdefs.impl.Net4jDefsPackageImpl#getUser()
+ * @generated
+ */
+ EClass USER = eINSTANCE.getUser();
+
+ /**
+ * The meta object literal for the '<em><b>User ID</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute USER__USER_ID = eINSTANCE.getUser_UserID();
+
+ /**
+ * The meta object literal for the '<em><b>Password</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute USER__PASSWORD = eINSTANCE.getUser_Password();
+
+ }
+
+} //Net4jDefsPackage
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/PasswordCredentialsProviderDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/PasswordCredentialsProviderDef.java
new file mode 100644
index 0000000000..847867775c
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/PasswordCredentialsProviderDef.java
@@ -0,0 +1,53 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: PasswordCredentialsProviderDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Password Credentials Provider Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.PasswordCredentialsProviderDef#getPassword <em>Password</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getPasswordCredentialsProviderDef()
+ * @model
+ * @generated
+ */
+public interface PasswordCredentialsProviderDef extends CredentialsProviderDef {
+ /**
+ * Returns the value of the '<em><b>Password</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Password</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Password</em>' attribute.
+ * @see #setPassword(String)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getPasswordCredentialsProviderDef_Password()
+ * @model
+ * @generated
+ */
+ String getPassword();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.PasswordCredentialsProviderDef#getPassword <em>Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Password</em>' attribute.
+ * @see #getPassword()
+ * @generated
+ */
+ void setPassword(String value);
+
+} // PasswordCredentialsProviderDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ProtocolProviderDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ProtocolProviderDef.java
new file mode 100644
index 0000000000..5265323637
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ProtocolProviderDef.java
@@ -0,0 +1,23 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ProtocolProviderDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Protocol Provider Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getProtocolProviderDef()
+ * @model abstract="true"
+ * @generated
+ */
+public interface ProtocolProviderDef extends Def {
+} // ProtocolProviderDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/RandomizerDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/RandomizerDef.java
new file mode 100644
index 0000000000..c2d6c9118f
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/RandomizerDef.java
@@ -0,0 +1,22 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: RandomizerDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Randomizer Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getRandomizerDef()
+ * @model
+ * @generated
+ */
+public interface RandomizerDef extends Def {
+} // RandomizerDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ResponseNegotiatorDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ResponseNegotiatorDef.java
new file mode 100644
index 0000000000..f4a5d4440c
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ResponseNegotiatorDef.java
@@ -0,0 +1,53 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ResponseNegotiatorDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Response Negotiator Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.ResponseNegotiatorDef#getCredentialsProvider <em>Credentials Provider</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getResponseNegotiatorDef()
+ * @model
+ * @generated
+ */
+public interface ResponseNegotiatorDef extends NegotiatorDef {
+
+ /**
+ * Returns the value of the '<em><b>Credentials Provider</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Credentials Provider</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Credentials Provider</em>' reference.
+ * @see #setCredentialsProvider(CredentialsProviderDef)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getResponseNegotiatorDef_CredentialsProvider()
+ * @model
+ * @generated
+ */
+ CredentialsProviderDef getCredentialsProvider();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.ResponseNegotiatorDef#getCredentialsProvider <em>Credentials Provider</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Credentials Provider</em>' reference.
+ * @see #getCredentialsProvider()
+ * @generated
+ */
+ void setCredentialsProvider(CredentialsProviderDef value);
+} // ResponseNegotiatorDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ServerConnector.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ServerConnector.java
new file mode 100644
index 0000000000..f579b7366b
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ServerConnector.java
@@ -0,0 +1,53 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ServerConnector.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Server Connector</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.ServerConnector#getAcceptorDef <em>Acceptor Def</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jdefsPackage#getServerConnector()
+ * @model abstract="true"
+ * @generated
+ */
+public interface ServerConnector extends ConnectorDef {
+ /**
+ * Returns the value of the '<em><b>Acceptor Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Acceptor Def</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Acceptor Def</em>' reference.
+ * @see #setAcceptorDef(AcceptorDef)
+ * @see org.eclipse.net4j.net4jdefs.Net4jdefsPackage#getServerConnector_AcceptorDef()
+ * @model
+ * @generated
+ */
+ AcceptorDef getAcceptorDef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.ServerConnector#getAcceptorDef <em>Acceptor Def</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Acceptor Def</em>' reference.
+ * @see #getAcceptorDef()
+ * @generated
+ */
+ void setAcceptorDef(AcceptorDef value);
+
+} // ServerConnector
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ServerProtocolFactoryDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ServerProtocolFactoryDef.java
new file mode 100644
index 0000000000..d11fac3505
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/ServerProtocolFactoryDef.java
@@ -0,0 +1,21 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ServerProtocolFactoryDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Server Protocol Factory Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getServerProtocolFactoryDef()
+ * @model abstract="true"
+ * @generated
+ */
+public interface ServerProtocolFactoryDef extends ProtocolProviderDef {
+} // ServerProtocolFactoryDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/SeverProtocolFactory.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/SeverProtocolFactory.java
new file mode 100644
index 0000000000..cb3c739159
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/SeverProtocolFactory.java
@@ -0,0 +1,22 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: SeverProtocolFactory.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Sever Protocol Factory</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jdefsPackage#getSeverProtocolFactory()
+ * @model
+ * @generated
+ */
+public interface SeverProtocolFactory extends Def {
+} // SeverProtocolFactory
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPAcceptorDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPAcceptorDef.java
new file mode 100644
index 0000000000..fcb5985d89
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPAcceptorDef.java
@@ -0,0 +1,107 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: TCPAcceptorDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>TCP Acceptor Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.TCPAcceptorDef#getHost <em>Host</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.TCPAcceptorDef#getPort <em>Port</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.TCPAcceptorDef#getTcpSelectorDef <em>Tcp Selector Def</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getTCPAcceptorDef()
+ * @model
+ * @generated
+ */
+public interface TCPAcceptorDef extends AcceptorDef {
+
+ /**
+ * Returns the value of the '<em><b>Host</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Host</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Host</em>' attribute.
+ * @see #setHost(String)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getTCPAcceptorDef_Host()
+ * @model required="true"
+ * @generated
+ */
+ String getHost();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.TCPAcceptorDef#getHost <em>Host</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Host</em>' attribute.
+ * @see #getHost()
+ * @generated
+ */
+ void setHost(String value);
+
+ /**
+ * Returns the value of the '<em><b>Port</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Port</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Port</em>' attribute.
+ * @see #setPort(int)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getTCPAcceptorDef_Port()
+ * @model required="true"
+ * @generated
+ */
+ int getPort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.TCPAcceptorDef#getPort <em>Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Port</em>' attribute.
+ * @see #getPort()
+ * @generated
+ */
+ void setPort(int value);
+
+ /**
+ * Returns the value of the '<em><b>Tcp Selector Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Tcp Selector Def</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Tcp Selector Def</em>' reference.
+ * @see #setTcpSelectorDef(TCPSelectorDef)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getTCPAcceptorDef_TcpSelectorDef()
+ * @model required="true"
+ * @generated
+ */
+ TCPSelectorDef getTcpSelectorDef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.TCPAcceptorDef#getTcpSelectorDef <em>Tcp Selector Def</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Tcp Selector Def</em>' reference.
+ * @see #getTcpSelectorDef()
+ * @generated
+ */
+ void setTcpSelectorDef(TCPSelectorDef value);
+} // TCPAcceptorDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPConnectorDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPConnectorDef.java
new file mode 100644
index 0000000000..50b0d74b56
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPConnectorDef.java
@@ -0,0 +1,134 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: TCPConnectorDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>TCP Connector Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.TCPConnectorDef#getTcpSelectorDef <em>Tcp Selector Def</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.TCPConnectorDef#getHost <em>Host</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.TCPConnectorDef#getPort <em>Port</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getTCPConnectorDef()
+ * @model
+ * @generated
+ */
+public interface TCPConnectorDef extends ConnectorDef {
+ /**
+ * Returns the value of the '<em><b>Tcp Selector Def</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Tcp Selector Def</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Tcp Selector Def</em>' reference.
+ * @see #setTcpSelectorDef(TCPSelectorDef)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getTCPConnectorDef_TcpSelectorDef()
+ * @model
+ * @generated
+ */
+ TCPSelectorDef getTcpSelectorDef();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.TCPConnectorDef#getTcpSelectorDef <em>Tcp Selector Def</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Tcp Selector Def</em>' reference.
+ * @see #getTcpSelectorDef()
+ * @generated
+ */
+ void setTcpSelectorDef(TCPSelectorDef value);
+
+ /**
+ * Returns the value of the '<em><b>Host</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Host</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Host</em>' attribute.
+ * @see #setHost(String)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getTCPConnectorDef_Host()
+ * @model required="true"
+ * @generated
+ */
+ String getHost();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.TCPConnectorDef#getHost <em>Host</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Host</em>' attribute.
+ * @see #getHost()
+ * @generated
+ */
+ void setHost(String value);
+
+ /**
+ * Returns the value of the '<em><b>Port</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Port</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Port</em>' attribute.
+ * @see #isSetPort()
+ * @see #unsetPort()
+ * @see #setPort(int)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getTCPConnectorDef_Port()
+ * @model unsettable="true"
+ * @generated
+ */
+ int getPort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.TCPConnectorDef#getPort <em>Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Port</em>' attribute.
+ * @see #isSetPort()
+ * @see #unsetPort()
+ * @see #getPort()
+ * @generated
+ */
+ void setPort(int value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.net4j.net4jdefs.TCPConnectorDef#getPort <em>Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetPort()
+ * @see #getPort()
+ * @see #setPort(int)
+ * @generated
+ */
+ void unsetPort();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.net4j.net4jdefs.TCPConnectorDef#getPort <em>Port</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Port</em>' attribute is set.
+ * @see #unsetPort()
+ * @see #getPort()
+ * @see #setPort(int)
+ * @generated
+ */
+ boolean isSetPort();
+
+} // TCPConnectorDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPSelectorDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPSelectorDef.java
new file mode 100644
index 0000000000..78285378cf
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/TCPSelectorDef.java
@@ -0,0 +1,22 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: TCPSelectorDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>TCP Selector Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getTCPSelectorDef()
+ * @model
+ * @generated
+ */
+public interface TCPSelectorDef extends Def {
+} // TCPSelectorDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/User.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/User.java
new file mode 100644
index 0000000000..4a54e6976b
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/User.java
@@ -0,0 +1,81 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: User.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>User</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.User#getUserID <em>User ID</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.User#getPassword <em>Password</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getUser()
+ * @model
+ * @generated
+ */
+public interface User extends EObject {
+ /**
+ * Returns the value of the '<em><b>User ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>User ID</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>User ID</em>' attribute.
+ * @see #setUserID(String)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getUser_UserID()
+ * @model
+ * @generated
+ */
+ String getUserID();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.User#getUserID <em>User ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>User ID</em>' attribute.
+ * @see #getUserID()
+ * @generated
+ */
+ void setUserID(String value);
+
+ /**
+ * Returns the value of the '<em><b>Password</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Password</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Password</em>' attribute.
+ * @see #setPassword(String)
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getUser_Password()
+ * @model
+ * @generated
+ */
+ String getPassword();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.net4j.net4jdefs.User#getPassword <em>Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Password</em>' attribute.
+ * @see #getPassword()
+ * @generated
+ */
+ void setPassword(String value);
+
+} // User
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/UserManagerDef.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/UserManagerDef.java
new file mode 100644
index 0000000000..cbef95edc0
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/UserManagerDef.java
@@ -0,0 +1,69 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: UserManagerDef.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs;
+
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>User Manager Def</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.UserManagerDef#getUser <em>User</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getUserManagerDef()
+ * @model
+ * @generated
+ */
+public interface UserManagerDef extends Def {
+
+ /**
+ * Returns the value of the '<em><b>User</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.net4j.net4jdefs.User}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>User</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>User</em>' reference list.
+ * @see #isSetUser()
+ * @see #unsetUser()
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#getUserManagerDef_User()
+ * @model unsettable="true" required="true"
+ * @generated
+ */
+ EList<User> getUser();
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.net4j.net4jdefs.UserManagerDef#getUser <em>User</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetUser()
+ * @see #getUser()
+ * @generated
+ */
+ void unsetUser();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.net4j.net4jdefs.UserManagerDef#getUser <em>User</em>}' reference list is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>User</em>' reference list is set.
+ * @see #unsetUser()
+ * @see #getUser()
+ * @generated
+ */
+ boolean isSetUser();
+} // UserManagerDef
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/AcceptorDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/AcceptorDefImpl.java
new file mode 100644
index 0000000000..9f202f4cad
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/AcceptorDefImpl.java
@@ -0,0 +1,387 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: AcceptorDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.ITransportConfig;
+import org.eclipse.net4j.buffer.IBufferProvider;
+import org.eclipse.net4j.net4jdefs.AcceptorDef;
+import org.eclipse.net4j.net4jdefs.BufferPoolDef;
+import org.eclipse.net4j.net4jdefs.NegotiatorDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef;
+import org.eclipse.net4j.net4jdefs.util.Net4jDefsUtil;
+import org.eclipse.net4j.util.CheckUtil;
+import org.eclipse.net4j.util.net4jutildefs.ThreadPoolDef;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+import org.eclipse.net4j.util.security.INegotiator;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import java.util.Collection;
+import java.util.concurrent.ExecutorService;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '
+ * <em><b>Acceptor Def</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.AcceptorDefImpl#getBufferProvider <em>Buffer Provider</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.AcceptorDefImpl#getExecutorService <em>Executor Service</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.AcceptorDefImpl#getNegotiator <em>Negotiator</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.AcceptorDefImpl#getServerProtocolProvider <em>Server Protocol Provider</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class AcceptorDefImpl extends DefImpl implements AcceptorDef {
+ /**
+ * The cached value of the '{@link #getBufferProvider() <em>Buffer Provider</em>}' reference.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @see #getBufferProvider()
+ * @generated
+ * @ordered
+ */
+ protected BufferPoolDef bufferProvider;
+
+ /**
+ * The cached value of the '{@link #getExecutorService() <em>Executor Service</em>}' reference.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @see #getExecutorService()
+ * @generated
+ * @ordered
+ */
+ protected ThreadPoolDef executorService;
+
+ /**
+ * The cached value of the '{@link #getNegotiator() <em>Negotiator</em>}' reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getNegotiator()
+ * @generated
+ * @ordered
+ */
+ protected NegotiatorDef negotiator;
+
+ /**
+ * This is true if the Negotiator reference has been set. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ protected boolean negotiatorESet;
+
+ /**
+ * The cached value of the '{@link #getServerProtocolProvider() <em>Server Protocol Provider</em>}' reference list.
+ * <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ * @see #getServerProtocolProvider()
+ * @generated
+ * @ordered
+ */
+ protected EList<ServerProtocolFactoryDef> serverProtocolProvider;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected AcceptorDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.ACCEPTOR_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public BufferPoolDef getBufferProvider() {
+ if (bufferProvider != null && bufferProvider.eIsProxy()) {
+ InternalEObject oldBufferProvider = (InternalEObject)bufferProvider;
+ bufferProvider = (BufferPoolDef)eResolveProxy(oldBufferProvider);
+ if (bufferProvider != oldBufferProvider) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Net4jDefsPackage.ACCEPTOR_DEF__BUFFER_PROVIDER, oldBufferProvider, bufferProvider));
+ }
+ }
+ return bufferProvider;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public BufferPoolDef basicGetBufferProvider() {
+ return bufferProvider;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBufferProvider(BufferPoolDef newBufferProvider) {
+ BufferPoolDef oldBufferProvider = bufferProvider;
+ bufferProvider = newBufferProvider;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.ACCEPTOR_DEF__BUFFER_PROVIDER, oldBufferProvider, bufferProvider));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ThreadPoolDef getExecutorService() {
+ if (executorService != null && executorService.eIsProxy()) {
+ InternalEObject oldExecutorService = (InternalEObject)executorService;
+ executorService = (ThreadPoolDef)eResolveProxy(oldExecutorService);
+ if (executorService != oldExecutorService) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Net4jDefsPackage.ACCEPTOR_DEF__EXECUTOR_SERVICE, oldExecutorService, executorService));
+ }
+ }
+ return executorService;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ThreadPoolDef basicGetExecutorService() {
+ return executorService;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExecutorService(ThreadPoolDef newExecutorService) {
+ ThreadPoolDef oldExecutorService = executorService;
+ executorService = newExecutorService;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.ACCEPTOR_DEF__EXECUTOR_SERVICE, oldExecutorService, executorService));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public NegotiatorDef getNegotiator() {
+ if (negotiator != null && negotiator.eIsProxy()) {
+ InternalEObject oldNegotiator = (InternalEObject)negotiator;
+ negotiator = (NegotiatorDef)eResolveProxy(oldNegotiator);
+ if (negotiator != oldNegotiator) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Net4jDefsPackage.ACCEPTOR_DEF__NEGOTIATOR, oldNegotiator, negotiator));
+ }
+ }
+ return negotiator;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public NegotiatorDef basicGetNegotiator() {
+ return negotiator;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setNegotiator(NegotiatorDef newNegotiator) {
+ NegotiatorDef oldNegotiator = negotiator;
+ negotiator = newNegotiator;
+ boolean oldNegotiatorESet = negotiatorESet;
+ negotiatorESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.ACCEPTOR_DEF__NEGOTIATOR, oldNegotiator, negotiator, !oldNegotiatorESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetNegotiator() {
+ NegotiatorDef oldNegotiator = negotiator;
+ boolean oldNegotiatorESet = negotiatorESet;
+ negotiator = null;
+ negotiatorESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Net4jDefsPackage.ACCEPTOR_DEF__NEGOTIATOR, oldNegotiator, null, oldNegotiatorESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetNegotiator() {
+ return negotiatorESet;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ServerProtocolFactoryDef> getServerProtocolProvider() {
+ if (serverProtocolProvider == null) {
+ serverProtocolProvider = new EObjectResolvingEList.Unsettable<ServerProtocolFactoryDef>(ServerProtocolFactoryDef.class, this, Net4jDefsPackage.ACCEPTOR_DEF__SERVER_PROTOCOL_PROVIDER);
+ }
+ return serverProtocolProvider;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetServerProtocolProvider() {
+ if (serverProtocolProvider != null) ((InternalEList.Unsettable<?>)serverProtocolProvider).unset();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetServerProtocolProvider() {
+ return serverProtocolProvider != null && ((InternalEList.Unsettable<?>)serverProtocolProvider).isSet();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Net4jDefsPackage.ACCEPTOR_DEF__BUFFER_PROVIDER:
+ if (resolve) return getBufferProvider();
+ return basicGetBufferProvider();
+ case Net4jDefsPackage.ACCEPTOR_DEF__EXECUTOR_SERVICE:
+ if (resolve) return getExecutorService();
+ return basicGetExecutorService();
+ case Net4jDefsPackage.ACCEPTOR_DEF__NEGOTIATOR:
+ if (resolve) return getNegotiator();
+ return basicGetNegotiator();
+ case Net4jDefsPackage.ACCEPTOR_DEF__SERVER_PROTOCOL_PROVIDER:
+ return getServerProtocolProvider();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Net4jDefsPackage.ACCEPTOR_DEF__BUFFER_PROVIDER:
+ setBufferProvider((BufferPoolDef)newValue);
+ return;
+ case Net4jDefsPackage.ACCEPTOR_DEF__EXECUTOR_SERVICE:
+ setExecutorService((ThreadPoolDef)newValue);
+ return;
+ case Net4jDefsPackage.ACCEPTOR_DEF__NEGOTIATOR:
+ setNegotiator((NegotiatorDef)newValue);
+ return;
+ case Net4jDefsPackage.ACCEPTOR_DEF__SERVER_PROTOCOL_PROVIDER:
+ getServerProtocolProvider().clear();
+ getServerProtocolProvider().addAll((Collection<? extends ServerProtocolFactoryDef>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.ACCEPTOR_DEF__BUFFER_PROVIDER:
+ setBufferProvider((BufferPoolDef)null);
+ return;
+ case Net4jDefsPackage.ACCEPTOR_DEF__EXECUTOR_SERVICE:
+ setExecutorService((ThreadPoolDef)null);
+ return;
+ case Net4jDefsPackage.ACCEPTOR_DEF__NEGOTIATOR:
+ unsetNegotiator();
+ return;
+ case Net4jDefsPackage.ACCEPTOR_DEF__SERVER_PROTOCOL_PROVIDER:
+ unsetServerProtocolProvider();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.ACCEPTOR_DEF__BUFFER_PROVIDER:
+ return bufferProvider != null;
+ case Net4jDefsPackage.ACCEPTOR_DEF__EXECUTOR_SERVICE:
+ return executorService != null;
+ case Net4jDefsPackage.ACCEPTOR_DEF__NEGOTIATOR:
+ return isSetNegotiator();
+ case Net4jDefsPackage.ACCEPTOR_DEF__SERVER_PROTOCOL_PROVIDER:
+ return isSetServerProtocolProvider();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ @Override
+ protected void validateDefinition() {
+ super.validateDefinition();
+ CheckUtil.checkState(eIsSet(Net4jDefsPackage.ACCEPTOR_DEF__EXECUTOR_SERVICE),
+ "thread pool not set!");
+ CheckUtil.checkState(eIsSet(Net4jDefsPackage.ACCEPTOR_DEF__BUFFER_PROVIDER),
+ "buffer pool not set!");
+ if (isSetServerProtocolProvider()) {
+ CheckUtil.checkState(getServerProtocolProvider().size() >= 1, "server protocol provider is set but has no protocol factories!");
+ }
+ }
+
+ protected void configure(ITransportConfig config) {
+
+ config.setBufferProvider((IBufferProvider) getBufferProvider()
+ .getInstance());
+ config.setReceiveExecutor((ExecutorService) getExecutorService()
+ .getInstance());
+ if (isSetServerProtocolProvider()
+ && getServerProtocolProvider().size() > 0) {
+ config
+ .setProtocolProvider(Net4jDefsUtil
+ .createFactoriesProtocolProvider(getServerProtocolProvider()));
+ }
+ if (isSetNegotiator()) {
+ config.setNegotiator((INegotiator) getNegotiator().getInstance());
+ }
+ }
+
+} // AcceptorDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/BufferPoolDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/BufferPoolDefImpl.java
new file mode 100644
index 0000000000..142bacd018
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/BufferPoolDefImpl.java
@@ -0,0 +1,58 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: BufferPoolDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.Net4jUtil;
+import org.eclipse.net4j.buffer.IBufferProvider;
+import org.eclipse.net4j.net4jdefs.BufferPoolDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Buffer Pool Def</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class BufferPoolDefImpl extends BufferProviderDefImpl implements BufferPoolDef {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BufferPoolDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.BUFFER_POOL_DEF;
+ }
+
+ /**
+ * creates and returns a buffer provider.
+ *
+ * @generated NOT
+ */
+ @Override
+ protected Object createInstance() {
+ IBufferProvider bufferProvider = Net4jUtil.createBufferPool();
+// LifecycleUtil.activate(bufferProvider);
+ return bufferProvider;
+ }
+
+
+} //BufferPoolDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/BufferProviderDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/BufferProviderDefImpl.java
new file mode 100644
index 0000000000..3b9d926704
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/BufferProviderDefImpl.java
@@ -0,0 +1,44 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: BufferProviderDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.net4jdefs.BufferProviderDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Buffer Provider Def</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class BufferProviderDefImpl extends DefImpl implements BufferProviderDef {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BufferProviderDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.BUFFER_PROVIDER_DEF;
+ }
+
+} //BufferProviderDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ChallengeNegotiatorDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ChallengeNegotiatorDefImpl.java
new file mode 100644
index 0000000000..fb2eb40efa
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ChallengeNegotiatorDefImpl.java
@@ -0,0 +1,267 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ChallengeNegotiatorDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.RandomizerDef;
+import org.eclipse.net4j.net4jdefs.UserManagerDef;
+import org.eclipse.net4j.util.CheckUtil;
+import org.eclipse.net4j.util.security.ChallengeNegotiator;
+import org.eclipse.net4j.util.security.IRandomizer;
+import org.eclipse.net4j.util.security.IUserManager;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Challenge Negotiator Def</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.ChallengeNegotiatorDefImpl#getUserManager <em>User Manager</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.ChallengeNegotiatorDefImpl#getRandomizer <em>Randomizer</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ChallengeNegotiatorDefImpl extends NegotiatorDefImpl implements ChallengeNegotiatorDef
+{
+
+ /**
+ * The cached value of the '{@link #getUserManager() <em>User Manager</em>}' reference. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getUserManager()
+ * @generated
+ * @ordered
+ */
+ protected UserManagerDef userManager;
+
+ /**
+ * The cached value of the '{@link #getRandomizer() <em>Randomizer</em>}' reference. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getRandomizer()
+ * @generated
+ * @ordered
+ */
+ protected RandomizerDef randomizer;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected ChallengeNegotiatorDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Net4jDefsPackage.Literals.CHALLENGE_NEGOTIATOR_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public UserManagerDef getUserManager()
+ {
+ if (userManager != null && userManager.eIsProxy())
+ {
+ InternalEObject oldUserManager = (InternalEObject)userManager;
+ userManager = (UserManagerDef)eResolveProxy(oldUserManager);
+ if (userManager != oldUserManager)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF__USER_MANAGER, oldUserManager, userManager));
+ }
+ }
+ return userManager;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public UserManagerDef basicGetUserManager()
+ {
+ return userManager;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUserManager(UserManagerDef newUserManager)
+ {
+ UserManagerDef oldUserManager = userManager;
+ userManager = newUserManager;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF__USER_MANAGER,
+ oldUserManager, userManager));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public RandomizerDef getRandomizer()
+ {
+ if (randomizer != null && randomizer.eIsProxy())
+ {
+ InternalEObject oldRandomizer = (InternalEObject)randomizer;
+ randomizer = (RandomizerDef)eResolveProxy(oldRandomizer);
+ if (randomizer != oldRandomizer)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF__RANDOMIZER, oldRandomizer, randomizer));
+ }
+ }
+ return randomizer;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public RandomizerDef basicGetRandomizer()
+ {
+ return randomizer;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setRandomizer(RandomizerDef newRandomizer)
+ {
+ RandomizerDef oldRandomizer = randomizer;
+ randomizer = newRandomizer;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF__RANDOMIZER,
+ oldRandomizer, randomizer));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF__USER_MANAGER:
+ if (resolve)
+ return getUserManager();
+ return basicGetUserManager();
+ case Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF__RANDOMIZER:
+ if (resolve)
+ return getRandomizer();
+ return basicGetRandomizer();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF__USER_MANAGER:
+ setUserManager((UserManagerDef)newValue);
+ return;
+ case Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF__RANDOMIZER:
+ setRandomizer((RandomizerDef)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF__USER_MANAGER:
+ setUserManager((UserManagerDef)null);
+ return;
+ case Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF__RANDOMIZER:
+ setRandomizer((RandomizerDef)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF__USER_MANAGER:
+ return userManager != null;
+ case Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF__RANDOMIZER:
+ return randomizer != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ @Override
+ protected Object createInstance()
+ {
+ ChallengeNegotiator challengeNegotiator = new ChallengeNegotiator();
+ challengeNegotiator.setRandomizer((IRandomizer)getRandomizer().getInstance());
+ challengeNegotiator.setUserManager((IUserManager)getUserManager().getInstance());
+
+ return challengeNegotiator;
+ }
+
+ @Override
+ protected void validateDefinition()
+ {
+ CheckUtil.checkState(eIsSet(Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF__RANDOMIZER), "randomizer is not set!");
+ CheckUtil.checkState(eIsSet(Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF__USER_MANAGER), "user manager is not set!");
+ }
+
+} // ChallengeNegotiatorDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ClientProtocolFactoryDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ClientProtocolFactoryDefImpl.java
new file mode 100644
index 0000000000..a330831f31
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ClientProtocolFactoryDefImpl.java
@@ -0,0 +1,43 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ClientProtocolFactoryDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Client Protocol Factory Def</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class ClientProtocolFactoryDefImpl extends ProtocolProviderDefImpl implements ClientProtocolFactoryDef {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ClientProtocolFactoryDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.CLIENT_PROTOCOL_FACTORY_DEF;
+ }
+
+} //ClientProtocolFactoryDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ConnectorDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ConnectorDefImpl.java
new file mode 100644
index 0000000000..ff11316cf7
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ConnectorDefImpl.java
@@ -0,0 +1,627 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ConnectorDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.ITransportConfig;
+import org.eclipse.net4j.buffer.IBufferProvider;
+import org.eclipse.net4j.connector.IConnector;
+import org.eclipse.net4j.net4jdefs.BufferProviderDef;
+import org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef;
+import org.eclipse.net4j.net4jdefs.ConnectorDef;
+import org.eclipse.net4j.net4jdefs.NegotiatorDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.util.Net4jDefsUtil;
+import org.eclipse.net4j.protocol.IProtocolProvider;
+import org.eclipse.net4j.util.CheckUtil;
+import org.eclipse.net4j.util.net4jutildefs.ExecutorServiceDef;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+import org.eclipse.net4j.util.security.INegotiator;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.spi.net4j.Connector;
+
+import java.util.Collection;
+import java.util.concurrent.ExecutorService;
+
+// TODO: Auto-generated Javadoc
+/**
+ * <!-- begin-user-doc --> An implementation of the model object ' <em><b>Connector Def</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.ConnectorDefImpl#getUserID <em>User ID</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.ConnectorDefImpl#getBufferProvider <em>Buffer Provider</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.ConnectorDefImpl#getExecutorService <em>Executor Service</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.ConnectorDefImpl#getNegotiator <em>Negotiator</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.ConnectorDefImpl#getClientProtocolProvider <em>Client Protocol Provider
+ * </em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class ConnectorDefImpl extends DefImpl implements ConnectorDef
+{
+
+ /**
+ * The default value of the '{@link #getUserID() <em>User ID</em>}' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ */
+ protected static final String USER_ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUserID() <em>User ID</em>}' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ */
+ protected String userID = USER_ID_EDEFAULT;
+
+ /**
+ * This is true if the User ID attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ protected boolean userIDESet;
+
+ /**
+ * The cached value of the '{@link #getBufferProvider() <em>Buffer Provider</em>}' reference. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getBufferProvider()
+ * @generated
+ * @ordered
+ */
+ protected BufferProviderDef bufferProvider;
+
+ /**
+ * The cached value of the '{@link #getExecutorService() <em>Executor Service</em>}' reference. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @see #getExecutorService()
+ * @generated
+ * @ordered
+ */
+ protected ExecutorServiceDef executorService;
+
+ /**
+ * The cached value of the '{@link #getNegotiator() <em>Negotiator</em>}' reference. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getNegotiator()
+ * @generated
+ * @ordered
+ */
+ protected NegotiatorDef negotiator;
+
+ /**
+ * This is true if the Negotiator reference has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ protected boolean negotiatorESet;
+
+ /**
+ * The cached value of the '{@link #getClientProtocolProvider() <em>Client Protocol Provider</em>}' reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getClientProtocolProvider()
+ * @generated
+ * @ordered
+ */
+ protected EList<ClientProtocolFactoryDef> clientProtocolProvider;
+
+ /**
+ * The cached value of the '{@link #getBufferProviderDef() <em>Buffer Provider Def</em>}' reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ */
+ protected BufferProviderDef bufferProviderDef;
+
+ /**
+ * The cached value of the '{@link #getExecutorServiceDef() <em>Executor Service Def</em>}' reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ */
+ protected ExecutorServiceDef executorServiceDef;
+
+ /**
+ * The cached value of the '{@link #getNegotiatorDef() <em>Negotiator Def</em>}' reference. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ */
+ protected NegotiatorDef negotiatorDef;
+
+ /**
+ * The cached value of the '{@link #getClientProtocolFactoryDef() <em>Client Protocol Factory Def</em>}' reference
+ * list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ */
+ protected EList<ClientProtocolFactoryDef> clientProtocolFactoryDef;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @generated
+ */
+ protected ConnectorDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @return the e class
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Net4jDefsPackage.Literals.CONNECTOR_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @return the user id
+ * @generated
+ */
+ public String getUserID()
+ {
+ return userID;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @param newUserID
+ * the new user id
+ * @generated
+ */
+ public void setUserID(String newUserID)
+ {
+ String oldUserID = userID;
+ userID = newUserID;
+ boolean oldUserIDESet = userIDESet;
+ userIDESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.CONNECTOR_DEF__USER_ID, oldUserID, userID,
+ !oldUserIDESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUserID()
+ {
+ String oldUserID = userID;
+ boolean oldUserIDESet = userIDESet;
+ userID = USER_ID_EDEFAULT;
+ userIDESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Net4jDefsPackage.CONNECTOR_DEF__USER_ID, oldUserID,
+ USER_ID_EDEFAULT, oldUserIDESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUserID()
+ {
+ return userIDESet;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public BufferProviderDef getBufferProvider()
+ {
+ if (bufferProvider != null && bufferProvider.eIsProxy())
+ {
+ InternalEObject oldBufferProvider = (InternalEObject)bufferProvider;
+ bufferProvider = (BufferProviderDef)eResolveProxy(oldBufferProvider);
+ if (bufferProvider != oldBufferProvider)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Net4jDefsPackage.CONNECTOR_DEF__BUFFER_PROVIDER,
+ oldBufferProvider, bufferProvider));
+ }
+ }
+ return bufferProvider;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public BufferProviderDef basicGetBufferProvider()
+ {
+ return bufferProvider;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setBufferProvider(BufferProviderDef newBufferProvider)
+ {
+ BufferProviderDef oldBufferProvider = bufferProvider;
+ bufferProvider = newBufferProvider;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.CONNECTOR_DEF__BUFFER_PROVIDER,
+ oldBufferProvider, bufferProvider));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public ExecutorServiceDef getExecutorService()
+ {
+ if (executorService != null && executorService.eIsProxy())
+ {
+ InternalEObject oldExecutorService = (InternalEObject)executorService;
+ executorService = (ExecutorServiceDef)eResolveProxy(oldExecutorService);
+ if (executorService != oldExecutorService)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Net4jDefsPackage.CONNECTOR_DEF__EXECUTOR_SERVICE,
+ oldExecutorService, executorService));
+ }
+ }
+ return executorService;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public ExecutorServiceDef basicGetExecutorService()
+ {
+ return executorService;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setExecutorService(ExecutorServiceDef newExecutorService)
+ {
+ ExecutorServiceDef oldExecutorService = executorService;
+ executorService = newExecutorService;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.CONNECTOR_DEF__EXECUTOR_SERVICE,
+ oldExecutorService, executorService));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NegotiatorDef getNegotiator()
+ {
+ if (negotiator != null && negotiator.eIsProxy())
+ {
+ InternalEObject oldNegotiator = (InternalEObject)negotiator;
+ negotiator = (NegotiatorDef)eResolveProxy(oldNegotiator);
+ if (negotiator != oldNegotiator)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Net4jDefsPackage.CONNECTOR_DEF__NEGOTIATOR,
+ oldNegotiator, negotiator));
+ }
+ }
+ return negotiator;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NegotiatorDef basicGetNegotiator()
+ {
+ return negotiator;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNegotiator(NegotiatorDef newNegotiator)
+ {
+ NegotiatorDef oldNegotiator = negotiator;
+ negotiator = newNegotiator;
+ boolean oldNegotiatorESet = negotiatorESet;
+ negotiatorESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.CONNECTOR_DEF__NEGOTIATOR, oldNegotiator,
+ negotiator, !oldNegotiatorESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetNegotiator()
+ {
+ NegotiatorDef oldNegotiator = negotiator;
+ boolean oldNegotiatorESet = negotiatorESet;
+ negotiator = null;
+ negotiatorESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Net4jDefsPackage.CONNECTOR_DEF__NEGOTIATOR,
+ oldNegotiator, null, oldNegotiatorESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetNegotiator()
+ {
+ return negotiatorESet;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EList<ClientProtocolFactoryDef> getClientProtocolProvider()
+ {
+ if (clientProtocolProvider == null)
+ {
+ clientProtocolProvider = new EObjectResolvingEList.Unsettable<ClientProtocolFactoryDef>(
+ ClientProtocolFactoryDef.class, this, Net4jDefsPackage.CONNECTOR_DEF__CLIENT_PROTOCOL_PROVIDER);
+ }
+ return clientProtocolProvider;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetClientProtocolProvider()
+ {
+ if (clientProtocolProvider != null)
+ ((InternalEList.Unsettable<?>)clientProtocolProvider).unset();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetClientProtocolProvider()
+ {
+ return clientProtocolProvider != null && ((InternalEList.Unsettable<?>)clientProtocolProvider).isSet();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @param featureID
+ * the feature id
+ * @param resolve
+ * the resolve
+ * @param coreType
+ * the core type
+ * @return the object
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case Net4jDefsPackage.CONNECTOR_DEF__USER_ID:
+ return getUserID();
+ case Net4jDefsPackage.CONNECTOR_DEF__BUFFER_PROVIDER:
+ if (resolve)
+ return getBufferProvider();
+ return basicGetBufferProvider();
+ case Net4jDefsPackage.CONNECTOR_DEF__EXECUTOR_SERVICE:
+ if (resolve)
+ return getExecutorService();
+ return basicGetExecutorService();
+ case Net4jDefsPackage.CONNECTOR_DEF__NEGOTIATOR:
+ if (resolve)
+ return getNegotiator();
+ return basicGetNegotiator();
+ case Net4jDefsPackage.CONNECTOR_DEF__CLIENT_PROTOCOL_PROVIDER:
+ return getClientProtocolProvider();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @param featureID
+ * the feature id
+ * @param newValue
+ * the new value
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case Net4jDefsPackage.CONNECTOR_DEF__USER_ID:
+ setUserID((String)newValue);
+ return;
+ case Net4jDefsPackage.CONNECTOR_DEF__BUFFER_PROVIDER:
+ setBufferProvider((BufferProviderDef)newValue);
+ return;
+ case Net4jDefsPackage.CONNECTOR_DEF__EXECUTOR_SERVICE:
+ setExecutorService((ExecutorServiceDef)newValue);
+ return;
+ case Net4jDefsPackage.CONNECTOR_DEF__NEGOTIATOR:
+ setNegotiator((NegotiatorDef)newValue);
+ return;
+ case Net4jDefsPackage.CONNECTOR_DEF__CLIENT_PROTOCOL_PROVIDER:
+ getClientProtocolProvider().clear();
+ getClientProtocolProvider().addAll((Collection<? extends ClientProtocolFactoryDef>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @param featureID
+ * the feature id
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case Net4jDefsPackage.CONNECTOR_DEF__USER_ID:
+ unsetUserID();
+ return;
+ case Net4jDefsPackage.CONNECTOR_DEF__BUFFER_PROVIDER:
+ setBufferProvider((BufferProviderDef)null);
+ return;
+ case Net4jDefsPackage.CONNECTOR_DEF__EXECUTOR_SERVICE:
+ setExecutorService((ExecutorServiceDef)null);
+ return;
+ case Net4jDefsPackage.CONNECTOR_DEF__NEGOTIATOR:
+ unsetNegotiator();
+ return;
+ case Net4jDefsPackage.CONNECTOR_DEF__CLIENT_PROTOCOL_PROVIDER:
+ unsetClientProtocolProvider();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @param featureID
+ * the feature id
+ * @return true, if e is set
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case Net4jDefsPackage.CONNECTOR_DEF__USER_ID:
+ return isSetUserID();
+ case Net4jDefsPackage.CONNECTOR_DEF__BUFFER_PROVIDER:
+ return bufferProvider != null;
+ case Net4jDefsPackage.CONNECTOR_DEF__EXECUTOR_SERVICE:
+ return executorService != null;
+ case Net4jDefsPackage.CONNECTOR_DEF__NEGOTIATOR:
+ return isSetNegotiator();
+ case Net4jDefsPackage.CONNECTOR_DEF__CLIENT_PROTOCOL_PROVIDER:
+ return isSetClientProtocolProvider();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->.
+ *
+ * @return the string
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (userID: ");
+ if (userIDESet)
+ result.append(userID);
+ else
+ result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+ /**
+ * Configures a given {@link ITransportConfig}. It particularly sets
+ * <ul>
+ * <li>{@link IBufferProvider}</li>
+ * <li>{@link ExecutorService}</li>
+ * <li>{@link INegotiator}</li>
+ * <li>{@link IProtocolProvider}</li>
+ * </ul>
+ *
+ * @param config
+ * the transport config
+ */
+ protected void configure(ITransportConfig config)
+ {
+ config.setBufferProvider((IBufferProvider)getBufferProvider().getInstance());
+ config.setReceiveExecutor((ExecutorService)getExecutorService().getInstance());
+ if (isSetClientProtocolProvider())
+ {
+ config.setProtocolProvider(Net4jDefsUtil.createFactoriesProtocolProvider(getClientProtocolProvider()));
+ }
+ if (isSetNegotiator())
+ {
+ config.setNegotiator((INegotiator)getNegotiator().getInstance());
+ }
+ }
+
+ protected void configure(Connector connector)
+ {
+ if (isSetUserID())
+ {
+ connector.setUserID(getUserID());
+ }
+ configure(connector.getConfig());
+ }
+
+ @Override
+ protected void validateDefinition()
+ {
+ CheckUtil.checkState(eIsSet(Net4jDefsPackage.CONNECTOR_DEF__BUFFER_PROVIDER), "buffer provider not set!");
+ CheckUtil.checkState(eIsSet(Net4jDefsPackage.CONNECTOR_DEF__EXECUTOR_SERVICE), "executor service not set!"); //
+ if (isSetClientProtocolProvider())
+ {
+ CheckUtil.checkState(getClientProtocolProvider().size() >= 1,
+ "client protocol provider is set but has no protocol factories!");
+ }
+
+ }
+
+ protected abstract IConnector createInstance();
+
+} // ConnectorDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/CredentialsProviderDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/CredentialsProviderDefImpl.java
new file mode 100644
index 0000000000..972c7bbd8f
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/CredentialsProviderDefImpl.java
@@ -0,0 +1,165 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: CredentialsProviderDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.net4jdefs.CredentialsProviderDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Credentials Provider Def</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.CredentialsProviderDefImpl#getUserID <em>User ID</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class CredentialsProviderDefImpl extends DefImpl implements CredentialsProviderDef {
+ /**
+ * The default value of the '{@link #getUserID() <em>User ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUserID()
+ * @generated
+ * @ordered
+ */
+ protected static final String USER_ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUserID() <em>User ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUserID()
+ * @generated
+ * @ordered
+ */
+ protected String userID = USER_ID_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CredentialsProviderDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.CREDENTIALS_PROVIDER_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getUserID() {
+ return userID;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUserID(String newUserID) {
+ String oldUserID = userID;
+ userID = newUserID;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.CREDENTIALS_PROVIDER_DEF__USER_ID, oldUserID, userID));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Net4jDefsPackage.CREDENTIALS_PROVIDER_DEF__USER_ID:
+ return getUserID();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Net4jDefsPackage.CREDENTIALS_PROVIDER_DEF__USER_ID:
+ setUserID((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.CREDENTIALS_PROVIDER_DEF__USER_ID:
+ setUserID(USER_ID_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.CREDENTIALS_PROVIDER_DEF__USER_ID:
+ return USER_ID_EDEFAULT == null ? userID != null : !USER_ID_EDEFAULT.equals(userID);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (userID: ");
+ result.append(userID);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CredentialsProviderDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/HTTPConnectorDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/HTTPConnectorDefImpl.java
new file mode 100644
index 0000000000..2dfd8ff7a0
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/HTTPConnectorDefImpl.java
@@ -0,0 +1,172 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: HTTPConnectorDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.http.common.IHTTPConnector;
+import org.eclipse.net4j.internal.http.HTTPClientConnector;
+import org.eclipse.net4j.net4jdefs.HTTPConnectorDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.util.CheckUtil;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '
+ * <em><b>HTTP Connector Def</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.HTTPConnectorDefImpl#getUrl <em>Url</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class HTTPConnectorDefImpl extends ConnectorDefImpl implements
+ HTTPConnectorDef {
+ /**
+ * The default value of the '{@link #getUrl() <em>Url</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getUrl()
+ * @generated
+ * @ordered
+ */
+ protected static final String URL_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getUrl() <em>Url</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getUrl()
+ * @generated
+ * @ordered
+ */
+ protected String url = URL_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected HTTPConnectorDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.HTTP_CONNECTOR_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getUrl() {
+ return url;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUrl(String newUrl) {
+ String oldUrl = url;
+ url = newUrl;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.HTTP_CONNECTOR_DEF__URL, oldUrl, url));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Net4jDefsPackage.HTTP_CONNECTOR_DEF__URL:
+ return getUrl();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Net4jDefsPackage.HTTP_CONNECTOR_DEF__URL:
+ setUrl((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.HTTP_CONNECTOR_DEF__URL:
+ setUrl(URL_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.HTTP_CONNECTOR_DEF__URL:
+ return URL_EDEFAULT == null ? url != null : !URL_EDEFAULT.equals(url);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (url: ");
+ result.append(url);
+ result.append(')');
+ return result.toString();
+ }
+
+ protected IHTTPConnector createInstance() {
+ HTTPClientConnector connector = new HTTPClientConnector();
+
+ configure(connector.getConfig());
+ connector.setURL(getUrl());
+ connector.activate();
+
+ return connector;
+ }
+
+ @Override
+ protected void validateDefinition() {
+ super.validateDefinition();
+ CheckUtil.checkState(eIsSet(Net4jDefsPackage.HTTP_CONNECTOR_DEF__URL), "url not set!");
+ }
+} // HTTPConnectorDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/JVMAcceptorDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/JVMAcceptorDefImpl.java
new file mode 100644
index 0000000000..a79197825c
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/JVMAcceptorDefImpl.java
@@ -0,0 +1,173 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: JVMAcceptorDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.buffer.IBufferProvider;
+import org.eclipse.net4j.internal.jvm.JVMAcceptor;
+import org.eclipse.net4j.net4jdefs.JVMAcceptorDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.util.CheckUtil;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import java.util.concurrent.ExecutorService;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '
+ * <em><b>JVM Acceptor Def</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.JVMAcceptorDefImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class JVMAcceptorDefImpl extends AcceptorDefImpl implements
+ JVMAcceptorDef {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected JVMAcceptorDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.JVM_ACCEPTOR_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.JVM_ACCEPTOR_DEF__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Net4jDefsPackage.JVM_ACCEPTOR_DEF__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Net4jDefsPackage.JVM_ACCEPTOR_DEF__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.JVM_ACCEPTOR_DEF__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.JVM_ACCEPTOR_DEF__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+ @Override
+ protected Object createInstance() {
+ JVMAcceptor jvmAcceptor = new JVMAcceptor();
+ jvmAcceptor.getConfig().setBufferProvider(
+ (IBufferProvider) getBufferProvider().getInstance());
+ jvmAcceptor.getConfig().setReceiveExecutor(
+ (ExecutorService) getExecutorService().getInstance());
+ jvmAcceptor.setName(getName());
+ return jvmAcceptor;
+ }
+
+ @Override
+ protected void validateDefinition() {
+ super.validateDefinition();
+ CheckUtil.checkState(eIsSet(Net4jDefsPackage.JVM_ACCEPTOR_DEF__NAME), "name not set!");
+ }
+} // JVMAcceptorDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/JVMConnectorDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/JVMConnectorDefImpl.java
new file mode 100644
index 0000000000..a1ab84c887
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/JVMConnectorDefImpl.java
@@ -0,0 +1,179 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: JVMConnectorDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.internal.jvm.JVMClientConnector;
+import org.eclipse.net4j.jvm.IJVMConnector;
+import org.eclipse.net4j.net4jdefs.JVMConnectorDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.util.CheckUtil;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '
+ * <em><b>JVM Connector Def</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.JVMConnectorDefImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class JVMConnectorDefImpl extends ConnectorDefImpl implements
+ JVMConnectorDef {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected JVMConnectorDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.JVM_CONNECTOR_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.JVM_CONNECTOR_DEF__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Net4jDefsPackage.JVM_CONNECTOR_DEF__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Net4jDefsPackage.JVM_CONNECTOR_DEF__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.JVM_CONNECTOR_DEF__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.JVM_CONNECTOR_DEF__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+ @Override
+ protected IJVMConnector createInstance() {
+ JVMClientConnector connector = new JVMClientConnector();
+ configure(connector);
+
+ connector.setName(getName());
+ return connector;
+ }
+
+ @Override
+ protected void validateDefinition() {
+ super.validateDefinition();
+ CheckUtil.checkState(eIsSet(Net4jDefsPackage.JVM_CONNECTOR_DEF__NAME), "name not set!");
+ }
+
+} // JVMConnectorDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/NegotiatorDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/NegotiatorDefImpl.java
new file mode 100644
index 0000000000..819b94e6e3
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/NegotiatorDefImpl.java
@@ -0,0 +1,44 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: NegotiatorDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.net4jdefs.NegotiatorDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Negotiator Def</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class NegotiatorDefImpl extends DefImpl implements NegotiatorDef {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected NegotiatorDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.NEGOTIATOR_DEF;
+ }
+
+} //NegotiatorDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/Net4jDefsFactoryImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/Net4jDefsFactoryImpl.java
new file mode 100644
index 0000000000..5fa36b5d55
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/Net4jDefsFactoryImpl.java
@@ -0,0 +1,243 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: Net4jDefsFactoryImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.net4jdefs.BufferPoolDef;
+import org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef;
+import org.eclipse.net4j.net4jdefs.HTTPConnectorDef;
+import org.eclipse.net4j.net4jdefs.JVMAcceptorDef;
+import org.eclipse.net4j.net4jdefs.JVMConnectorDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsFactory;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.PasswordCredentialsProviderDef;
+import org.eclipse.net4j.net4jdefs.RandomizerDef;
+import org.eclipse.net4j.net4jdefs.ResponseNegotiatorDef;
+import org.eclipse.net4j.net4jdefs.TCPAcceptorDef;
+import org.eclipse.net4j.net4jdefs.TCPConnectorDef;
+import org.eclipse.net4j.net4jdefs.TCPSelectorDef;
+import org.eclipse.net4j.net4jdefs.User;
+import org.eclipse.net4j.net4jdefs.UserManagerDef;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class Net4jDefsFactoryImpl extends EFactoryImpl implements Net4jDefsFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static Net4jDefsFactory init() {
+ try {
+ Net4jDefsFactory theNet4jDefsFactory = (Net4jDefsFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/NET4J/defs/1.0.0");
+ if (theNet4jDefsFactory != null) {
+ return theNet4jDefsFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new Net4jDefsFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Net4jDefsFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case Net4jDefsPackage.TCP_CONNECTOR_DEF: return createTCPConnectorDef();
+ case Net4jDefsPackage.TCP_ACCEPTOR_DEF: return createTCPAcceptorDef();
+ case Net4jDefsPackage.JVM_ACCEPTOR_DEF: return createJVMAcceptorDef();
+ case Net4jDefsPackage.JVM_CONNECTOR_DEF: return createJVMConnectorDef();
+ case Net4jDefsPackage.HTTP_CONNECTOR_DEF: return createHTTPConnectorDef();
+ case Net4jDefsPackage.RESPONSE_NEGOTIATOR_DEF: return createResponseNegotiatorDef();
+ case Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF: return createChallengeNegotiatorDef();
+ case Net4jDefsPackage.TCP_SELECTOR_DEF: return createTCPSelectorDef();
+ case Net4jDefsPackage.BUFFER_POOL_DEF: return createBufferPoolDef();
+ case Net4jDefsPackage.PASSWORD_CREDENTIALS_PROVIDER_DEF: return createPasswordCredentialsProviderDef();
+ case Net4jDefsPackage.USER: return createUser();
+ case Net4jDefsPackage.USER_MANAGER_DEF: return createUserManagerDef();
+ case Net4jDefsPackage.RANDOMIZER_DEF: return createRandomizerDef();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TCPConnectorDef createTCPConnectorDef() {
+ TCPConnectorDefImpl tcpConnectorDef = new TCPConnectorDefImpl();
+ return tcpConnectorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TCPAcceptorDef createTCPAcceptorDef() {
+ TCPAcceptorDefImpl tcpAcceptorDef = new TCPAcceptorDefImpl();
+ return tcpAcceptorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JVMAcceptorDef createJVMAcceptorDef() {
+ JVMAcceptorDefImpl jvmAcceptorDef = new JVMAcceptorDefImpl();
+ return jvmAcceptorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JVMConnectorDef createJVMConnectorDef() {
+ JVMConnectorDefImpl jvmConnectorDef = new JVMConnectorDefImpl();
+ return jvmConnectorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HTTPConnectorDef createHTTPConnectorDef() {
+ HTTPConnectorDefImpl httpConnectorDef = new HTTPConnectorDefImpl();
+ return httpConnectorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResponseNegotiatorDef createResponseNegotiatorDef() {
+ ResponseNegotiatorDefImpl responseNegotiatorDef = new ResponseNegotiatorDefImpl();
+ return responseNegotiatorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ChallengeNegotiatorDef createChallengeNegotiatorDef() {
+ ChallengeNegotiatorDefImpl challengeNegotiatorDef = new ChallengeNegotiatorDefImpl();
+ return challengeNegotiatorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TCPSelectorDef createTCPSelectorDef() {
+ TCPSelectorDefImpl tcpSelectorDef = new TCPSelectorDefImpl();
+ return tcpSelectorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BufferPoolDef createBufferPoolDef() {
+ BufferPoolDefImpl bufferPoolDef = new BufferPoolDefImpl();
+ return bufferPoolDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PasswordCredentialsProviderDef createPasswordCredentialsProviderDef() {
+ PasswordCredentialsProviderDefImpl passwordCredentialsProviderDef = new PasswordCredentialsProviderDefImpl();
+ return passwordCredentialsProviderDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public UserManagerDef createUserManagerDef() {
+ UserManagerDefImpl userManagerDef = new UserManagerDefImpl();
+ return userManagerDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RandomizerDef createRandomizerDef() {
+ RandomizerDefImpl randomizerDef = new RandomizerDefImpl();
+ return randomizerDef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public User createUser() {
+ UserImpl user = new UserImpl();
+ return user;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Net4jDefsPackage getNet4jDefsPackage() {
+ return (Net4jDefsPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static Net4jDefsPackage getPackage() {
+ return Net4jDefsPackage.eINSTANCE;
+ }
+
+} //Net4jDefsFactoryImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/Net4jDefsPackageImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/Net4jDefsPackageImpl.java
new file mode 100644
index 0000000000..47cd12e5ca
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/Net4jDefsPackageImpl.java
@@ -0,0 +1,910 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: Net4jDefsPackageImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.net4jdefs.AcceptorDef;
+import org.eclipse.net4j.net4jdefs.BufferPoolDef;
+import org.eclipse.net4j.net4jdefs.BufferProviderDef;
+import org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef;
+import org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef;
+import org.eclipse.net4j.net4jdefs.ConnectorDef;
+import org.eclipse.net4j.net4jdefs.CredentialsProviderDef;
+import org.eclipse.net4j.net4jdefs.HTTPConnectorDef;
+import org.eclipse.net4j.net4jdefs.JVMAcceptorDef;
+import org.eclipse.net4j.net4jdefs.JVMConnectorDef;
+import org.eclipse.net4j.net4jdefs.NegotiatorDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsFactory;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.PasswordCredentialsProviderDef;
+import org.eclipse.net4j.net4jdefs.ProtocolProviderDef;
+import org.eclipse.net4j.net4jdefs.RandomizerDef;
+import org.eclipse.net4j.net4jdefs.ResponseNegotiatorDef;
+import org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef;
+import org.eclipse.net4j.net4jdefs.TCPAcceptorDef;
+import org.eclipse.net4j.net4jdefs.TCPConnectorDef;
+import org.eclipse.net4j.net4jdefs.TCPSelectorDef;
+import org.eclipse.net4j.net4jdefs.User;
+import org.eclipse.net4j.net4jdefs.UserManagerDef;
+import org.eclipse.net4j.util.net4jutildefs.Net4jUtilDefsPackage;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class Net4jDefsPackageImpl extends EPackageImpl implements Net4jDefsPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass connectorDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass clientProtocolFactoryDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass tcpConnectorDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass acceptorDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass tcpAcceptorDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass jvmAcceptorDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass jvmConnectorDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass httpConnectorDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass negotiatorDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass responseNegotiatorDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass challengeNegotiatorDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass tcpSelectorDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass serverProtocolFactoryDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass bufferProviderDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass bufferPoolDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass protocolProviderDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass credentialsProviderDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass passwordCredentialsProviderDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass userManagerDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass randomizerDefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass userEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private Net4jDefsPackageImpl() {
+ super(eNS_URI, Net4jDefsFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this
+ * model, and for any others upon which it depends. Simple
+ * dependencies are satisfied by calling this method on all
+ * dependent packages before doing anything else. This method drives
+ * initialization for interdependent packages directly, in parallel
+ * with this package, itself.
+ * <p>Of this package and its interdependencies, all packages which
+ * have not yet been registered by their URI values are first created
+ * and registered. The packages are then initialized in two steps:
+ * meta-model objects for all of the packages are created before any
+ * are initialized, since one package's meta-model objects may refer to
+ * those of another.
+ * <p>Invocation of this method will not affect any packages that have
+ * already been initialized.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static Net4jDefsPackage init() {
+ if (isInited) return (Net4jDefsPackage)EPackage.Registry.INSTANCE.getEPackage(Net4jDefsPackage.eNS_URI);
+
+ // Obtain or create and register package
+ Net4jDefsPackageImpl theNet4jDefsPackage = (Net4jDefsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof Net4jDefsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new Net4jDefsPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ Net4jUtilDefsPackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theNet4jDefsPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theNet4jDefsPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theNet4jDefsPackage.freeze();
+
+ return theNet4jDefsPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getConnectorDef() {
+ return connectorDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getConnectorDef_UserID() {
+ return (EAttribute)connectorDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getConnectorDef_BufferProvider() {
+ return (EReference)connectorDefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getConnectorDef_ExecutorService() {
+ return (EReference)connectorDefEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getConnectorDef_Negotiator() {
+ return (EReference)connectorDefEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getConnectorDef_ClientProtocolProvider() {
+ return (EReference)connectorDefEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getClientProtocolFactoryDef() {
+ return clientProtocolFactoryDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTCPConnectorDef() {
+ return tcpConnectorDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTCPConnectorDef_TcpSelectorDef() {
+ return (EReference)tcpConnectorDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTCPConnectorDef_Host() {
+ return (EAttribute)tcpConnectorDefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTCPConnectorDef_Port() {
+ return (EAttribute)tcpConnectorDefEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getAcceptorDef() {
+ return acceptorDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAcceptorDef_BufferProvider() {
+ return (EReference)acceptorDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAcceptorDef_ExecutorService() {
+ return (EReference)acceptorDefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAcceptorDef_Negotiator() {
+ return (EReference)acceptorDefEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAcceptorDef_ServerProtocolProvider() {
+ return (EReference)acceptorDefEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTCPAcceptorDef() {
+ return tcpAcceptorDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTCPAcceptorDef_Host() {
+ return (EAttribute)tcpAcceptorDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTCPAcceptorDef_Port() {
+ return (EAttribute)tcpAcceptorDefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTCPAcceptorDef_TcpSelectorDef() {
+ return (EReference)tcpAcceptorDefEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getJVMAcceptorDef() {
+ return jvmAcceptorDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getJVMAcceptorDef_Name() {
+ return (EAttribute)jvmAcceptorDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getJVMConnectorDef() {
+ return jvmConnectorDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getJVMConnectorDef_Name() {
+ return (EAttribute)jvmConnectorDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getHTTPConnectorDef() {
+ return httpConnectorDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getHTTPConnectorDef_Url() {
+ return (EAttribute)httpConnectorDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getNegotiatorDef() {
+ return negotiatorDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getResponseNegotiatorDef() {
+ return responseNegotiatorDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getResponseNegotiatorDef_CredentialsProvider() {
+ return (EReference)responseNegotiatorDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getChallengeNegotiatorDef() {
+ return challengeNegotiatorDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getChallengeNegotiatorDef_UserManager() {
+ return (EReference)challengeNegotiatorDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getChallengeNegotiatorDef_Randomizer() {
+ return (EReference)challengeNegotiatorDefEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTCPSelectorDef() {
+ return tcpSelectorDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getServerProtocolFactoryDef() {
+ return serverProtocolFactoryDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBufferProviderDef() {
+ return bufferProviderDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBufferPoolDef() {
+ return bufferPoolDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getProtocolProviderDef() {
+ return protocolProviderDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCredentialsProviderDef() {
+ return credentialsProviderDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCredentialsProviderDef_UserID() {
+ return (EAttribute)credentialsProviderDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPasswordCredentialsProviderDef() {
+ return passwordCredentialsProviderDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPasswordCredentialsProviderDef_Password() {
+ return (EAttribute)passwordCredentialsProviderDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUserManagerDef() {
+ return userManagerDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUserManagerDef_User() {
+ return (EReference)userManagerDefEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRandomizerDef() {
+ return randomizerDefEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUser() {
+ return userEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUser_UserID() {
+ return (EAttribute)userEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUser_Password() {
+ return (EAttribute)userEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Net4jDefsFactory getNet4jDefsFactory() {
+ return (Net4jDefsFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ connectorDefEClass = createEClass(CONNECTOR_DEF);
+ createEAttribute(connectorDefEClass, CONNECTOR_DEF__USER_ID);
+ createEReference(connectorDefEClass, CONNECTOR_DEF__BUFFER_PROVIDER);
+ createEReference(connectorDefEClass, CONNECTOR_DEF__EXECUTOR_SERVICE);
+ createEReference(connectorDefEClass, CONNECTOR_DEF__NEGOTIATOR);
+ createEReference(connectorDefEClass, CONNECTOR_DEF__CLIENT_PROTOCOL_PROVIDER);
+
+ clientProtocolFactoryDefEClass = createEClass(CLIENT_PROTOCOL_FACTORY_DEF);
+
+ tcpConnectorDefEClass = createEClass(TCP_CONNECTOR_DEF);
+ createEReference(tcpConnectorDefEClass, TCP_CONNECTOR_DEF__TCP_SELECTOR_DEF);
+ createEAttribute(tcpConnectorDefEClass, TCP_CONNECTOR_DEF__HOST);
+ createEAttribute(tcpConnectorDefEClass, TCP_CONNECTOR_DEF__PORT);
+
+ acceptorDefEClass = createEClass(ACCEPTOR_DEF);
+ createEReference(acceptorDefEClass, ACCEPTOR_DEF__BUFFER_PROVIDER);
+ createEReference(acceptorDefEClass, ACCEPTOR_DEF__EXECUTOR_SERVICE);
+ createEReference(acceptorDefEClass, ACCEPTOR_DEF__NEGOTIATOR);
+ createEReference(acceptorDefEClass, ACCEPTOR_DEF__SERVER_PROTOCOL_PROVIDER);
+
+ tcpAcceptorDefEClass = createEClass(TCP_ACCEPTOR_DEF);
+ createEAttribute(tcpAcceptorDefEClass, TCP_ACCEPTOR_DEF__HOST);
+ createEAttribute(tcpAcceptorDefEClass, TCP_ACCEPTOR_DEF__PORT);
+ createEReference(tcpAcceptorDefEClass, TCP_ACCEPTOR_DEF__TCP_SELECTOR_DEF);
+
+ jvmAcceptorDefEClass = createEClass(JVM_ACCEPTOR_DEF);
+ createEAttribute(jvmAcceptorDefEClass, JVM_ACCEPTOR_DEF__NAME);
+
+ jvmConnectorDefEClass = createEClass(JVM_CONNECTOR_DEF);
+ createEAttribute(jvmConnectorDefEClass, JVM_CONNECTOR_DEF__NAME);
+
+ httpConnectorDefEClass = createEClass(HTTP_CONNECTOR_DEF);
+ createEAttribute(httpConnectorDefEClass, HTTP_CONNECTOR_DEF__URL);
+
+ negotiatorDefEClass = createEClass(NEGOTIATOR_DEF);
+
+ responseNegotiatorDefEClass = createEClass(RESPONSE_NEGOTIATOR_DEF);
+ createEReference(responseNegotiatorDefEClass, RESPONSE_NEGOTIATOR_DEF__CREDENTIALS_PROVIDER);
+
+ challengeNegotiatorDefEClass = createEClass(CHALLENGE_NEGOTIATOR_DEF);
+ createEReference(challengeNegotiatorDefEClass, CHALLENGE_NEGOTIATOR_DEF__USER_MANAGER);
+ createEReference(challengeNegotiatorDefEClass, CHALLENGE_NEGOTIATOR_DEF__RANDOMIZER);
+
+ tcpSelectorDefEClass = createEClass(TCP_SELECTOR_DEF);
+
+ serverProtocolFactoryDefEClass = createEClass(SERVER_PROTOCOL_FACTORY_DEF);
+
+ bufferProviderDefEClass = createEClass(BUFFER_PROVIDER_DEF);
+
+ bufferPoolDefEClass = createEClass(BUFFER_POOL_DEF);
+
+ protocolProviderDefEClass = createEClass(PROTOCOL_PROVIDER_DEF);
+
+ credentialsProviderDefEClass = createEClass(CREDENTIALS_PROVIDER_DEF);
+ createEAttribute(credentialsProviderDefEClass, CREDENTIALS_PROVIDER_DEF__USER_ID);
+
+ passwordCredentialsProviderDefEClass = createEClass(PASSWORD_CREDENTIALS_PROVIDER_DEF);
+ createEAttribute(passwordCredentialsProviderDefEClass, PASSWORD_CREDENTIALS_PROVIDER_DEF__PASSWORD);
+
+ userEClass = createEClass(USER);
+ createEAttribute(userEClass, USER__USER_ID);
+ createEAttribute(userEClass, USER__PASSWORD);
+
+ userManagerDefEClass = createEClass(USER_MANAGER_DEF);
+ createEReference(userManagerDefEClass, USER_MANAGER_DEF__USER);
+
+ randomizerDefEClass = createEClass(RANDOMIZER_DEF);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ Net4jUtilDefsPackage theNet4jUtilDefsPackage = (Net4jUtilDefsPackage)EPackage.Registry.INSTANCE.getEPackage(Net4jUtilDefsPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ connectorDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ clientProtocolFactoryDefEClass.getESuperTypes().add(this.getProtocolProviderDef());
+ tcpConnectorDefEClass.getESuperTypes().add(this.getConnectorDef());
+ acceptorDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ tcpAcceptorDefEClass.getESuperTypes().add(this.getAcceptorDef());
+ jvmAcceptorDefEClass.getESuperTypes().add(this.getAcceptorDef());
+ jvmConnectorDefEClass.getESuperTypes().add(this.getConnectorDef());
+ httpConnectorDefEClass.getESuperTypes().add(this.getConnectorDef());
+ negotiatorDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ responseNegotiatorDefEClass.getESuperTypes().add(this.getNegotiatorDef());
+ challengeNegotiatorDefEClass.getESuperTypes().add(this.getNegotiatorDef());
+ tcpSelectorDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ serverProtocolFactoryDefEClass.getESuperTypes().add(this.getProtocolProviderDef());
+ bufferProviderDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ bufferPoolDefEClass.getESuperTypes().add(this.getBufferProviderDef());
+ protocolProviderDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ credentialsProviderDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ passwordCredentialsProviderDefEClass.getESuperTypes().add(this.getCredentialsProviderDef());
+ userManagerDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+ randomizerDefEClass.getESuperTypes().add(theNet4jUtilDefsPackage.getDef());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(connectorDefEClass, ConnectorDef.class, "ConnectorDef", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getConnectorDef_UserID(), ecorePackage.getEString(), "userID", null, 0, 1, ConnectorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getConnectorDef_BufferProvider(), this.getBufferProviderDef(), null, "bufferProvider", null, 1, 1, ConnectorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getConnectorDef_ExecutorService(), theNet4jUtilDefsPackage.getExecutorServiceDef(), null, "executorService", null, 1, 1, ConnectorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getConnectorDef_Negotiator(), this.getNegotiatorDef(), null, "negotiator", null, 0, 1, ConnectorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getConnectorDef_ClientProtocolProvider(), this.getClientProtocolFactoryDef(), null, "clientProtocolProvider", null, 1, -1, ConnectorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(clientProtocolFactoryDefEClass, ClientProtocolFactoryDef.class, "ClientProtocolFactoryDef", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(tcpConnectorDefEClass, TCPConnectorDef.class, "TCPConnectorDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getTCPConnectorDef_TcpSelectorDef(), this.getTCPSelectorDef(), null, "tcpSelectorDef", null, 0, 1, TCPConnectorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTCPConnectorDef_Host(), ecorePackage.getEString(), "host", null, 1, 1, TCPConnectorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTCPConnectorDef_Port(), ecorePackage.getEInt(), "port", null, 0, 1, TCPConnectorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(acceptorDefEClass, AcceptorDef.class, "AcceptorDef", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getAcceptorDef_BufferProvider(), this.getBufferPoolDef(), null, "bufferProvider", null, 0, 1, AcceptorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAcceptorDef_ExecutorService(), theNet4jUtilDefsPackage.getThreadPoolDef(), null, "executorService", null, 0, 1, AcceptorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAcceptorDef_Negotiator(), this.getNegotiatorDef(), null, "negotiator", null, 0, 1, AcceptorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAcceptorDef_ServerProtocolProvider(), this.getServerProtocolFactoryDef(), null, "serverProtocolProvider", null, 1, -1, AcceptorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(tcpAcceptorDefEClass, TCPAcceptorDef.class, "TCPAcceptorDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getTCPAcceptorDef_Host(), ecorePackage.getEString(), "host", null, 1, 1, TCPAcceptorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTCPAcceptorDef_Port(), ecorePackage.getEInt(), "port", null, 1, 1, TCPAcceptorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getTCPAcceptorDef_TcpSelectorDef(), this.getTCPSelectorDef(), null, "tcpSelectorDef", null, 1, 1, TCPAcceptorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(jvmAcceptorDefEClass, JVMAcceptorDef.class, "JVMAcceptorDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getJVMAcceptorDef_Name(), ecorePackage.getEString(), "name", null, 0, 1, JVMAcceptorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(jvmConnectorDefEClass, JVMConnectorDef.class, "JVMConnectorDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getJVMConnectorDef_Name(), ecorePackage.getEString(), "name", null, 0, 1, JVMConnectorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(httpConnectorDefEClass, HTTPConnectorDef.class, "HTTPConnectorDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getHTTPConnectorDef_Url(), ecorePackage.getEString(), "url", null, 0, 1, HTTPConnectorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(negotiatorDefEClass, NegotiatorDef.class, "NegotiatorDef", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(responseNegotiatorDefEClass, ResponseNegotiatorDef.class, "ResponseNegotiatorDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getResponseNegotiatorDef_CredentialsProvider(), this.getCredentialsProviderDef(), null, "credentialsProvider", null, 0, 1, ResponseNegotiatorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(challengeNegotiatorDefEClass, ChallengeNegotiatorDef.class, "ChallengeNegotiatorDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getChallengeNegotiatorDef_UserManager(), this.getUserManagerDef(), null, "userManager", null, 0, 1, ChallengeNegotiatorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getChallengeNegotiatorDef_Randomizer(), this.getRandomizerDef(), null, "randomizer", null, 0, 1, ChallengeNegotiatorDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(tcpSelectorDefEClass, TCPSelectorDef.class, "TCPSelectorDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(serverProtocolFactoryDefEClass, ServerProtocolFactoryDef.class, "ServerProtocolFactoryDef", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(bufferProviderDefEClass, BufferProviderDef.class, "BufferProviderDef", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(bufferPoolDefEClass, BufferPoolDef.class, "BufferPoolDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(protocolProviderDefEClass, ProtocolProviderDef.class, "ProtocolProviderDef", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(credentialsProviderDefEClass, CredentialsProviderDef.class, "CredentialsProviderDef", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getCredentialsProviderDef_UserID(), ecorePackage.getEString(), "userID", null, 0, 1, CredentialsProviderDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(passwordCredentialsProviderDefEClass, PasswordCredentialsProviderDef.class, "PasswordCredentialsProviderDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getPasswordCredentialsProviderDef_Password(), ecorePackage.getEString(), "password", null, 0, 1, PasswordCredentialsProviderDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(userEClass, User.class, "User", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getUser_UserID(), ecorePackage.getEString(), "userID", null, 0, 1, User.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUser_Password(), ecorePackage.getEString(), "password", null, 0, 1, User.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(userManagerDefEClass, UserManagerDef.class, "UserManagerDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getUserManagerDef_User(), this.getUser(), null, "user", null, 1, -1, UserManagerDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(randomizerDefEClass, RandomizerDef.class, "RandomizerDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} //Net4jDefsPackageImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/PasswordCredentialsProviderDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/PasswordCredentialsProviderDefImpl.java
new file mode 100644
index 0000000000..a2365a2ece
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/PasswordCredentialsProviderDefImpl.java
@@ -0,0 +1,184 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: PasswordCredentialsProviderDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.PasswordCredentialsProviderDef;
+import org.eclipse.net4j.util.CheckUtil;
+import org.eclipse.net4j.util.security.IPasswordCredentials;
+import org.eclipse.net4j.util.security.PasswordCredentials;
+import org.eclipse.net4j.util.security.PasswordCredentialsProvider;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Password Credentials Provider Def</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.PasswordCredentialsProviderDefImpl#getPassword <em>Password</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PasswordCredentialsProviderDefImpl extends CredentialsProviderDefImpl implements PasswordCredentialsProviderDef {
+
+ /**
+ * The default value of the '{@link #getPassword() <em>Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPassword()
+ * @generated
+ * @ordered
+ */
+ protected static final String PASSWORD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPassword() <em>Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPassword()
+ * @generated
+ * @ordered
+ */
+ protected String password = PASSWORD_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PasswordCredentialsProviderDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.PASSWORD_CREDENTIALS_PROVIDER_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPassword() {
+ return password;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPassword(String newPassword) {
+ String oldPassword = password;
+ password = newPassword;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.PASSWORD_CREDENTIALS_PROVIDER_DEF__PASSWORD, oldPassword, password));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Net4jDefsPackage.PASSWORD_CREDENTIALS_PROVIDER_DEF__PASSWORD:
+ return getPassword();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Net4jDefsPackage.PASSWORD_CREDENTIALS_PROVIDER_DEF__PASSWORD:
+ setPassword((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.PASSWORD_CREDENTIALS_PROVIDER_DEF__PASSWORD:
+ setPassword(PASSWORD_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.PASSWORD_CREDENTIALS_PROVIDER_DEF__PASSWORD:
+ return PASSWORD_EDEFAULT == null ? password != null : !PASSWORD_EDEFAULT.equals(password);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (password: ");
+ result.append(password);
+ result.append(')');
+ return result.toString();
+ }
+
+ @Override
+ protected Object createInstance() {
+ IPasswordCredentials passwordCredential = new PasswordCredentials(getUserID(), getPassword().toCharArray());
+ PasswordCredentialsProvider passwordCredentialsProvider = new PasswordCredentialsProvider(passwordCredential );
+ return passwordCredentialsProvider;
+ }
+
+ @Override
+ protected void validateDefinition() {
+ CheckUtil.checkState(getUserID() != null && getUserID().length() > 0, "userID is not set!");
+ CheckUtil.checkState(getPassword() != null && getPassword().length() > 0, "password is not set!");
+ super.validateDefinition();
+ }
+
+
+} //PasswordCredentialsProviderDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ProtocolProviderDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ProtocolProviderDefImpl.java
new file mode 100644
index 0000000000..18ea454aae
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ProtocolProviderDefImpl.java
@@ -0,0 +1,44 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ProtocolProviderDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.ProtocolProviderDef;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Protocol Provider Def</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class ProtocolProviderDefImpl extends DefImpl implements ProtocolProviderDef {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ProtocolProviderDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.PROTOCOL_PROVIDER_DEF;
+ }
+
+} //ProtocolProviderDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/RandomizerDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/RandomizerDefImpl.java
new file mode 100644
index 0000000000..7fd359a4f2
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/RandomizerDefImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: RandomizerDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.RandomizerDef;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+import org.eclipse.net4j.util.security.Randomizer;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Randomizer Def</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class RandomizerDefImpl extends DefImpl implements RandomizerDef
+{
+ @Override
+ protected Object createInstance()
+ {
+ return new Randomizer();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected RandomizerDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Net4jDefsPackage.Literals.RANDOMIZER_DEF;
+ }
+
+} // RandomizerDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ResponseNegotiatorDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ResponseNegotiatorDefImpl.java
new file mode 100644
index 0000000000..87fb99bc68
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ResponseNegotiatorDefImpl.java
@@ -0,0 +1,161 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ResponseNegotiatorDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.net4jdefs.CredentialsProviderDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.ResponseNegotiatorDef;
+import org.eclipse.net4j.util.security.IPasswordCredentialsProvider;
+import org.eclipse.net4j.util.security.ResponseNegotiator;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '
+ * <em><b>Response Negotiator Def</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.ResponseNegotiatorDefImpl#getCredentialsProvider <em>Credentials Provider</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ResponseNegotiatorDefImpl extends NegotiatorDefImpl implements
+ ResponseNegotiatorDef {
+ /**
+ * The cached value of the '{@link #getCredentialsProvider() <em>Credentials Provider</em>}' reference.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @see #getCredentialsProvider()
+ * @generated
+ * @ordered
+ */
+ protected CredentialsProviderDef credentialsProvider;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected ResponseNegotiatorDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.RESPONSE_NEGOTIATOR_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public CredentialsProviderDef getCredentialsProvider() {
+ if (credentialsProvider != null && credentialsProvider.eIsProxy()) {
+ InternalEObject oldCredentialsProvider = (InternalEObject)credentialsProvider;
+ credentialsProvider = (CredentialsProviderDef)eResolveProxy(oldCredentialsProvider);
+ if (credentialsProvider != oldCredentialsProvider) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Net4jDefsPackage.RESPONSE_NEGOTIATOR_DEF__CREDENTIALS_PROVIDER, oldCredentialsProvider, credentialsProvider));
+ }
+ }
+ return credentialsProvider;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public CredentialsProviderDef basicGetCredentialsProvider() {
+ return credentialsProvider;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCredentialsProvider(
+ CredentialsProviderDef newCredentialsProvider) {
+ CredentialsProviderDef oldCredentialsProvider = credentialsProvider;
+ credentialsProvider = newCredentialsProvider;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.RESPONSE_NEGOTIATOR_DEF__CREDENTIALS_PROVIDER, oldCredentialsProvider, credentialsProvider));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Net4jDefsPackage.RESPONSE_NEGOTIATOR_DEF__CREDENTIALS_PROVIDER:
+ if (resolve) return getCredentialsProvider();
+ return basicGetCredentialsProvider();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Net4jDefsPackage.RESPONSE_NEGOTIATOR_DEF__CREDENTIALS_PROVIDER:
+ setCredentialsProvider((CredentialsProviderDef)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.RESPONSE_NEGOTIATOR_DEF__CREDENTIALS_PROVIDER:
+ setCredentialsProvider((CredentialsProviderDef)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.RESPONSE_NEGOTIATOR_DEF__CREDENTIALS_PROVIDER:
+ return credentialsProvider != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ @Override
+ protected Object createInstance() {
+ ResponseNegotiator responseNegotiator = new ResponseNegotiator();
+ responseNegotiator
+ .setCredentialsProvider((IPasswordCredentialsProvider) getCredentialsProvider()
+ .getInstance());
+ return responseNegotiator;
+ }
+
+} // ResponseNegotiatorDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ServerProtocolFactoryDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ServerProtocolFactoryDefImpl.java
new file mode 100644
index 0000000000..67244505f7
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/ServerProtocolFactoryDefImpl.java
@@ -0,0 +1,45 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: ServerProtocolFactoryDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Server Protocol Factory Def</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class ServerProtocolFactoryDefImpl extends ProtocolProviderDefImpl implements ServerProtocolFactoryDef
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected ServerProtocolFactoryDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Net4jDefsPackage.Literals.SERVER_PROTOCOL_FACTORY_DEF;
+ }
+
+} // ServerProtocolFactoryDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPAcceptorDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPAcceptorDefImpl.java
new file mode 100644
index 0000000000..3d40bac6eb
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPAcceptorDefImpl.java
@@ -0,0 +1,289 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: TCPAcceptorDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.internal.tcp.TCPAcceptor;
+import org.eclipse.net4j.internal.tcp.TCPSelector;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.TCPAcceptorDef;
+import org.eclipse.net4j.net4jdefs.TCPSelectorDef;
+import org.eclipse.net4j.tcp.ITCPAcceptor;
+import org.eclipse.net4j.util.CheckUtil;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '
+ * <em><b>TCP Acceptor Def</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.TCPAcceptorDefImpl#getHost <em>Host</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.TCPAcceptorDefImpl#getPort <em>Port</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.TCPAcceptorDefImpl#getTcpSelectorDef <em>Tcp Selector Def</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TCPAcceptorDefImpl extends AcceptorDefImpl implements
+ TCPAcceptorDef {
+ /**
+ * The default value of the '{@link #getHost() <em>Host</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getHost()
+ * @generated
+ * @ordered
+ */
+ protected static final String HOST_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getHost() <em>Host</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getHost()
+ * @generated
+ * @ordered
+ */
+ protected String host = HOST_EDEFAULT;
+ /**
+ * The default value of the '{@link #getPort() <em>Port</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getPort()
+ * @generated
+ * @ordered
+ */
+ protected static final int PORT_EDEFAULT = 0;
+ /**
+ * The cached value of the '{@link #getPort() <em>Port</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getPort()
+ * @generated
+ * @ordered
+ */
+ protected int port = PORT_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getTcpSelectorDef() <em>Tcp Selector Def</em>}' reference.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @see #getTcpSelectorDef()
+ * @generated
+ * @ordered
+ */
+ protected TCPSelectorDef tcpSelectorDef;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected TCPAcceptorDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.TCP_ACCEPTOR_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getHost() {
+ return host;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHost(String newHost) {
+ String oldHost = host;
+ host = newHost;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.TCP_ACCEPTOR_DEF__HOST, oldHost, host));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public int getPort() {
+ return port;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPort(int newPort) {
+ int oldPort = port;
+ port = newPort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.TCP_ACCEPTOR_DEF__PORT, oldPort, port));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public TCPSelectorDef getTcpSelectorDef() {
+ if (tcpSelectorDef != null && tcpSelectorDef.eIsProxy()) {
+ InternalEObject oldTcpSelectorDef = (InternalEObject)tcpSelectorDef;
+ tcpSelectorDef = (TCPSelectorDef)eResolveProxy(oldTcpSelectorDef);
+ if (tcpSelectorDef != oldTcpSelectorDef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Net4jDefsPackage.TCP_ACCEPTOR_DEF__TCP_SELECTOR_DEF, oldTcpSelectorDef, tcpSelectorDef));
+ }
+ }
+ return tcpSelectorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public TCPSelectorDef basicGetTcpSelectorDef() {
+ return tcpSelectorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTcpSelectorDef(TCPSelectorDef newTcpSelectorDef) {
+ TCPSelectorDef oldTcpSelectorDef = tcpSelectorDef;
+ tcpSelectorDef = newTcpSelectorDef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.TCP_ACCEPTOR_DEF__TCP_SELECTOR_DEF, oldTcpSelectorDef, tcpSelectorDef));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Net4jDefsPackage.TCP_ACCEPTOR_DEF__HOST:
+ return getHost();
+ case Net4jDefsPackage.TCP_ACCEPTOR_DEF__PORT:
+ return new Integer(getPort());
+ case Net4jDefsPackage.TCP_ACCEPTOR_DEF__TCP_SELECTOR_DEF:
+ if (resolve) return getTcpSelectorDef();
+ return basicGetTcpSelectorDef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Net4jDefsPackage.TCP_ACCEPTOR_DEF__HOST:
+ setHost((String)newValue);
+ return;
+ case Net4jDefsPackage.TCP_ACCEPTOR_DEF__PORT:
+ setPort(((Integer)newValue).intValue());
+ return;
+ case Net4jDefsPackage.TCP_ACCEPTOR_DEF__TCP_SELECTOR_DEF:
+ setTcpSelectorDef((TCPSelectorDef)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.TCP_ACCEPTOR_DEF__HOST:
+ setHost(HOST_EDEFAULT);
+ return;
+ case Net4jDefsPackage.TCP_ACCEPTOR_DEF__PORT:
+ setPort(PORT_EDEFAULT);
+ return;
+ case Net4jDefsPackage.TCP_ACCEPTOR_DEF__TCP_SELECTOR_DEF:
+ setTcpSelectorDef((TCPSelectorDef)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.TCP_ACCEPTOR_DEF__HOST:
+ return HOST_EDEFAULT == null ? host != null : !HOST_EDEFAULT.equals(host);
+ case Net4jDefsPackage.TCP_ACCEPTOR_DEF__PORT:
+ return port != PORT_EDEFAULT;
+ case Net4jDefsPackage.TCP_ACCEPTOR_DEF__TCP_SELECTOR_DEF:
+ return tcpSelectorDef != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (host: ");
+ result.append(host);
+ result.append(", port: ");
+ result.append(port);
+ result.append(')');
+ return result.toString();
+ }
+
+ @Override
+ protected ITCPAcceptor createInstance() {
+ TCPSelector tcpSelector = (TCPSelector) getTcpSelectorDef()
+ .getInstance();
+
+ TCPAcceptor tcpAcceptor = new TCPAcceptor();
+
+ tcpAcceptor.setStartSynchronously(true);
+ tcpAcceptor.setSynchronousStartTimeout(500l);
+ configure(tcpAcceptor.getConfig());
+ tcpAcceptor.setSelector(tcpSelector);
+
+ tcpAcceptor.setAddress(getHost());
+ tcpAcceptor.setPort(getPort());
+
+ return tcpAcceptor;
+ }
+
+ @Override
+ protected void validateDefinition() {
+ super.validateDefinition();
+ CheckUtil.checkState(getTcpSelectorDef() != null,
+ "tcp selector not set!");
+ CheckUtil.checkState(eIsSet(Net4jDefsPackage.TCP_ACCEPTOR_DEF__HOST), "host not set!");
+ CheckUtil.checkState(eIsSet(Net4jDefsPackage.TCP_ACCEPTOR_DEF__PORT), "port not set!");
+ }
+
+} // TCPAcceptorDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPConnectorDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPConnectorDefImpl.java
new file mode 100644
index 0000000000..5967bcd5db
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPConnectorDefImpl.java
@@ -0,0 +1,352 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: TCPConnectorDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.internal.tcp.TCPClientConnector;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.TCPConnectorDef;
+import org.eclipse.net4j.net4jdefs.TCPSelectorDef;
+import org.eclipse.net4j.tcp.ITCPConnector;
+import org.eclipse.net4j.tcp.ITCPSelector;
+import org.eclipse.net4j.util.CheckUtil;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object ' <em><b>TCP Connector Def</b></em>'. <!-- end-user-doc
+ * -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.TCPConnectorDefImpl#getTcpSelectorDef <em>Tcp Selector Def</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.TCPConnectorDefImpl#getHost <em>Host</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.TCPConnectorDefImpl#getPort <em>Port</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TCPConnectorDefImpl extends ConnectorDefImpl implements TCPConnectorDef
+{
+ /**
+ * The cached value of the '{@link #getTcpSelectorDef() <em>Tcp Selector Def</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTcpSelectorDef()
+ * @generated
+ * @ordered
+ */
+ protected TCPSelectorDef tcpSelectorDef;
+
+ /**
+ * The default value of the '{@link #getHost() <em>Host</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @see #getHost()
+ * @generated
+ * @ordered
+ */
+ protected static final String HOST_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getHost() <em>Host</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getHost()
+ * @generated
+ * @ordered
+ */
+ protected String host = HOST_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPort() <em>Port</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @see #getPort()
+ * @generated
+ * @ordered
+ */
+ protected static final int PORT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getPort() <em>Port</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getPort()
+ * @generated
+ * @ordered
+ */
+ protected int port = PORT_EDEFAULT;
+
+ /**
+ * This is true if the Port attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean portESet;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected TCPConnectorDefImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Net4jDefsPackage.Literals.TCP_CONNECTOR_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public TCPSelectorDef getTcpSelectorDef()
+ {
+ if (tcpSelectorDef != null && tcpSelectorDef.eIsProxy()) {
+ InternalEObject oldTcpSelectorDef = (InternalEObject)tcpSelectorDef;
+ tcpSelectorDef = (TCPSelectorDef)eResolveProxy(oldTcpSelectorDef);
+ if (tcpSelectorDef != oldTcpSelectorDef) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Net4jDefsPackage.TCP_CONNECTOR_DEF__TCP_SELECTOR_DEF, oldTcpSelectorDef, tcpSelectorDef));
+ }
+ }
+ return tcpSelectorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public TCPSelectorDef basicGetTcpSelectorDef()
+ {
+ return tcpSelectorDef;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTcpSelectorDef(TCPSelectorDef newTcpSelectorDef)
+ {
+ TCPSelectorDef oldTcpSelectorDef = tcpSelectorDef;
+ tcpSelectorDef = newTcpSelectorDef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.TCP_CONNECTOR_DEF__TCP_SELECTOR_DEF, oldTcpSelectorDef, tcpSelectorDef));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getHost()
+ {
+ return host;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHost(String newHost)
+ {
+ String oldHost = host;
+ host = newHost;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.TCP_CONNECTOR_DEF__HOST, oldHost, host));
+ }
+
+ /**
+ * <!-- begin-user-doc -->gets the <b>port</b> of this connector. If the port was not set, the
+ * {@link ITCPConnector#DEFAULT_PORT} is returned<!-- end-user-doc -->
+ *
+ * @generated NOT
+ */
+ public int getPort()
+ {
+ if (isSetPort())
+ {
+ return getPortGen();
+ }
+ else
+ {
+ return ITCPConnector.DEFAULT_PORT;
+ }
+ }
+
+ /**
+ * @generated
+ */
+ public int getPortGen()
+ {
+ return port;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPort(int newPort)
+ {
+ int oldPort = port;
+ port = newPort;
+ boolean oldPortESet = portESet;
+ portESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.TCP_CONNECTOR_DEF__PORT, oldPort, port, !oldPortESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetPort()
+ {
+ int oldPort = port;
+ boolean oldPortESet = portESet;
+ port = PORT_EDEFAULT;
+ portESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Net4jDefsPackage.TCP_CONNECTOR_DEF__PORT, oldPort, PORT_EDEFAULT, oldPortESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetPort()
+ {
+ return portESet;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID) {
+ case Net4jDefsPackage.TCP_CONNECTOR_DEF__TCP_SELECTOR_DEF:
+ if (resolve) return getTcpSelectorDef();
+ return basicGetTcpSelectorDef();
+ case Net4jDefsPackage.TCP_CONNECTOR_DEF__HOST:
+ return getHost();
+ case Net4jDefsPackage.TCP_CONNECTOR_DEF__PORT:
+ return new Integer(getPort());
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID) {
+ case Net4jDefsPackage.TCP_CONNECTOR_DEF__TCP_SELECTOR_DEF:
+ setTcpSelectorDef((TCPSelectorDef)newValue);
+ return;
+ case Net4jDefsPackage.TCP_CONNECTOR_DEF__HOST:
+ setHost((String)newValue);
+ return;
+ case Net4jDefsPackage.TCP_CONNECTOR_DEF__PORT:
+ setPort(((Integer)newValue).intValue());
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID) {
+ case Net4jDefsPackage.TCP_CONNECTOR_DEF__TCP_SELECTOR_DEF:
+ setTcpSelectorDef((TCPSelectorDef)null);
+ return;
+ case Net4jDefsPackage.TCP_CONNECTOR_DEF__HOST:
+ setHost(HOST_EDEFAULT);
+ return;
+ case Net4jDefsPackage.TCP_CONNECTOR_DEF__PORT:
+ unsetPort();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID) {
+ case Net4jDefsPackage.TCP_CONNECTOR_DEF__TCP_SELECTOR_DEF:
+ return tcpSelectorDef != null;
+ case Net4jDefsPackage.TCP_CONNECTOR_DEF__HOST:
+ return HOST_EDEFAULT == null ? host != null : !HOST_EDEFAULT.equals(host);
+ case Net4jDefsPackage.TCP_CONNECTOR_DEF__PORT:
+ return isSetPort();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (host: ");
+ result.append(host);
+ result.append(", port: ");
+ if (portESet) result.append(port); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+ @Override
+ protected ITCPConnector createInstance()
+ {
+ TCPClientConnector connector = new TCPClientConnector();
+
+ configure(connector);
+ connector.setSelector((ITCPSelector)getTcpSelectorDef().getInstance());
+ connector.setHost(getHost());
+ connector.setPort(getPort());
+
+ return connector;
+ }
+
+ @Override
+ protected void validateDefinition()
+ {
+ super.validateDefinition();
+ CheckUtil.checkState(eIsSet(Net4jDefsPackage.TCP_CONNECTOR_DEF__TCP_SELECTOR_DEF), "tcp selector not set!");
+ CheckUtil.checkState(eIsSet(Net4jDefsPackage.TCP_CONNECTOR_DEF__HOST), "host not set!"); //
+ }
+} // TCPConnectorDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPSelectorDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPSelectorDefImpl.java
new file mode 100644
index 0000000000..cdbe3cc61c
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/TCPSelectorDefImpl.java
@@ -0,0 +1,58 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: TCPSelectorDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.internal.tcp.TCPSelector;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.TCPSelectorDef;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>TCP Selector Def</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class TCPSelectorDefImpl extends DefImpl implements TCPSelectorDef {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TCPSelectorDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.TCP_SELECTOR_DEF;
+ }
+
+ /**
+ * Creates and returns a {@link TCPSelector}.
+ *
+ * @return a new tcp selector instance
+ *
+ * @generated NOT
+ */
+ @Override
+ public Object createInstance() {
+ TCPSelector selector = new TCPSelector();
+ selector.activate();
+ return selector;
+ }
+} //TCPSelectorDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/UserImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/UserImpl.java
new file mode 100644
index 0000000000..e7c36a0d46
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/UserImpl.java
@@ -0,0 +1,219 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: UserImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.User;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>User</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.UserImpl#getUserID <em>User ID</em>}</li>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.UserImpl#getPassword <em>Password</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class UserImpl extends EObjectImpl implements User {
+ /**
+ * The default value of the '{@link #getUserID() <em>User ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUserID()
+ * @generated
+ * @ordered
+ */
+ protected static final String USER_ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUserID() <em>User ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUserID()
+ * @generated
+ * @ordered
+ */
+ protected String userID = USER_ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPassword() <em>Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPassword()
+ * @generated
+ * @ordered
+ */
+ protected static final String PASSWORD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPassword() <em>Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPassword()
+ * @generated
+ * @ordered
+ */
+ protected String password = PASSWORD_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected UserImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.USER;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getUserID() {
+ return userID;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUserID(String newUserID) {
+ String oldUserID = userID;
+ userID = newUserID;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.USER__USER_ID, oldUserID, userID));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPassword() {
+ return password;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPassword(String newPassword) {
+ String oldPassword = password;
+ password = newPassword;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Net4jDefsPackage.USER__PASSWORD, oldPassword, password));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Net4jDefsPackage.USER__USER_ID:
+ return getUserID();
+ case Net4jDefsPackage.USER__PASSWORD:
+ return getPassword();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Net4jDefsPackage.USER__USER_ID:
+ setUserID((String)newValue);
+ return;
+ case Net4jDefsPackage.USER__PASSWORD:
+ setPassword((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.USER__USER_ID:
+ setUserID(USER_ID_EDEFAULT);
+ return;
+ case Net4jDefsPackage.USER__PASSWORD:
+ setPassword(PASSWORD_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.USER__USER_ID:
+ return USER_ID_EDEFAULT == null ? userID != null : !USER_ID_EDEFAULT.equals(userID);
+ case Net4jDefsPackage.USER__PASSWORD:
+ return PASSWORD_EDEFAULT == null ? password != null : !PASSWORD_EDEFAULT.equals(password);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (userID: ");
+ result.append(userID);
+ result.append(", password: ");
+ result.append(password);
+ result.append(')');
+ return result.toString();
+ }
+
+} //UserImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/UserManagerDefImpl.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/UserManagerDefImpl.java
new file mode 100644
index 0000000000..aca1d01729
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/impl/UserManagerDefImpl.java
@@ -0,0 +1,161 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: UserManagerDefImpl.java,v 1.1 2008-12-28 18:07:28 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.impl;
+
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.User;
+import org.eclipse.net4j.net4jdefs.UserManagerDef;
+import org.eclipse.net4j.util.net4jutildefs.impl.DefImpl;
+import org.eclipse.net4j.util.security.UserManager;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import java.util.Collection;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>User Manager Def</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.net4j.net4jdefs.impl.UserManagerDefImpl#getUser <em>User</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class UserManagerDefImpl extends DefImpl implements UserManagerDef {
+ /**
+ * The cached value of the '{@link #getUser() <em>User</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUser()
+ * @generated
+ * @ordered
+ */
+ protected EList<User> user;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected UserManagerDefImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return Net4jDefsPackage.Literals.USER_MANAGER_DEF;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<User> getUser() {
+ if (user == null) {
+ user = new EObjectResolvingEList.Unsettable<User>(User.class, this, Net4jDefsPackage.USER_MANAGER_DEF__USER);
+ }
+ return user;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetUser() {
+ if (user != null) ((InternalEList.Unsettable<?>)user).unset();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetUser() {
+ return user != null && ((InternalEList.Unsettable<?>)user).isSet();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case Net4jDefsPackage.USER_MANAGER_DEF__USER:
+ return getUser();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case Net4jDefsPackage.USER_MANAGER_DEF__USER:
+ getUser().clear();
+ getUser().addAll((Collection<? extends User>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.USER_MANAGER_DEF__USER:
+ unsetUser();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case Net4jDefsPackage.USER_MANAGER_DEF__USER:
+ return isSetUser();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ @Override
+ protected Object createInstance() {
+ UserManager userManager = new UserManager();
+ return userManager;
+
+ }
+
+} //UserManagerDefImpl
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/ConnectorDefBuilder.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/ConnectorDefBuilder.java
new file mode 100644
index 0000000000..ad86d31573
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/ConnectorDefBuilder.java
@@ -0,0 +1,45 @@
+package org.eclipse.net4j.net4jdefs.util;
+
+import org.eclipse.net4j.net4jdefs.BufferProviderDef;
+import org.eclipse.net4j.net4jdefs.ConnectorDef;
+import org.eclipse.net4j.util.CheckUtil;
+import org.eclipse.net4j.util.net4jutildefs.ExecutorServiceDef;
+
+public class ConnectorDefBuilder
+{
+
+ protected BufferProviderDef bufferProviderDef;
+
+ protected ExecutorServiceDef executorServiceDef;
+
+ public ConnectorDefBuilder()
+ {
+ super();
+ }
+
+ public ConnectorDefBuilder bufferProvider(BufferProviderDef bufferProviderDef)
+ {
+ this.bufferProviderDef = bufferProviderDef;
+ return this;
+ }
+
+ public ConnectorDefBuilder executorService(ExecutorServiceDef executorServiceDef)
+ {
+ this.executorServiceDef = executorServiceDef;
+ return this;
+ }
+
+ public void validate()
+ {
+ CheckUtil.checkState(bufferProviderDef != null, "bufferProviderDef is not set!");
+ CheckUtil.checkState(executorServiceDef != null, "executorServiceDef is not set!");
+ }
+
+ public void build(ConnectorDef connectorDef)
+ {
+ validate();
+
+ connectorDef.setBufferProvider(bufferProviderDef);
+ connectorDef.setExecutorService(executorServiceDef);
+ }
+}
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsAdapterFactory.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsAdapterFactory.java
new file mode 100644
index 0000000000..e70485d0f7
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsAdapterFactory.java
@@ -0,0 +1,522 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: Net4jDefsAdapterFactory.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.util;
+
+import org.eclipse.net4j.net4jdefs.AcceptorDef;
+import org.eclipse.net4j.net4jdefs.BufferPoolDef;
+import org.eclipse.net4j.net4jdefs.BufferProviderDef;
+import org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef;
+import org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef;
+import org.eclipse.net4j.net4jdefs.ConnectorDef;
+import org.eclipse.net4j.net4jdefs.CredentialsProviderDef;
+import org.eclipse.net4j.net4jdefs.HTTPConnectorDef;
+import org.eclipse.net4j.net4jdefs.JVMAcceptorDef;
+import org.eclipse.net4j.net4jdefs.JVMConnectorDef;
+import org.eclipse.net4j.net4jdefs.NegotiatorDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.PasswordCredentialsProviderDef;
+import org.eclipse.net4j.net4jdefs.ProtocolProviderDef;
+import org.eclipse.net4j.net4jdefs.RandomizerDef;
+import org.eclipse.net4j.net4jdefs.ResponseNegotiatorDef;
+import org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef;
+import org.eclipse.net4j.net4jdefs.TCPAcceptorDef;
+import org.eclipse.net4j.net4jdefs.TCPConnectorDef;
+import org.eclipse.net4j.net4jdefs.TCPSelectorDef;
+import org.eclipse.net4j.net4jdefs.User;
+import org.eclipse.net4j.net4jdefs.UserManagerDef;
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage
+ * @generated
+ */
+public class Net4jDefsAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static Net4jDefsPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Net4jDefsAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = Net4jDefsPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected Net4jDefsSwitch<Adapter> modelSwitch =
+ new Net4jDefsSwitch<Adapter>() {
+ @Override
+ public Adapter caseConnectorDef(ConnectorDef object) {
+ return createConnectorDefAdapter();
+ }
+ @Override
+ public Adapter caseClientProtocolFactoryDef(ClientProtocolFactoryDef object) {
+ return createClientProtocolFactoryDefAdapter();
+ }
+ @Override
+ public Adapter caseTCPConnectorDef(TCPConnectorDef object) {
+ return createTCPConnectorDefAdapter();
+ }
+ @Override
+ public Adapter caseAcceptorDef(AcceptorDef object) {
+ return createAcceptorDefAdapter();
+ }
+ @Override
+ public Adapter caseTCPAcceptorDef(TCPAcceptorDef object) {
+ return createTCPAcceptorDefAdapter();
+ }
+ @Override
+ public Adapter caseJVMAcceptorDef(JVMAcceptorDef object) {
+ return createJVMAcceptorDefAdapter();
+ }
+ @Override
+ public Adapter caseJVMConnectorDef(JVMConnectorDef object) {
+ return createJVMConnectorDefAdapter();
+ }
+ @Override
+ public Adapter caseHTTPConnectorDef(HTTPConnectorDef object) {
+ return createHTTPConnectorDefAdapter();
+ }
+ @Override
+ public Adapter caseNegotiatorDef(NegotiatorDef object) {
+ return createNegotiatorDefAdapter();
+ }
+ @Override
+ public Adapter caseResponseNegotiatorDef(ResponseNegotiatorDef object) {
+ return createResponseNegotiatorDefAdapter();
+ }
+ @Override
+ public Adapter caseChallengeNegotiatorDef(ChallengeNegotiatorDef object) {
+ return createChallengeNegotiatorDefAdapter();
+ }
+ @Override
+ public Adapter caseTCPSelectorDef(TCPSelectorDef object) {
+ return createTCPSelectorDefAdapter();
+ }
+ @Override
+ public Adapter caseServerProtocolFactoryDef(ServerProtocolFactoryDef object) {
+ return createServerProtocolFactoryDefAdapter();
+ }
+ @Override
+ public Adapter caseBufferProviderDef(BufferProviderDef object) {
+ return createBufferProviderDefAdapter();
+ }
+ @Override
+ public Adapter caseBufferPoolDef(BufferPoolDef object) {
+ return createBufferPoolDefAdapter();
+ }
+ @Override
+ public Adapter caseProtocolProviderDef(ProtocolProviderDef object) {
+ return createProtocolProviderDefAdapter();
+ }
+ @Override
+ public Adapter caseCredentialsProviderDef(CredentialsProviderDef object) {
+ return createCredentialsProviderDefAdapter();
+ }
+ @Override
+ public Adapter casePasswordCredentialsProviderDef(PasswordCredentialsProviderDef object) {
+ return createPasswordCredentialsProviderDefAdapter();
+ }
+ @Override
+ public Adapter caseUser(User object) {
+ return createUserAdapter();
+ }
+ @Override
+ public Adapter caseUserManagerDef(UserManagerDef object) {
+ return createUserManagerDefAdapter();
+ }
+ @Override
+ public Adapter caseRandomizerDef(RandomizerDef object) {
+ return createRandomizerDefAdapter();
+ }
+ @Override
+ public Adapter caseDef(Def object) {
+ return createDefAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.ConnectorDef <em>Connector Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.ConnectorDef
+ * @generated
+ */
+ public Adapter createConnectorDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef <em>Client Protocol Factory Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef
+ * @generated
+ */
+ public Adapter createClientProtocolFactoryDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.TCPConnectorDef <em>TCP Connector Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.TCPConnectorDef
+ * @generated
+ */
+ public Adapter createTCPConnectorDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.AcceptorDef <em>Acceptor Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.AcceptorDef
+ * @generated
+ */
+ public Adapter createAcceptorDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.TCPAcceptorDef <em>TCP Acceptor Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.TCPAcceptorDef
+ * @generated
+ */
+ public Adapter createTCPAcceptorDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.JVMAcceptorDef <em>JVM Acceptor Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.JVMAcceptorDef
+ * @generated
+ */
+ public Adapter createJVMAcceptorDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.JVMConnectorDef <em>JVM Connector Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.JVMConnectorDef
+ * @generated
+ */
+ public Adapter createJVMConnectorDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.HTTPConnectorDef <em>HTTP Connector Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.HTTPConnectorDef
+ * @generated
+ */
+ public Adapter createHTTPConnectorDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.NegotiatorDef <em>Negotiator Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.NegotiatorDef
+ * @generated
+ */
+ public Adapter createNegotiatorDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.ResponseNegotiatorDef <em>Response Negotiator Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.ResponseNegotiatorDef
+ * @generated
+ */
+ public Adapter createResponseNegotiatorDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef <em>Challenge Negotiator Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef
+ * @generated
+ */
+ public Adapter createChallengeNegotiatorDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.TCPSelectorDef <em>TCP Selector Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.TCPSelectorDef
+ * @generated
+ */
+ public Adapter createTCPSelectorDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef <em>Server Protocol Factory Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef
+ * @generated
+ */
+ public Adapter createServerProtocolFactoryDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.BufferProviderDef <em>Buffer Provider Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.BufferProviderDef
+ * @generated
+ */
+ public Adapter createBufferProviderDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.BufferPoolDef <em>Buffer Pool Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.BufferPoolDef
+ * @generated
+ */
+ public Adapter createBufferPoolDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.ProtocolProviderDef <em>Protocol Provider Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.ProtocolProviderDef
+ * @generated
+ */
+ public Adapter createProtocolProviderDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.CredentialsProviderDef <em>Credentials Provider Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.CredentialsProviderDef
+ * @generated
+ */
+ public Adapter createCredentialsProviderDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.PasswordCredentialsProviderDef <em>Password Credentials Provider Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.PasswordCredentialsProviderDef
+ * @generated
+ */
+ public Adapter createPasswordCredentialsProviderDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.UserManagerDef <em>User Manager Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.UserManagerDef
+ * @generated
+ */
+ public Adapter createUserManagerDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.RandomizerDef <em>Randomizer Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.RandomizerDef
+ * @generated
+ */
+ public Adapter createRandomizerDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.net4jdefs.User <em>User</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.net4jdefs.User
+ * @generated
+ */
+ public Adapter createUserAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.net4j.util.net4jutildefs.Def <em>Def</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.net4j.util.net4jutildefs.Def
+ * @generated
+ */
+ public Adapter createDefAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //Net4jDefsAdapterFactory
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsSwitch.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsSwitch.java
new file mode 100644
index 0000000000..2a86b2aa69
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsSwitch.java
@@ -0,0 +1,618 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: Net4jDefsSwitch.java,v 1.1 2008-12-28 18:07:29 estepper Exp $
+ */
+package org.eclipse.net4j.net4jdefs.util;
+
+import org.eclipse.net4j.net4jdefs.AcceptorDef;
+import org.eclipse.net4j.net4jdefs.BufferPoolDef;
+import org.eclipse.net4j.net4jdefs.BufferProviderDef;
+import org.eclipse.net4j.net4jdefs.ChallengeNegotiatorDef;
+import org.eclipse.net4j.net4jdefs.ClientProtocolFactoryDef;
+import org.eclipse.net4j.net4jdefs.ConnectorDef;
+import org.eclipse.net4j.net4jdefs.CredentialsProviderDef;
+import org.eclipse.net4j.net4jdefs.HTTPConnectorDef;
+import org.eclipse.net4j.net4jdefs.JVMAcceptorDef;
+import org.eclipse.net4j.net4jdefs.JVMConnectorDef;
+import org.eclipse.net4j.net4jdefs.NegotiatorDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsPackage;
+import org.eclipse.net4j.net4jdefs.PasswordCredentialsProviderDef;
+import org.eclipse.net4j.net4jdefs.ProtocolProviderDef;
+import org.eclipse.net4j.net4jdefs.RandomizerDef;
+import org.eclipse.net4j.net4jdefs.ResponseNegotiatorDef;
+import org.eclipse.net4j.net4jdefs.ServerProtocolFactoryDef;
+import org.eclipse.net4j.net4jdefs.TCPAcceptorDef;
+import org.eclipse.net4j.net4jdefs.TCPConnectorDef;
+import org.eclipse.net4j.net4jdefs.TCPSelectorDef;
+import org.eclipse.net4j.net4jdefs.User;
+import org.eclipse.net4j.net4jdefs.UserManagerDef;
+import org.eclipse.net4j.util.net4jutildefs.Def;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import java.util.List;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.net4j.net4jdefs.Net4jDefsPackage
+ * @generated
+ */
+public class Net4jDefsSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static Net4jDefsPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Net4jDefsSwitch() {
+ if (modelPackage == null) {
+ modelPackage = Net4jDefsPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ List<EClass> eSuperTypes = theEClass.getESuperTypes();
+ return
+ eSuperTypes.isEmpty() ?
+ defaultCase(theEObject) :
+ doSwitch(eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case Net4jDefsPackage.CONNECTOR_DEF: {
+ ConnectorDef connectorDef = (ConnectorDef)theEObject;
+ T result = caseConnectorDef(connectorDef);
+ if (result == null) result = caseDef(connectorDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.CLIENT_PROTOCOL_FACTORY_DEF: {
+ ClientProtocolFactoryDef clientProtocolFactoryDef = (ClientProtocolFactoryDef)theEObject;
+ T result = caseClientProtocolFactoryDef(clientProtocolFactoryDef);
+ if (result == null) result = caseProtocolProviderDef(clientProtocolFactoryDef);
+ if (result == null) result = caseDef(clientProtocolFactoryDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.TCP_CONNECTOR_DEF: {
+ TCPConnectorDef tcpConnectorDef = (TCPConnectorDef)theEObject;
+ T result = caseTCPConnectorDef(tcpConnectorDef);
+ if (result == null) result = caseConnectorDef(tcpConnectorDef);
+ if (result == null) result = caseDef(tcpConnectorDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.ACCEPTOR_DEF: {
+ AcceptorDef acceptorDef = (AcceptorDef)theEObject;
+ T result = caseAcceptorDef(acceptorDef);
+ if (result == null) result = caseDef(acceptorDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.TCP_ACCEPTOR_DEF: {
+ TCPAcceptorDef tcpAcceptorDef = (TCPAcceptorDef)theEObject;
+ T result = caseTCPAcceptorDef(tcpAcceptorDef);
+ if (result == null) result = caseAcceptorDef(tcpAcceptorDef);
+ if (result == null) result = caseDef(tcpAcceptorDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.JVM_ACCEPTOR_DEF: {
+ JVMAcceptorDef jvmAcceptorDef = (JVMAcceptorDef)theEObject;
+ T result = caseJVMAcceptorDef(jvmAcceptorDef);
+ if (result == null) result = caseAcceptorDef(jvmAcceptorDef);
+ if (result == null) result = caseDef(jvmAcceptorDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.JVM_CONNECTOR_DEF: {
+ JVMConnectorDef jvmConnectorDef = (JVMConnectorDef)theEObject;
+ T result = caseJVMConnectorDef(jvmConnectorDef);
+ if (result == null) result = caseConnectorDef(jvmConnectorDef);
+ if (result == null) result = caseDef(jvmConnectorDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.HTTP_CONNECTOR_DEF: {
+ HTTPConnectorDef httpConnectorDef = (HTTPConnectorDef)theEObject;
+ T result = caseHTTPConnectorDef(httpConnectorDef);
+ if (result == null) result = caseConnectorDef(httpConnectorDef);
+ if (result == null) result = caseDef(httpConnectorDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.NEGOTIATOR_DEF: {
+ NegotiatorDef negotiatorDef = (NegotiatorDef)theEObject;
+ T result = caseNegotiatorDef(negotiatorDef);
+ if (result == null) result = caseDef(negotiatorDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.RESPONSE_NEGOTIATOR_DEF: {
+ ResponseNegotiatorDef responseNegotiatorDef = (ResponseNegotiatorDef)theEObject;
+ T result = caseResponseNegotiatorDef(responseNegotiatorDef);
+ if (result == null) result = caseNegotiatorDef(responseNegotiatorDef);
+ if (result == null) result = caseDef(responseNegotiatorDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.CHALLENGE_NEGOTIATOR_DEF: {
+ ChallengeNegotiatorDef challengeNegotiatorDef = (ChallengeNegotiatorDef)theEObject;
+ T result = caseChallengeNegotiatorDef(challengeNegotiatorDef);
+ if (result == null) result = caseNegotiatorDef(challengeNegotiatorDef);
+ if (result == null) result = caseDef(challengeNegotiatorDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.TCP_SELECTOR_DEF: {
+ TCPSelectorDef tcpSelectorDef = (TCPSelectorDef)theEObject;
+ T result = caseTCPSelectorDef(tcpSelectorDef);
+ if (result == null) result = caseDef(tcpSelectorDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.SERVER_PROTOCOL_FACTORY_DEF: {
+ ServerProtocolFactoryDef serverProtocolFactoryDef = (ServerProtocolFactoryDef)theEObject;
+ T result = caseServerProtocolFactoryDef(serverProtocolFactoryDef);
+ if (result == null) result = caseProtocolProviderDef(serverProtocolFactoryDef);
+ if (result == null) result = caseDef(serverProtocolFactoryDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.BUFFER_PROVIDER_DEF: {
+ BufferProviderDef bufferProviderDef = (BufferProviderDef)theEObject;
+ T result = caseBufferProviderDef(bufferProviderDef);
+ if (result == null) result = caseDef(bufferProviderDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.BUFFER_POOL_DEF: {
+ BufferPoolDef bufferPoolDef = (BufferPoolDef)theEObject;
+ T result = caseBufferPoolDef(bufferPoolDef);
+ if (result == null) result = caseBufferProviderDef(bufferPoolDef);
+ if (result == null) result = caseDef(bufferPoolDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.PROTOCOL_PROVIDER_DEF: {
+ ProtocolProviderDef protocolProviderDef = (ProtocolProviderDef)theEObject;
+ T result = caseProtocolProviderDef(protocolProviderDef);
+ if (result == null) result = caseDef(protocolProviderDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.CREDENTIALS_PROVIDER_DEF: {
+ CredentialsProviderDef credentialsProviderDef = (CredentialsProviderDef)theEObject;
+ T result = caseCredentialsProviderDef(credentialsProviderDef);
+ if (result == null) result = caseDef(credentialsProviderDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.PASSWORD_CREDENTIALS_PROVIDER_DEF: {
+ PasswordCredentialsProviderDef passwordCredentialsProviderDef = (PasswordCredentialsProviderDef)theEObject;
+ T result = casePasswordCredentialsProviderDef(passwordCredentialsProviderDef);
+ if (result == null) result = caseCredentialsProviderDef(passwordCredentialsProviderDef);
+ if (result == null) result = caseDef(passwordCredentialsProviderDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.USER: {
+ User user = (User)theEObject;
+ T result = caseUser(user);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.USER_MANAGER_DEF: {
+ UserManagerDef userManagerDef = (UserManagerDef)theEObject;
+ T result = caseUserManagerDef(userManagerDef);
+ if (result == null) result = caseDef(userManagerDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case Net4jDefsPackage.RANDOMIZER_DEF: {
+ RandomizerDef randomizerDef = (RandomizerDef)theEObject;
+ T result = caseRandomizerDef(randomizerDef);
+ if (result == null) result = caseDef(randomizerDef);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Connector Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Connector Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseConnectorDef(ConnectorDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Client Protocol Factory Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Client Protocol Factory Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseClientProtocolFactoryDef(ClientProtocolFactoryDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>TCP Connector Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>TCP Connector Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTCPConnectorDef(TCPConnectorDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Acceptor Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Acceptor Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAcceptorDef(AcceptorDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>TCP Acceptor Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>TCP Acceptor Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTCPAcceptorDef(TCPAcceptorDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>JVM Acceptor Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>JVM Acceptor Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseJVMAcceptorDef(JVMAcceptorDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>JVM Connector Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>JVM Connector Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseJVMConnectorDef(JVMConnectorDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>HTTP Connector Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>HTTP Connector Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseHTTPConnectorDef(HTTPConnectorDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Negotiator Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Negotiator Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNegotiatorDef(NegotiatorDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Response Negotiator Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Response Negotiator Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseResponseNegotiatorDef(ResponseNegotiatorDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Challenge Negotiator Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Challenge Negotiator Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseChallengeNegotiatorDef(ChallengeNegotiatorDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>TCP Selector Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>TCP Selector Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTCPSelectorDef(TCPSelectorDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Server Protocol Factory Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Server Protocol Factory Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseServerProtocolFactoryDef(ServerProtocolFactoryDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Buffer Provider Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Buffer Provider Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBufferProviderDef(BufferProviderDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Buffer Pool Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Buffer Pool Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBufferPoolDef(BufferPoolDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Protocol Provider Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Protocol Provider Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseProtocolProviderDef(ProtocolProviderDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Credentials Provider Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Credentials Provider Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCredentialsProviderDef(CredentialsProviderDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Password Credentials Provider Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Password Credentials Provider Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePasswordCredentialsProviderDef(PasswordCredentialsProviderDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>User Manager Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>User Manager Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseUserManagerDef(UserManagerDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Randomizer Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Randomizer Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRandomizerDef(RandomizerDef object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>User</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>User</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseUser(User object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Def</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Def</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDef(Def object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //Net4jDefsSwitch
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsUtil.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsUtil.java
new file mode 100644
index 0000000000..a42661912b
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/Net4jDefsUtil.java
@@ -0,0 +1,53 @@
+package org.eclipse.net4j.net4jdefs.util;
+
+import org.eclipse.net4j.FactoriesProtocolProvider;
+import org.eclipse.net4j.net4jdefs.Net4jDefsFactory;
+import org.eclipse.net4j.net4jdefs.ProtocolProviderDef;
+import org.eclipse.net4j.net4jdefs.TCPConnectorDef;
+import org.eclipse.net4j.protocol.IProtocolProvider;
+import org.eclipse.net4j.tcp.ITCPConnector;
+import org.eclipse.net4j.util.factory.IFactory;
+import org.eclipse.net4j.util.net4jutildefs.Net4jUtilDefsFactory;
+
+import java.util.Iterator;
+import java.util.List;
+
+public class Net4jDefsUtil
+{
+ /**
+ * Creates the factories protocol provider. The current implementation uses a {@link FactoriesProtocolProvider}.
+ *
+ * @param clientProtocolFactoryDef
+ * the client protocol factory definition
+ * @return the protocol provider
+ */
+ public static <PPD extends ProtocolProviderDef> IProtocolProvider createFactoriesProtocolProvider(
+ List<PPD> protocolFactoryDef)
+ {
+ FactoriesProtocolProvider protocolProvider = new FactoriesProtocolProvider();
+ for (Iterator<PPD> iterator = protocolFactoryDef.iterator(); iterator.hasNext();)
+ {
+ PPD protocolProviderDef = iterator.next();
+ protocolProvider.addFactory((IFactory)protocolProviderDef.getInstance());
+ }
+ return protocolProvider;
+ }
+
+ public static TCPConnectorDef createTCPConnectorDef(final String host)
+ {
+ return createTCPConnectorDef(host, ITCPConnector.DEFAULT_PORT);
+ }
+
+ public static TCPConnectorDef createTCPConnectorDef(final String host, final int port)
+ {
+ TCPConnectorDef tcpConnectorDef = Net4jDefsFactory.eINSTANCE.createTCPConnectorDef();
+
+ tcpConnectorDef.setHost(host);
+ tcpConnectorDef.setPort(port);
+ tcpConnectorDef.setBufferProvider(Net4jDefsFactory.eINSTANCE.createBufferPoolDef());
+ tcpConnectorDef.setExecutorService(Net4jUtilDefsFactory.eINSTANCE.createThreadPoolDef());
+ tcpConnectorDef.setTcpSelectorDef(Net4jDefsFactory.eINSTANCE.createTCPSelectorDef());
+
+ return tcpConnectorDef;
+ }
+}
diff --git a/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/TCPClientConnectorBuilder.java b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/TCPClientConnectorBuilder.java
new file mode 100644
index 0000000000..32b6a84a40
--- /dev/null
+++ b/plugins/org.eclipse.net4j.defs/src/org/eclipse/net4j/net4jdefs/util/TCPClientConnectorBuilder.java
@@ -0,0 +1,66 @@
+package org.eclipse.net4j.net4jdefs.util;
+
+import org.eclipse.net4j.net4jdefs.BufferPoolDef;
+import org.eclipse.net4j.net4jdefs.BufferProviderDef;
+import org.eclipse.net4j.net4jdefs.Net4jDefsFactory;
+import org.eclipse.net4j.net4jdefs.TCPConnectorDef;
+import org.eclipse.net4j.net4jdefs.TCPSelectorDef;
+import org.eclipse.net4j.tcp.ITCPConnector;
+import org.eclipse.net4j.util.CheckUtil;
+import org.eclipse.net4j.util.net4jutildefs.ExecutorServiceDef;
+import org.eclipse.net4j.util.net4jutildefs.Net4jUtilDefsFactory;
+import org.eclipse.net4j.util.net4jutildefs.ThreadPoolDef;
+
+public class TCPClientConnectorBuilder
+{
+
+ private int port = ITCPConnector.DEFAULT_PORT;
+
+ private String host;
+
+ private BufferProviderDef bufferProviderDef = Net4jDefsFactory.eINSTANCE.createBufferPoolDef();
+
+ private ExecutorServiceDef executorService = Net4jUtilDefsFactory.eINSTANCE.createThreadPoolDef();
+
+ private TCPSelectorDef tcpSelectorDef = Net4jDefsFactory.eINSTANCE.createTCPSelectorDef();
+
+ public TCPClientConnectorBuilder port(int port)
+ {
+ this.port = port;
+ return this;
+ }
+
+ public TCPClientConnectorBuilder host(String host)
+ {
+ this.host = host;
+ return this;
+ }
+
+ public TCPClientConnectorBuilder executorServiceDef(ThreadPoolDef threadPoolDef)
+ {
+ this.executorService = threadPoolDef;
+ return this;
+ }
+
+ public TCPClientConnectorBuilder bufferDef(BufferPoolDef bufferPoolDef)
+ {
+ this.bufferProviderDef = bufferPoolDef;
+ return this;
+ }
+
+ public TCPConnectorDef build()
+ {
+ TCPConnectorDef tcpClientConnectorDef = Net4jDefsFactory.eINSTANCE.createTCPConnectorDef();
+
+ CheckUtil.checkState(host != null, "host is not set!");
+ tcpClientConnectorDef.setHost(host);
+
+ tcpClientConnectorDef.setPort(port);
+
+ tcpClientConnectorDef.setBufferProvider(bufferProviderDef);
+ tcpClientConnectorDef.setExecutorService(executorService);
+ tcpClientConnectorDef.setTcpSelectorDef(tcpSelectorDef);
+
+ return tcpClientConnectorDef;
+ }
+}

Back to the top