[jbossws-commits] JBossWS SVN: r10917 - in common/trunk: src/main/java/org/jboss/ws and 3 other directories.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Thu Oct 15 18:54:23 EDT 2009


Author: richard.opalka at jboss.com
Date: 2009-10-15 18:54:22 -0400 (Thu, 15 Oct 2009)
New Revision: 10917

Added:
   common/trunk/eclipse/jboss-format.xml
   common/trunk/eclipse/jboss-style.xml
   common/trunk/src/main/java/org/jboss/wsf/common/invocation/
   common/trunk/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandler.java
   common/trunk/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandlerJSE.java
   common/trunk/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXRPC.java
   common/trunk/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXWS.java
Removed:
   common/trunk/eclipse/JBossWSCheckStyle.xml
   common/trunk/eclipse/JBossWSCodeStyle.xml
   common/trunk/src/main/java/org/jboss/wsf/common/KernelAwareSPIFactory.java
   common/trunk/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandler.java
   common/trunk/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandlerJSE.java
   common/trunk/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXRPC.java
   common/trunk/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXWS.java
Modified:
   common/trunk/src/main/java/org/jboss/ws/Constants.java
   common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTest.java
   common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java
   common/trunk/src/main/java/org/jboss/wsf/test/TestDeployerJBoss.java
Log:
merge from ropalka branch

Deleted: common/trunk/eclipse/JBossWSCheckStyle.xml
===================================================================
--- common/trunk/eclipse/JBossWSCheckStyle.xml	2009-10-15 22:53:34 UTC (rev 10916)
+++ common/trunk/eclipse/JBossWSCheckStyle.xml	2009-10-15 22:54:22 UTC (rev 10917)
@@ -1,154 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-    This configuration file was written by the eclipse-cs plugin configuration editor
--->
-<!--
-    Checkstyle-Configuration: JBossWS Checks
-    Description: JBossWS Java Coding Convention Checks
--->
-<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
-<module name="Checker">
-    <property name="severity" value="warning"/>
-    <module name="TreeWalker">
-        <module name="ModifierOrder"/>
-        <module name="RedundantModifier"/>
-        <module name="AnonInnerLength"/>
-        <module name="ExecutableStatementCount">
-            <property name="max" value="60"/>
-            <property name="tokens" value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/>
-        </module>
-        <module name="FileLength">
-            <property name="max" value="1000"/>
-        </module>
-        <module name="LineLength">
-            <property name="max" value="120"/>
-            <property name="tabWidth" value="4"/>
-        </module>
-        <module name="MethodLength"/>
-        <module name="ParameterNumber"/>
-        <module name="AvoidStarImport"/>
-        <module name="IllegalImport"/>
-        <module name="ImportOrder"/>
-        <module name="RedundantImport"/>
-        <module name="UnusedImports"/>
-        <module name="AbstractClassName"/>
-        <module name="ConstantName"/>
-        <module name="LocalFinalVariableName"/>
-        <module name="LocalVariableName"/>
-        <module name="MemberName"/>
-        <module name="MethodName"/>
-        <module name="PackageName"/>
-        <module name="ParameterName"/>
-        <module name="StaticVariableName"/>
-        <module name="TypeName"/>
-        <module name="CovariantEquals"/>
-        <module name="DefaultComesLast"/>
-        <module name="DeclarationOrder"/>
-        <module name="DoubleCheckedLocking"/>
-        <module name="EqualsHashCode"/>
-        <module name="ExplicitInitialization"/>
-        <module name="FallThrough"/>
-        <module name="FinalLocalVariable"/>
-        <module name="HiddenField"/>
-        <module name="IllegalInstantiation"/>
-        <module name="IllegalThrows"/>
-        <module name="IllegalType">
-            <property name="tokens" value="METHOD_DEF,PARAMETER_DEF"/>
-        </module>
-        <module name="InnerAssignment"/>
-        <module name="JUnitTestCase"/>
-        <module name="MagicNumber">
-            <property name="ignoreNumbers" value="-1, 0, 1"/>
-        </module>
-        <module name="MissingCtor"/>
-        <module name="MissingSwitchDefault"/>
-        <module name="ModifiedControlVariable"/>
-        <module name="MultipleStringLiterals"/>
-        <module name="MultipleVariableDeclarations"/>
-        <module name="NestedIfDepth"/>
-        <module name="NestedTryDepth"/>
-        <module name="PackageDeclaration"/>
-        <module name="ParameterAssignment"/>
-        <module name="RedundantThrows">
-            <property name="logLoadErrors" value="true"/>
-            <property name="suppressLoadErrors" value="true"/>
-        </module>
-        <module name="RequireThis"/>
-        <module name="ReturnCount">
-            <property name="max" value="5"/>
-        </module>
-        <module name="SimplifyBooleanExpression"/>
-        <module name="SimplifyBooleanReturn"/>
-        <module name="StringLiteralEquality"/>
-        <module name="SuperClone"/>
-        <module name="SuperFinalize"/>
-        <module name="ArrayTrailingComma"/>
-        <module name="UnnecessaryParentheses"/>
-        <module name="JUnitTestCase"/>
-        <module name="DesignForExtension"/>
-        <module name="FinalClass"/>
-        <module name="HideUtilityClassConstructor"/>
-        <module name="InterfaceIsType"/>
-        <module name="ThrowsCount"/>
-        <module name="VisibilityModifier"/>
-        <module name="MutableException"/>
-        <module name="EmptyBlock"/>
-        <module name="LeftCurly">
-            <property name="option" value="nl"/>
-            <property name="maxLineLength" value="120"/>
-        </module>
-        <module name="RightCurly">
-            <property name="option" value="alone"/>
-        </module>
-        <module name="EmptyForInitializerPad">
-            <property name="option" value="space"/>
-        </module>
-        <module name="EmptyForIteratorPad">
-            <property name="option" value="space"/>
-        </module>
-        <module name="NoWhitespaceAfter"/>
-        <module name="NoWhitespaceBefore"/>
-        <module name="OperatorWrap">
-            <property name="option" value="eol"/>
-            <property name="tokens" value="ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LE,LITERAL_INSTANCEOF,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,SL,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN"/>
-        </module>
-        <module name="MethodParamPad">
-            <property name="allowLineBreaks" value="true"/>
-        </module>
-        <module name="ParenPad">
-            <property name="option" value="space"/>
-        </module>
-        <module name="TabCharacter"/>
-        <module name="TypecastParenPad">
-            <property name="option" value="space"/>
-            <property name="tokens" value="RPAREN,TYPECAST"/>
-        </module>
-        <module name="WhitespaceAround">
-            <property name="tokens" value="ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,LITERAL_ASSERT,GENERIC_START,GENERIC_END,TYPE_EXTENSION_AND,WILDCARD_TYPE"/>
-        </module>
-        <module name="NeedBraces"/>
-        <module name="WhitespaceAfter"/>
-        <module name="BooleanExpressionComplexity"/>
-        <module name="ClassDataAbstractionCoupling"/>
-        <module name="ClassFanOutComplexity"/>
-        <module name="CyclomaticComplexity"/>
-        <module name="JavaNCSS"/>
-        <module name="NPathComplexity"/>
-        <module name="UncommentedMain"/>
-        <module name="TodoComment"/>
-        <module name="TrailingComment"/>
-        <module name="Indentation"/>
-        <module name="FinalParameters"/>
-        <module name="ArrayTypeStyle"/>
-        <module name="JavadocMethod">
-            <property name="allowUndeclaredRTE" value="true"/>
-            <property name="logLoadErrors" value="true"/>
-        </module>
-        <module name="JavadocStyle"/>
-        <module name="JavadocType"/>
-        <module name="JavadocVariable"/>
-        <module name="WriteTag"/>
-    </module>
-    <module name="NewlineAtEndOfFile"/>
-    <module name="PackageHtml"/>
-</module>

Deleted: common/trunk/eclipse/JBossWSCodeStyle.xml
===================================================================
--- common/trunk/eclipse/JBossWSCodeStyle.xml	2009-10-15 22:53:34 UTC (rev 10916)
+++ common/trunk/eclipse/JBossWSCodeStyle.xml	2009-10-15 22:54:22 UTC (rev 10917)
@@ -1,251 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<profiles version="10">
-<profile name="JBossWSCodeStyle" version="10">
-<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="end_of_line"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.format_comments" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="80"/>
-<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
-<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>
-<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="3"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="168"/>
-<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
-<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>
-<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="3"/>
-<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
-</profile>
-</profiles>

Copied: common/trunk/eclipse/jboss-format.xml (from rev 10914, common/branches/ropalka/eclipse/jboss-format.xml)
===================================================================
--- common/trunk/eclipse/jboss-format.xml	                        (rev 0)
+++ common/trunk/eclipse/jboss-format.xml	2009-10-15 22:54:22 UTC (rev 10917)
@@ -0,0 +1,187 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Downloaded JBoss Eclipse Format from http://docs.jboss.org/process-guide/en/html/coding.html -->
+<profiles version="6">
+<profile name="JBoss" version="6">
+<setting id="comment_clear_blank_lines" value="false"/>
+<setting id="comment_format_comments" value="false"/>
+<setting id="comment_format_header" value="false"/>
+<setting id="comment_format_html" value="true"/>
+<setting id="comment_format_source_code" value="true"/>
+<setting id="comment_indent_parameter_description" value="true"/>
+<setting id="comment_indent_root_tags" value="true"/>
+<setting id="comment_line_length" value="80"/>
+<setting id="comment_new_line_for_parameter" value="true"/>
+<setting id="comment_separate_root_tags" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="52"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="48"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="64"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="64"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="next_line"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="next_line"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="next_line"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="next_line"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="next_line"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="next_line"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="next_line"/>
+<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
+<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>
+<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="120"/>
+<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>
+<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="3"/>
+</profile>
+</profiles>

Copied: common/trunk/eclipse/jboss-style.xml (from rev 10914, common/branches/ropalka/eclipse/jboss-style.xml)
===================================================================
--- common/trunk/eclipse/jboss-style.xml	                        (rev 0)
+++ common/trunk/eclipse/jboss-style.xml	2009-10-15 22:54:22 UTC (rev 10917)
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    This configuration file was written by the eclipse-cs plugin configuration editor
+-->
+<!--
+    Checkstyle-Configuration: jboss-checkstyle
+    Description: none
+-->
+<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
+<module name="Checker">
+    <property name="severity" value="warning"/>
+    <module name="TreeWalker">
+        <module name="ModifierOrder"/>
+        <module name="RedundantModifier"/>
+        <module name="AnonInnerLength"/>
+        <module name="ExecutableStatementCount">
+            <property name="max" value="60"/>
+            <property name="tokens" value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/>
+        </module>
+        <module name="LineLength">
+            <property name="max" value="168"/>
+            <property name="tabWidth" value="3"/>
+        </module>
+        <module name="MethodLength"/>
+        <module name="ParameterNumber"/>
+        <module name="AvoidStarImport"/>
+        <module name="IllegalImport"/>
+        <module name="ImportOrder"/>
+        <module name="RedundantImport"/>
+        <module name="UnusedImports"/>
+        <module name="AbstractClassName"/>
+        <module name="ConstantName"/>
+        <module name="LocalFinalVariableName"/>
+        <module name="LocalVariableName"/>
+        <module name="MemberName"/>
+        <module name="MethodName"/>
+        <module name="PackageName"/>
+        <module name="ParameterName"/>
+        <module name="StaticVariableName"/>
+        <module name="TypeName"/>
+        <module name="CovariantEquals"/>
+        <module name="DefaultComesLast"/>
+        <module name="DeclarationOrder"/>
+        <module name="DoubleCheckedLocking"/>
+        <module name="EqualsHashCode"/>
+        <module name="ExplicitInitialization"/>
+        <module name="FallThrough"/>
+        <module name="FinalLocalVariable"/>
+        <module name="IllegalInstantiation"/>
+        <module name="IllegalType">
+            <property name="tokens" value="METHOD_DEF,PARAMETER_DEF"/>
+        </module>
+        <module name="InnerAssignment"/>
+        <module name="MagicNumber">
+            <property name="ignoreNumbers" value="-1, 0, 1"/>
+        </module>
+        <module name="MissingCtor"/>
+        <module name="MissingSwitchDefault"/>
+        <module name="ModifiedControlVariable"/>
+        <module name="MultipleStringLiterals"/>
+        <module name="MultipleVariableDeclarations"/>
+        <module name="NestedIfDepth"/>
+        <module name="NestedTryDepth"/>
+        <module name="PackageDeclaration"/>
+        <module name="ParameterAssignment"/>
+        <module name="RedundantThrows">
+            <property name="logLoadErrors" value="true"/>
+            <property name="suppressLoadErrors" value="true"/>
+        </module>
+        <module name="RequireThis"/>
+        <module name="ReturnCount">
+            <property name="max" value="5"/>
+        </module>
+        <module name="SimplifyBooleanExpression"/>
+        <module name="SimplifyBooleanReturn"/>
+        <module name="StringLiteralEquality"/>
+        <module name="SuperClone"/>
+        <module name="SuperFinalize"/>
+        <module name="ArrayTrailingComma"/>
+        <module name="UnnecessaryParentheses"/>
+        <module name="DesignForExtension"/>
+        <module name="FinalClass"/>
+        <module name="HideUtilityClassConstructor"/>
+        <module name="InterfaceIsType"/>
+        <module name="ThrowsCount"/>
+        <module name="VisibilityModifier"/>
+        <module name="MutableException"/>
+        <module name="EmptyBlock"/>
+        <module name="LeftCurly">
+            <property name="option" value="nl"/>
+            <property name="maxLineLength" value="120"/>
+        </module>
+        <module name="RightCurly">
+            <property name="option" value="alone"/>
+        </module>
+        <module name="EmptyForInitializerPad">
+            <property name="option" value="space"/>
+        </module>
+        <module name="EmptyForIteratorPad">
+            <property name="option" value="space"/>
+        </module>
+        <module name="NoWhitespaceAfter"/>
+        <module name="NoWhitespaceBefore"/>
+        <module name="OperatorWrap">
+            <property name="option" value="eol"/>
+            <property name="tokens" value="ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LE,LITERAL_INSTANCEOF,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,SL,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN"/>
+        </module>
+        <module name="MethodParamPad">
+            <property name="allowLineBreaks" value="true"/>
+        </module>
+        <module name="TabCharacter"/>
+        <module name="TypecastParenPad">
+            <property name="tokens" value="RPAREN,TYPECAST"/>
+        </module>
+        <module name="WhitespaceAround">
+            <property name="tokens" value="ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,LITERAL_ASSERT,TYPE_EXTENSION_AND"/>
+        </module>
+        <module name="NeedBraces"/>
+        <module name="WhitespaceAfter">
+            <property name="tokens" value="COMMA,SEMI"/>
+        </module>
+        <module name="BooleanExpressionComplexity"/>
+        <module name="ClassDataAbstractionCoupling"/>
+        <module name="ClassFanOutComplexity"/>
+        <module name="CyclomaticComplexity"/>
+        <module name="JavaNCSS"/>
+        <module name="NPathComplexity"/>
+        <module name="UncommentedMain"/>
+        <module name="TodoComment"/>
+        <module name="TrailingComment"/>
+        <module name="Indentation">
+            <property name="basicOffset" value="3"/>
+            <property name="caseIndent" value="3"/>
+        </module>
+        <module name="FinalParameters"/>
+        <module name="ArrayTypeStyle"/>
+        <module name="JavadocMethod">
+            <property name="allowUndeclaredRTE" value="true"/>
+            <property name="logLoadErrors" value="true"/>
+        </module>
+        <module name="JavadocStyle"/>
+        <module name="JavadocType"/>
+        <module name="JavadocVariable"/>
+        <module name="WriteTag"/>
+        <module name="SuperFinalize"/>
+    </module>
+    <module name="NewlineAtEndOfFile"/>
+</module>

Modified: common/trunk/src/main/java/org/jboss/ws/Constants.java
===================================================================
--- common/trunk/src/main/java/org/jboss/ws/Constants.java	2009-10-15 22:53:34 UTC (rev 10916)
+++ common/trunk/src/main/java/org/jboss/ws/Constants.java	2009-10-15 22:54:22 UTC (rev 10917)
@@ -322,4 +322,7 @@
    static final String HTTP_KEEP_ALIVE = "org.jboss.ws.http.keepAlive";
    
    static final String HTTP_MAX_CONNECTIONS = "org.jboss.ws.http.maxConnections";
+   
+   static final String NETTY_MESSAGE = "org.jboss.ws.http.netty.Message";
+
 }

Deleted: common/trunk/src/main/java/org/jboss/wsf/common/KernelAwareSPIFactory.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/KernelAwareSPIFactory.java	2009-10-15 22:53:34 UTC (rev 10916)
+++ common/trunk/src/main/java/org/jboss/wsf/common/KernelAwareSPIFactory.java	2009-10-15 22:54:22 UTC (rev 10917)
@@ -1,42 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.common;
-
-import org.jboss.dependency.spi.ControllerContext;
-import org.jboss.kernel.spi.dependency.KernelController;
-import org.jboss.wsf.spi.util.KernelLocator;
-
-/**
- * SPI factory delegating to kernel for bean lookups
- * @author richard.opalka at jboss.com
- * @author Heiko.Braun at jboss.com
- */
-public class KernelAwareSPIFactory
-{
-   @SuppressWarnings("unchecked")
-   public <T> T getKernelProvidedSPI(String beanName, Class<T> spiArtifact)
-   {
-      KernelController controller = KernelLocator.getKernel().getController();
-      ControllerContext ctx = controller.getInstalledContext(beanName);
-      return (T)ctx.getTarget();
-   }
-}

Copied: common/trunk/src/main/java/org/jboss/wsf/common/invocation (from rev 10914, common/branches/ropalka/src/main/java/org/jboss/wsf/common/invocation)

Deleted: common/trunk/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandler.java
===================================================================
--- common/branches/ropalka/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandler.java	2009-10-15 14:33:24 UTC (rev 10914)
+++ common/trunk/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandler.java	2009-10-15 22:54:22 UTC (rev 10917)
@@ -1,87 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2009, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.common.invocation;
-
-import java.lang.reflect.Method;
-
-import org.jboss.logging.Logger;
-import org.jboss.wsf.spi.deployment.Endpoint;
-import org.jboss.wsf.spi.invocation.Invocation;
-import org.jboss.wsf.spi.invocation.InvocationHandler;
-
-/**
- * Base class for all Web Service invocation handlers inside AS.
- *
- * @author <a href="mailto:ropalka at redhat.com">Richard Opalka</a>
- * @author <a href="mailto:tdiesler at redhat.com">Thomas Diesler</a>
- */
-public abstract class AbstractInvocationHandler extends InvocationHandler
-{
-
-   /** Logger. */
-   protected final Logger log = Logger.getLogger(this.getClass());
-
-   /**
-    * Constructor.
-    */
-   protected AbstractInvocationHandler()
-   {
-      super();
-   }
-
-   /**
-    * Creates invocation.
-    * 
-    * @return invocation instance
-    */
-   public final Invocation createInvocation()
-   {
-      return new Invocation();
-   }
-
-   /**
-    * Initialization method.
-    * 
-    * @param endpoint endpoint
-    */
-   public void init(final Endpoint endpoint)
-   {
-      // does nothing
-   }
-
-   /**
-    * Returns implementation method that will be used for invocation.
-    * 
-    * @param implClass implementation endpoint class
-    * @param seiMethod SEI interface method used for method finding algorithm
-    * @return implementation method
-    * @throws NoSuchMethodException if implementation method wasn't found
-    */
-   protected final Method getImplMethod(final Class<?> implClass, final Method seiMethod) throws NoSuchMethodException
-   {
-      final String methodName = seiMethod.getName();
-      final Class<?>[] paramTypes = seiMethod.getParameterTypes();
-
-      return implClass.getMethod(methodName, paramTypes);
-   }
-
-}

Copied: common/trunk/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandler.java (from rev 10914, common/branches/ropalka/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandler.java)
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandler.java	                        (rev 0)
+++ common/trunk/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandler.java	2009-10-15 22:54:22 UTC (rev 10917)
@@ -0,0 +1,87 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.wsf.common.invocation;
+
+import java.lang.reflect.Method;
+
+import org.jboss.logging.Logger;
+import org.jboss.wsf.spi.deployment.Endpoint;
+import org.jboss.wsf.spi.invocation.Invocation;
+import org.jboss.wsf.spi.invocation.InvocationHandler;
+
+/**
+ * Base class for all Web Service invocation handlers inside AS.
+ *
+ * @author <a href="mailto:ropalka at redhat.com">Richard Opalka</a>
+ * @author <a href="mailto:tdiesler at redhat.com">Thomas Diesler</a>
+ */
+public abstract class AbstractInvocationHandler extends InvocationHandler
+{
+
+   /** Logger. */
+   protected final Logger log = Logger.getLogger(this.getClass());
+
+   /**
+    * Constructor.
+    */
+   protected AbstractInvocationHandler()
+   {
+      super();
+   }
+
+   /**
+    * Creates invocation.
+    * 
+    * @return invocation instance
+    */
+   public final Invocation createInvocation()
+   {
+      return new Invocation();
+   }
+
+   /**
+    * Initialization method.
+    * 
+    * @param endpoint endpoint
+    */
+   public void init(final Endpoint endpoint)
+   {
+      // does nothing
+   }
+
+   /**
+    * Returns implementation method that will be used for invocation.
+    * 
+    * @param implClass implementation endpoint class
+    * @param seiMethod SEI interface method used for method finding algorithm
+    * @return implementation method
+    * @throws NoSuchMethodException if implementation method wasn't found
+    */
+   protected final Method getImplMethod(final Class<?> implClass, final Method seiMethod) throws NoSuchMethodException
+   {
+      final String methodName = seiMethod.getName();
+      final Class<?>[] paramTypes = seiMethod.getParameterTypes();
+
+      return implClass.getMethod(methodName, paramTypes);
+   }
+
+}

Deleted: common/trunk/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandlerJSE.java
===================================================================
--- common/branches/ropalka/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandlerJSE.java	2009-10-15 14:33:24 UTC (rev 10914)
+++ common/trunk/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandlerJSE.java	2009-10-15 22:54:22 UTC (rev 10917)
@@ -1,181 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2009, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.common.invocation;
-
-import java.lang.reflect.Method;
-
-import org.jboss.wsf.spi.deployment.Endpoint;
-import org.jboss.wsf.spi.invocation.Invocation;
-import org.jboss.wsf.spi.invocation.InvocationContext;
-
-/**
- * Handles invocations on JSE endpoints.
- *
- * @author <a href="mailto:ropalka at redhat.com">Richard Opalka</a>
- * @author <a href="mailto:tdiesler at redhat.com">Thomas Diesler</a>
- */
-public abstract class AbstractInvocationHandlerJSE extends AbstractInvocationHandler
-{
-
-   /**
-    * Constructor.
-    */
-   protected AbstractInvocationHandlerJSE()
-   {
-      super();
-   }
-
-   /**
-    * Retrieves endpoint implementation bean that will be used in invocation process.
-    * 
-    * This method does the following steps:
-    * 
-    * <ul>
-    *   <li>tries to retrieve endpoint instance from invocation context,</li>
-    *   <li>if endpoint instance is not found it's created and instantiated (lazy initialization)</li>
-    *   <li>
-    *     if endpoint instance was created all subclasses will be notified about this event
-    *     (using {@link #onEndpointInstantiated(Endpoint, Invocation)} template method).  
-    *   </li>
-    * </ul>
-    * 
-    * @param endpoint to lookup implementation instance for
-    * @param invocation current invocation
-    * @return endpoint implementation
-    * @throws Exception if any error occurs
-    */
-   protected final Object getTargetBean(final Endpoint endpoint, final Invocation invocation) throws Exception
-   {
-      final InvocationContext invocationContext = invocation.getInvocationContext();
-      Object targetBean = invocationContext.getTargetBean();
-
-      if (targetBean == null)
-      {
-         try
-         {
-            // create endpoint instance
-            final Class<?> endpointImplClass = endpoint.getTargetBeanClass();
-            targetBean = endpointImplClass.newInstance();
-            invocationContext.setTargetBean(targetBean);
-
-            // notify subclasses
-            this.onEndpointInstantiated(endpoint, invocation);
-         }
-         catch (Exception ex)
-         {
-            throw new IllegalStateException("Cannot create endpoint instance: ", ex);
-         }
-      }
-
-      return targetBean;
-   }
-
-   /**
-    * Invokes method on endpoint implementation.
-    * 
-    * This method does the following steps:
-    * 
-    * <ul>
-    *   <li>lookups endpoint implementation method to be invoked,</li>
-    *   <li>
-    *     notifies all subclasses about endpoint method is going to be invoked<br/>
-    *     (using {@link #onBeforeInvocation(Invocation)} template method),  
-    *   </li>
-    *   <li>endpoint implementation method is invoked,</li>
-    *   <li>
-    *     notifies all subclasses about endpoint method invocation was completed<br/>
-    *     (using {@link #onAfterInvocation(Invocation)} template method).  
-    *   </li>
-    * </ul>
-    * 
-    * @param endpoint which method is going to be invoked
-    * @param invocation current invocation
-    * @throws Exception if any error occurs
-    */
-   public final void invoke(final Endpoint endpoint, final Invocation invocation) throws Exception
-   {
-      try
-      {
-         // prepare for invocation
-         final Object targetBean = this.getTargetBean(endpoint, invocation);
-         final Class<?> implClass = targetBean.getClass();
-         final Method seiMethod = invocation.getJavaMethod();
-         final Method implMethod = this.getImplMethod(implClass, seiMethod);
-         final Object[] args = invocation.getArgs();
-
-         // notify subclasses
-         this.onBeforeInvocation(invocation);
-
-         // invoke implementation method
-         final Object retObj = implMethod.invoke(targetBean, args);
-
-         // set invocation result
-         invocation.setReturnValue(retObj);
-      }
-      catch (Exception e)
-      {
-         this.log.error("Method invocation failed with exception: " + e.getMessage(), e);
-         // propagate exception
-         this.handleInvocationException(e);
-      }
-      finally
-      {
-         // notify subclasses
-         this.onAfterInvocation(invocation);
-      }
-   }
-
-   /**
-    * Template method for notifying subclasses that endpoint instance have been instantiated.
-    * 
-    * @param endpoint instantiated endpoint
-    * @param invocation current invocation
-    * @throws Exception subclasses have to throw exception on any failure
-    */
-   protected void onEndpointInstantiated(final Endpoint endpoint, final Invocation invocation) throws Exception
-   {
-      // does nothing
-   }
-
-   /**
-    * Template method for notifying subclasses that endpoint method is going to be invoked.
-    *  
-    * @param invocation current invocation
-    * @throws Exception subclasses have to throw exception on any failure
-    */
-   protected void onBeforeInvocation(final Invocation invocation) throws Exception
-   {
-      // does nothing
-   }
-
-   /**
-    * Template method for notifying subclasses that endpoint method invocation was completed.
-    *  
-    * @param invocation current invocation
-    * @throws Exception subclasses have to throw exception on any failure
-    */
-   protected void onAfterInvocation(final Invocation invocation) throws Exception
-   {
-      // does nothing
-   }
-
-}

Copied: common/trunk/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandlerJSE.java (from rev 10914, common/branches/ropalka/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandlerJSE.java)
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandlerJSE.java	                        (rev 0)
+++ common/trunk/src/main/java/org/jboss/wsf/common/invocation/AbstractInvocationHandlerJSE.java	2009-10-15 22:54:22 UTC (rev 10917)
@@ -0,0 +1,181 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.wsf.common.invocation;
+
+import java.lang.reflect.Method;
+
+import org.jboss.wsf.spi.deployment.Endpoint;
+import org.jboss.wsf.spi.invocation.Invocation;
+import org.jboss.wsf.spi.invocation.InvocationContext;
+
+/**
+ * Handles invocations on JSE endpoints.
+ *
+ * @author <a href="mailto:ropalka at redhat.com">Richard Opalka</a>
+ * @author <a href="mailto:tdiesler at redhat.com">Thomas Diesler</a>
+ */
+public abstract class AbstractInvocationHandlerJSE extends AbstractInvocationHandler
+{
+
+   /**
+    * Constructor.
+    */
+   protected AbstractInvocationHandlerJSE()
+   {
+      super();
+   }
+
+   /**
+    * Retrieves endpoint implementation bean that will be used in invocation process.
+    * 
+    * This method does the following steps:
+    * 
+    * <ul>
+    *   <li>tries to retrieve endpoint instance from invocation context,</li>
+    *   <li>if endpoint instance is not found it's created and instantiated (lazy initialization)</li>
+    *   <li>
+    *     if endpoint instance was created all subclasses will be notified about this event
+    *     (using {@link #onEndpointInstantiated(Endpoint, Invocation)} template method).  
+    *   </li>
+    * </ul>
+    * 
+    * @param endpoint to lookup implementation instance for
+    * @param invocation current invocation
+    * @return endpoint implementation
+    * @throws Exception if any error occurs
+    */
+   protected final Object getTargetBean(final Endpoint endpoint, final Invocation invocation) throws Exception
+   {
+      final InvocationContext invocationContext = invocation.getInvocationContext();
+      Object targetBean = invocationContext.getTargetBean();
+
+      if (targetBean == null)
+      {
+         try
+         {
+            // create endpoint instance
+            final Class<?> endpointImplClass = endpoint.getTargetBeanClass();
+            targetBean = endpointImplClass.newInstance();
+            invocationContext.setTargetBean(targetBean);
+
+            // notify subclasses
+            this.onEndpointInstantiated(endpoint, invocation);
+         }
+         catch (Exception ex)
+         {
+            throw new IllegalStateException("Cannot create endpoint instance: ", ex);
+         }
+      }
+
+      return targetBean;
+   }
+
+   /**
+    * Invokes method on endpoint implementation.
+    * 
+    * This method does the following steps:
+    * 
+    * <ul>
+    *   <li>lookups endpoint implementation method to be invoked,</li>
+    *   <li>
+    *     notifies all subclasses about endpoint method is going to be invoked<br/>
+    *     (using {@link #onBeforeInvocation(Invocation)} template method),  
+    *   </li>
+    *   <li>endpoint implementation method is invoked,</li>
+    *   <li>
+    *     notifies all subclasses about endpoint method invocation was completed<br/>
+    *     (using {@link #onAfterInvocation(Invocation)} template method).  
+    *   </li>
+    * </ul>
+    * 
+    * @param endpoint which method is going to be invoked
+    * @param invocation current invocation
+    * @throws Exception if any error occurs
+    */
+   public final void invoke(final Endpoint endpoint, final Invocation invocation) throws Exception
+   {
+      try
+      {
+         // prepare for invocation
+         final Object targetBean = this.getTargetBean(endpoint, invocation);
+         final Class<?> implClass = targetBean.getClass();
+         final Method seiMethod = invocation.getJavaMethod();
+         final Method implMethod = this.getImplMethod(implClass, seiMethod);
+         final Object[] args = invocation.getArgs();
+
+         // notify subclasses
+         this.onBeforeInvocation(invocation);
+
+         // invoke implementation method
+         final Object retObj = implMethod.invoke(targetBean, args);
+
+         // set invocation result
+         invocation.setReturnValue(retObj);
+      }
+      catch (Exception e)
+      {
+         this.log.error("Method invocation failed with exception: " + e.getMessage(), e);
+         // propagate exception
+         this.handleInvocationException(e);
+      }
+      finally
+      {
+         // notify subclasses
+         this.onAfterInvocation(invocation);
+      }
+   }
+
+   /**
+    * Template method for notifying subclasses that endpoint instance have been instantiated.
+    * 
+    * @param endpoint instantiated endpoint
+    * @param invocation current invocation
+    * @throws Exception subclasses have to throw exception on any failure
+    */
+   protected void onEndpointInstantiated(final Endpoint endpoint, final Invocation invocation) throws Exception
+   {
+      // does nothing
+   }
+
+   /**
+    * Template method for notifying subclasses that endpoint method is going to be invoked.
+    *  
+    * @param invocation current invocation
+    * @throws Exception subclasses have to throw exception on any failure
+    */
+   protected void onBeforeInvocation(final Invocation invocation) throws Exception
+   {
+      // does nothing
+   }
+
+   /**
+    * Template method for notifying subclasses that endpoint method invocation was completed.
+    *  
+    * @param invocation current invocation
+    * @throws Exception subclasses have to throw exception on any failure
+    */
+   protected void onAfterInvocation(final Invocation invocation) throws Exception
+   {
+      // does nothing
+   }
+
+}

Deleted: common/trunk/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXRPC.java
===================================================================
--- common/branches/ropalka/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXRPC.java	2009-10-15 14:33:24 UTC (rev 10914)
+++ common/trunk/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXRPC.java	2009-10-15 22:54:22 UTC (rev 10917)
@@ -1,90 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2009, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.common.invocation;
-
-import javax.xml.rpc.server.ServiceLifecycle;
-import javax.xml.rpc.server.ServletEndpointContext;
-
-import org.jboss.wsf.spi.invocation.Invocation;
-import org.jboss.wsf.spi.invocation.InvocationContext;
-
-/**
- * Handles invocations on JAXRPC endpoints.
- *
- * @author <a href="mailto:ropalka at redhat.com">Richard Opalka</a>
- * @author <a href="mailto:tdiesler at redhat.com">Thomas Diesler</a>
- */
-public final class InvocationHandlerJAXRPC extends AbstractInvocationHandlerJSE
-{
-
-   /**
-    * Constructor.
-    */
-   public InvocationHandlerJAXRPC()
-   {
-      super();
-   }
-
-   /**
-    * Calls {@link javax.xml.rpc.server.ServiceLifecycle#init(Object)}
-    * method on target bean if this bean implements 
-    * {@link javax.xml.rpc.server.ServiceLifecycle} interface.
-    * 
-    * @param invocation current invocation
-    * @throws Exception if any error occurs
-    */
-   @Override
-   protected void onBeforeInvocation(final Invocation invocation) throws Exception
-   {
-      final InvocationContext invocationContext = invocation.getInvocationContext();
-      final Object targetBean = invocationContext.getTargetBean();
-      final boolean isJaxrpcLifecycleBean = targetBean instanceof ServiceLifecycle;
-
-      if (isJaxrpcLifecycleBean)
-      {
-         final ServletEndpointContext sepContext = invocationContext.getAttachment(ServletEndpointContext.class);
-         ((ServiceLifecycle) targetBean).init(sepContext);
-      }
-   }
-
-   /**
-    * Calls {@link javax.xml.rpc.server.ServiceLifecycle#destroy()}
-    * method on target bean if this bean implements 
-    * {@link javax.xml.rpc.server.ServiceLifecycle} interface.
-    * 
-    * @param invocation current invocation
-    * @throws Exception if any error occurs
-    */
-   @Override
-   protected void onAfterInvocation(final Invocation invocation) throws Exception
-   {
-      final InvocationContext invocationContext = invocation.getInvocationContext();
-      final Object targetBean = invocationContext.getTargetBean();
-      final boolean isJaxrpcLifecycleBean = targetBean instanceof ServiceLifecycle;
-
-      if (isJaxrpcLifecycleBean)
-      {
-         ((ServiceLifecycle) targetBean).destroy();
-      }
-   }
-
-}

Copied: common/trunk/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXRPC.java (from rev 10914, common/branches/ropalka/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXRPC.java)
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXRPC.java	                        (rev 0)
+++ common/trunk/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXRPC.java	2009-10-15 22:54:22 UTC (rev 10917)
@@ -0,0 +1,90 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.wsf.common.invocation;
+
+import javax.xml.rpc.server.ServiceLifecycle;
+import javax.xml.rpc.server.ServletEndpointContext;
+
+import org.jboss.wsf.spi.invocation.Invocation;
+import org.jboss.wsf.spi.invocation.InvocationContext;
+
+/**
+ * Handles invocations on JAXRPC endpoints.
+ *
+ * @author <a href="mailto:ropalka at redhat.com">Richard Opalka</a>
+ * @author <a href="mailto:tdiesler at redhat.com">Thomas Diesler</a>
+ */
+public final class InvocationHandlerJAXRPC extends AbstractInvocationHandlerJSE
+{
+
+   /**
+    * Constructor.
+    */
+   public InvocationHandlerJAXRPC()
+   {
+      super();
+   }
+
+   /**
+    * Calls {@link javax.xml.rpc.server.ServiceLifecycle#init(Object)}
+    * method on target bean if this bean implements 
+    * {@link javax.xml.rpc.server.ServiceLifecycle} interface.
+    * 
+    * @param invocation current invocation
+    * @throws Exception if any error occurs
+    */
+   @Override
+   protected void onBeforeInvocation(final Invocation invocation) throws Exception
+   {
+      final InvocationContext invocationContext = invocation.getInvocationContext();
+      final Object targetBean = invocationContext.getTargetBean();
+      final boolean isJaxrpcLifecycleBean = targetBean instanceof ServiceLifecycle;
+
+      if (isJaxrpcLifecycleBean)
+      {
+         final ServletEndpointContext sepContext = invocationContext.getAttachment(ServletEndpointContext.class);
+         ((ServiceLifecycle) targetBean).init(sepContext);
+      }
+   }
+
+   /**
+    * Calls {@link javax.xml.rpc.server.ServiceLifecycle#destroy()}
+    * method on target bean if this bean implements 
+    * {@link javax.xml.rpc.server.ServiceLifecycle} interface.
+    * 
+    * @param invocation current invocation
+    * @throws Exception if any error occurs
+    */
+   @Override
+   protected void onAfterInvocation(final Invocation invocation) throws Exception
+   {
+      final InvocationContext invocationContext = invocation.getInvocationContext();
+      final Object targetBean = invocationContext.getTargetBean();
+      final boolean isJaxrpcLifecycleBean = targetBean instanceof ServiceLifecycle;
+
+      if (isJaxrpcLifecycleBean)
+      {
+         ((ServiceLifecycle) targetBean).destroy();
+      }
+   }
+
+}

Deleted: common/trunk/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXWS.java
===================================================================
--- common/branches/ropalka/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXWS.java	2009-10-15 14:33:24 UTC (rev 10914)
+++ common/trunk/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXWS.java	2009-10-15 22:54:22 UTC (rev 10917)
@@ -1,143 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2009, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.common.invocation;
-
-import javax.xml.ws.WebServiceContext;
-
-import org.jboss.wsf.common.injection.InjectionHelper;
-import org.jboss.wsf.common.injection.PreDestroyHolder;
-import org.jboss.wsf.spi.SPIProvider;
-import org.jboss.wsf.spi.SPIProviderResolver;
-import org.jboss.wsf.spi.deployment.Endpoint;
-import org.jboss.wsf.spi.invocation.Invocation;
-import org.jboss.wsf.spi.invocation.InvocationContext;
-import org.jboss.wsf.spi.invocation.ResourceInjector;
-import org.jboss.wsf.spi.invocation.ResourceInjectorFactory;
-import org.jboss.wsf.spi.metadata.injection.InjectionsMetaData;
-
-/**
- * Handles invocations on JAXWS endpoints.
- *
- * @author <a href="mailto:ropalka at redhat.com">Richard Opalka</a>
- * @author <a href="mailto:tdiesler at redhat.com">Thomas Diesler</a>
- */
-public final class InvocationHandlerJAXWS extends AbstractInvocationHandlerJSE
-{
-
-   /** WebServiceContext injector. */
-   private final ResourceInjector wsContextInjector;
-
-   /**
-    * Constructor.
-    */
-   public InvocationHandlerJAXWS()
-   {
-      super();
-
-      final SPIProvider spiProvider = SPIProviderResolver.getInstance().getProvider();
-      final ResourceInjectorFactory resourceInjectorFactory = spiProvider.getSPI(ResourceInjectorFactory.class);
-      this.wsContextInjector = resourceInjectorFactory.newResourceInjector();
-   }
-
-   /**
-    * Injects resources on target bean and calls post construct method.
-    * Finally it registers target bean for predestroy phase.
-    * 
-    * @param endpoint used for predestroy phase registration process
-    * @param invocation current invocation
-    */
-   @Override
-   protected void onEndpointInstantiated(final Endpoint endpoint, final Invocation invocation)
-   {
-      final InjectionsMetaData injectionsMD = endpoint.getAttachment(InjectionsMetaData.class);
-      final Object targetBean = this.getTargetBean(invocation);
-
-      this.log.debug("Injecting resources on JAXWS JSE endpoint: " + targetBean);
-      InjectionHelper.injectResources(targetBean, injectionsMD);
-      this.log.debug("Calling postConstruct method on JAXWS JSE endpoint: " + targetBean);
-      InjectionHelper.callPostConstructMethod(targetBean);
-
-      endpoint.addAttachment(PreDestroyHolder.class, new PreDestroyHolder(targetBean));
-   }
-
-   /**
-    * Injects webservice context on target bean.
-    * 
-    *  @param invocation current invocation
-    */
-   @Override
-   protected void onBeforeInvocation(final Invocation invocation)
-   {
-      final WebServiceContext wsContext = this.getWebServiceContext(invocation);
-
-      if (wsContext != null)
-      {
-         final Object targetBean = this.getTargetBean(invocation);
-         this.wsContextInjector.inject(targetBean, wsContext);
-      }
-   }
-
-   /**
-    * Cleanups injected webservice context on target bean.
-    * 
-    * @param invocation current invocation
-    */
-   @Override
-   protected void onAfterInvocation(final Invocation invocation)
-   {
-      final WebServiceContext wsContext = this.getWebServiceContext(invocation);
-
-      if (wsContext != null)
-      {
-         final Object targetBean = this.getTargetBean(invocation);
-
-         this.wsContextInjector.inject(targetBean, null);
-      }
-   }
-
-   /**
-    * Returns WebServiceContext associated with this invocation.
-    * 
-    * @param invocation current invocation
-    * @return web service context or null if not available
-    */
-   private WebServiceContext getWebServiceContext(final Invocation invocation)
-   {
-      final InvocationContext invocationContext = invocation.getInvocationContext();
-
-      return invocationContext.getAttachment(WebServiceContext.class);
-   }
-
-   /**
-    * Returns endpoint instance associated with current invocation.
-    * 
-    * @param invocation current invocation
-    * @return target bean in invocation
-    */
-   private Object getTargetBean(final Invocation invocation)
-   {
-      final InvocationContext invocationContext = invocation.getInvocationContext();
-
-      return invocationContext.getTargetBean();
-   }
-
-}

Copied: common/trunk/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXWS.java (from rev 10914, common/branches/ropalka/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXWS.java)
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXWS.java	                        (rev 0)
+++ common/trunk/src/main/java/org/jboss/wsf/common/invocation/InvocationHandlerJAXWS.java	2009-10-15 22:54:22 UTC (rev 10917)
@@ -0,0 +1,143 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.wsf.common.invocation;
+
+import javax.xml.ws.WebServiceContext;
+
+import org.jboss.wsf.common.injection.InjectionHelper;
+import org.jboss.wsf.common.injection.PreDestroyHolder;
+import org.jboss.wsf.spi.SPIProvider;
+import org.jboss.wsf.spi.SPIProviderResolver;
+import org.jboss.wsf.spi.deployment.Endpoint;
+import org.jboss.wsf.spi.invocation.Invocation;
+import org.jboss.wsf.spi.invocation.InvocationContext;
+import org.jboss.wsf.spi.invocation.ResourceInjector;
+import org.jboss.wsf.spi.invocation.ResourceInjectorFactory;
+import org.jboss.wsf.spi.metadata.injection.InjectionsMetaData;
+
+/**
+ * Handles invocations on JAXWS endpoints.
+ *
+ * @author <a href="mailto:ropalka at redhat.com">Richard Opalka</a>
+ * @author <a href="mailto:tdiesler at redhat.com">Thomas Diesler</a>
+ */
+public final class InvocationHandlerJAXWS extends AbstractInvocationHandlerJSE
+{
+
+   /** WebServiceContext injector. */
+   private final ResourceInjector wsContextInjector;
+
+   /**
+    * Constructor.
+    */
+   public InvocationHandlerJAXWS()
+   {
+      super();
+
+      final SPIProvider spiProvider = SPIProviderResolver.getInstance().getProvider();
+      final ResourceInjectorFactory resourceInjectorFactory = spiProvider.getSPI(ResourceInjectorFactory.class);
+      this.wsContextInjector = resourceInjectorFactory.newResourceInjector();
+   }
+
+   /**
+    * Injects resources on target bean and calls post construct method.
+    * Finally it registers target bean for predestroy phase.
+    * 
+    * @param endpoint used for predestroy phase registration process
+    * @param invocation current invocation
+    */
+   @Override
+   protected void onEndpointInstantiated(final Endpoint endpoint, final Invocation invocation)
+   {
+      final InjectionsMetaData injectionsMD = endpoint.getAttachment(InjectionsMetaData.class);
+      final Object targetBean = this.getTargetBean(invocation);
+
+      this.log.debug("Injecting resources on JAXWS JSE endpoint: " + targetBean);
+      InjectionHelper.injectResources(targetBean, injectionsMD);
+      this.log.debug("Calling postConstruct method on JAXWS JSE endpoint: " + targetBean);
+      InjectionHelper.callPostConstructMethod(targetBean);
+
+      endpoint.addAttachment(PreDestroyHolder.class, new PreDestroyHolder(targetBean));
+   }
+
+   /**
+    * Injects webservice context on target bean.
+    * 
+    *  @param invocation current invocation
+    */
+   @Override
+   protected void onBeforeInvocation(final Invocation invocation)
+   {
+      final WebServiceContext wsContext = this.getWebServiceContext(invocation);
+
+      if (wsContext != null)
+      {
+         final Object targetBean = this.getTargetBean(invocation);
+         this.wsContextInjector.inject(targetBean, wsContext);
+      }
+   }
+
+   /**
+    * Cleanups injected webservice context on target bean.
+    * 
+    * @param invocation current invocation
+    */
+   @Override
+   protected void onAfterInvocation(final Invocation invocation)
+   {
+      final WebServiceContext wsContext = this.getWebServiceContext(invocation);
+
+      if (wsContext != null)
+      {
+         final Object targetBean = this.getTargetBean(invocation);
+
+         this.wsContextInjector.inject(targetBean, null);
+      }
+   }
+
+   /**
+    * Returns WebServiceContext associated with this invocation.
+    * 
+    * @param invocation current invocation
+    * @return web service context or null if not available
+    */
+   private WebServiceContext getWebServiceContext(final Invocation invocation)
+   {
+      final InvocationContext invocationContext = invocation.getInvocationContext();
+
+      return invocationContext.getAttachment(WebServiceContext.class);
+   }
+
+   /**
+    * Returns endpoint instance associated with current invocation.
+    * 
+    * @param invocation current invocation
+    * @return target bean in invocation
+    */
+   private Object getTargetBean(final Invocation invocation)
+   {
+      final InvocationContext invocationContext = invocation.getInvocationContext();
+
+      return invocationContext.getTargetBean();
+   }
+
+}

Modified: common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTest.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTest.java	2009-10-15 22:53:34 UTC (rev 10916)
+++ common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTest.java	2009-10-15 22:54:22 UTC (rev 10917)
@@ -50,15 +50,15 @@
 import org.w3c.dom.NodeList;
 
 /**
- * Base class for JBossWS test cases
+ * Base class for JBossWS test cases.
  *
- * @author Thomas.Diesler at jboss.org
- * @author ropalka at redhat.com
+ * @author <a href="mailto:tdiesler at redhat.com">Thomas Diesler</a>
+ * @author <a href="mailto:ropalka at redhat.com">Richard Opalka</a>
  */
 public abstract class JBossWSTest extends TestCase
 {
    protected static Logger log = Logger.getLogger(JBossWSTest.class.getName());
-   private JBossWSTestHelper delegate = new JBossWSTestHelper();
+   //private static JBossWSTestHelper delegate = new JBossWSTestHelper();
 
    public JBossWSTest()
    {
@@ -74,9 +74,9 @@
     * @param command command to execute
     * @throws IOException if I/O error occurs
     */
-   public void executeCommand(String command) throws IOException
+   public static void executeCommand(String command) throws IOException
    {
-      this.executeCommand(command, null, null, null);
+      executeCommand(command, null, null, null);
    }
 
    /**
@@ -85,9 +85,9 @@
     * @param message message to display if assertion fails
     * @throws IOException if I/O error occurs
     */
-   public void executeCommand(String command, String message) throws IOException
+   public static void executeCommand(String command, String message) throws IOException
    {
-      this.executeCommand(command, null, message, null);
+      executeCommand(command, null, message, null);
    }
 
    /**
@@ -96,9 +96,9 @@
     * @param os output stream to copy process input to. If null, <b>System.out</b> will be used
     * @throws IOException if I/O error occurs
     */
-   public void executeCommand(String command, OutputStream os) throws IOException
+   public static void executeCommand(String command, OutputStream os) throws IOException
    {
-      this.executeCommand(command, os, null, null);
+      executeCommand(command, os, null, null);
    }
 
    /**
@@ -108,9 +108,9 @@
     * @param message message to display if assertion fails
     * @throws IOException if I/O error occurs
     */
-   public void executeCommand(String command, OutputStream os, String message) throws IOException
+   public static void executeCommand(String command, OutputStream os, String message) throws IOException
    {
-      this.executeCommand(command, os, message, null);
+      executeCommand(command, os, message, null);
    }
 
    /**
@@ -121,7 +121,7 @@
     * @param env environment
     * @throws IOException if I/O error occurs
     */
-   public void executeCommand(String command, OutputStream os, String message, Map<String, String> env) throws IOException
+   public static void executeCommand(String command, OutputStream os, String message, Map<String, String> env) throws IOException
    {
       if (command == null)
          throw new NullPointerException( "Command cannot be null" );
@@ -139,7 +139,7 @@
 
       try
       {
-         this.executeCommand(tokenizedCommand, os, message, env);
+         executeCommand(tokenizedCommand, os, message, env);
       }
       catch (IOException e)
       {
@@ -156,7 +156,7 @@
     * @param env environment
     * @throws IOException if I/O error occurs
     */
-   private void executeCommand(List<String> command, OutputStream os, String message, Map<String, String> env) throws IOException
+   private static void executeCommand(List<String> command, OutputStream os, String message, Map<String, String> env) throws IOException
    {
       ProcessBuilder pb = new ProcessBuilder(command);
       if (env != null)
@@ -192,118 +192,115 @@
       }
    }
 
-   public MBeanServerConnection getServer() throws NamingException
+   public static MBeanServerConnection getServer() throws NamingException
    {
       return JBossWSTestHelper.getServer();
    }
 
-   public boolean isTargetJBoss5()
+   public static boolean isTargetJBoss5()
    {
-      return delegate.isTargetJBoss5();
+      return JBossWSTestHelper.isTargetJBoss5();
    }
 
-   public boolean isTargetJBoss51()
+   public static boolean isTargetJBoss51()
    {
-      return delegate.isTargetJBoss51();
+      return JBossWSTestHelper.isTargetJBoss51();
    }
 
-   public boolean isTargetJBoss52()
+   public static boolean isTargetJBoss52()
    {
-      return delegate.isTargetJBoss52();
+      return JBossWSTestHelper.isTargetJBoss52();
    }
 
-   public boolean isTargetJBoss50()
+   public static boolean isTargetJBoss50()
    {
-      return delegate.isTargetJBoss50();
+      return JBossWSTestHelper.isTargetJBoss50();
    }
 
-   public boolean isTargetJBoss6()
+   public static boolean isTargetJBoss6()
    {
-      return delegate.isTargetJBoss6();
+      return JBossWSTestHelper.isTargetJBoss6();
    }
 
-   public boolean isTargetJBoss61()
+   public static boolean isTargetJBoss61()
    {
-      return delegate.isTargetJBoss61();
+      return JBossWSTestHelper.isTargetJBoss61();
    }
 
-   public boolean isTargetJBoss60()
+   public static boolean isTargetJBoss60()
    {
-      return delegate.isTargetJBoss60();
+      return JBossWSTestHelper.isTargetJBoss60();
    }
 
-   public boolean isIntegrationNative()
+   public static boolean isIntegrationNative()
    {
-      return delegate.isIntegrationNative();
-
+      return JBossWSTestHelper.isIntegrationNative();
    }
 
-   public boolean isIntegrationMetro()
+   public static boolean isIntegrationMetro()
    {
-      return delegate.isIntegrationMetro();
+      return JBossWSTestHelper.isIntegrationMetro();
    }
 
-   public boolean isIntegrationCXF()
+   public static boolean isIntegrationCXF()
    {
-      return delegate.isIntegrationCXF();
+      return JBossWSTestHelper.isIntegrationCXF();
    }
 
    /** Deploy the given archive
     */
-   public void deploy(String archive) throws Exception
+   public static void deploy(String archive) throws Exception
    {
-      delegate.deploy(archive);
+      JBossWSTestHelper.deploy(archive);
    }
 
    /** Undeploy the given archive
     */
-   public void undeploy(String archive) throws Exception
+   public static void undeploy(String archive) throws Exception
    {
-      delegate.undeploy(archive);
+      JBossWSTestHelper.undeploy(archive);
    }
 
-   public String getServerHost()
+   public static String getServerHost()
    {
       return JBossWSTestHelper.getServerHost();
    }
 
-   public File getArchiveFile(String archive)
+   public static File getArchiveFile(String archive)
    {
-      return delegate.getArchiveFile(archive);
+      return JBossWSTestHelper.getArchiveFile(archive);
    }
 
-   public URL getArchiveURL(String archive) throws MalformedURLException
+   public static URL getArchiveURL(String archive) throws MalformedURLException
    {
-      return delegate.getArchiveURL(archive);
+      return JBossWSTestHelper.getArchiveURL(archive);
    }
 
-   public File getResourceFile(String resource)
+   public static File getResourceFile(String resource)
    {
-      return delegate.getResourceFile(resource);
+      return JBossWSTestHelper.getResourceFile(resource);
    }
 
-   public URL getResourceURL(String resource) throws MalformedURLException
+   public static URL getResourceURL(String resource) throws MalformedURLException
    {
-      return delegate.getResourceURL(resource);
+      return JBossWSTestHelper.getResourceURL(resource);
    }
 
-   public File createResourceFile(String filename)
+   public static File createResourceFile(String filename)
    {
       File resDir = new File(JBossWSTestHelper.getTestResourcesDir());
-      File file = new File(resDir.getAbsolutePath() + File.separator + filename);
-      return file;
+      return new File(resDir.getAbsolutePath() + File.separator + filename);
    }
 
-   public File createResourceFile(File parent, String filename)
+   public static File createResourceFile(File parent, String filename)
    {
-      File file = new File(parent, filename);
-      return file;
+      return new File(parent, filename);
    }
 
    /** Get the client's env context for a given name.
     */
    @SuppressWarnings("unchecked")
-   protected InitialContext getInitialContext(String clientName) throws NamingException
+   protected static InitialContext getInitialContext(String clientName) throws NamingException
    {
       InitialContext iniCtx = new InitialContext();
       Hashtable env = iniCtx.getEnvironment();
@@ -314,7 +311,7 @@
 
    /** Get the client's env context
     */
-   protected InitialContext getInitialContext() throws NamingException
+   protected static InitialContext getInitialContext() throws NamingException
    {
       return getInitialContext("jbossws-client");
    }
@@ -461,4 +458,5 @@
          }
       }
    }
+
 }

Modified: common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java	2009-10-15 22:53:34 UTC (rev 10916)
+++ common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java	2009-10-15 22:54:22 UTC (rev 10917)
@@ -62,7 +62,7 @@
 
    /** Deploy the given archive
     */
-   public void deploy(String archive) throws Exception
+   public static void deploy(String archive) throws Exception
    {
       if ( DEPLOY_PROCESS_ENABLED )
       {
@@ -73,7 +73,7 @@
 
    /** Undeploy the given archive
     */
-   public void undeploy(String archive) throws Exception
+   public static void undeploy(String archive) throws Exception
    {
       if ( DEPLOY_PROCESS_ENABLED )
       {
@@ -83,71 +83,71 @@
    }
 
    /** True, if -Djbossws.integration.target=jboss5x */
-   public boolean isTargetJBoss5()
+   public static boolean isTargetJBoss5()
    {
       return  isTargetJBoss52() || isTargetJBoss51() || isTargetJBoss50();
    }
 
    /** True, if -Djbossws.integration.target=jboss50x */
-   public boolean isTargetJBoss50()
+   public static boolean isTargetJBoss50()
    {
       String target = getIntegrationTarget();
       return target.startsWith("jboss50");
    }
 
    /** True, if -Djbossws.integration.target=jboss51x */
-   public boolean isTargetJBoss51()
+   public static boolean isTargetJBoss51()
    {
       String target = getIntegrationTarget();
       return target.startsWith("jboss51");
    }
 
    /** True, if -Djbossws.integration.target=jboss52x */
-   public boolean isTargetJBoss52()
+   public static boolean isTargetJBoss52()
    {
       String target = getIntegrationTarget();
       return target.startsWith("jboss52");
    }
 
    /** True, if -Djbossws.integration.target=jboss6x */
-   public boolean isTargetJBoss6()
+   public static boolean isTargetJBoss6()
    {
       return isTargetJBoss61() || isTargetJBoss60();
    }
    
    /** True, if -Djbossws.integration.target=jboss60x */
-   public boolean isTargetJBoss60()
+   public static boolean isTargetJBoss60()
    {
       String target = getIntegrationTarget();
       return target.startsWith("jboss60");
    }
 
    /** True, if -Djbossws.integration.target=jboss61x */
-   public boolean isTargetJBoss61()
+   public static boolean isTargetJBoss61()
    {
       String target = getIntegrationTarget();
       return target.startsWith("jboss61");
    }
 
-   public boolean isIntegrationNative()
+   public static boolean isIntegrationNative()
    {
       String vendor = getImplementationVendor();
       return vendor.toLowerCase().indexOf("jboss") != -1;
    }
 
-   public boolean isIntegrationMetro()
+   public static boolean isIntegrationMetro()
    {
       String vendor = getImplementationVendor();
       return vendor.toLowerCase().indexOf("sun") != -1;
    }
 
-   public boolean isIntegrationCXF()
+   public static boolean isIntegrationCXF()
    {
       String vendor = getImplementationVendor();
       return vendor.toLowerCase().indexOf("apache") != -1;
    }
 
-   private String getImplementationVendor()
+   private static String getImplementationVendor()
    {
       if (implVendor == null)
       {
@@ -164,7 +164,7 @@
       return implVendor;
    }
 
-   private Object getImplementationObject()
+   private static Object getImplementationObject()
    {
       Service service = Service.create(new QName("dummyService"));
       Object obj = service.getHandlerResolver();
@@ -176,7 +176,7 @@
       return obj;
    }
 
-   private String getImplementationPackage()
+   private static String getImplementationPackage()
    {
       return getImplementationObject().getClass().getPackage().getName();
    }
@@ -210,12 +210,12 @@
       return server;
    }
 
-   private TestDeployer getDeployer()
+   private static TestDeployer getDeployer()
    {
       return new TestDeployerJBoss(getServer());
    }
 
-   public String getIntegrationTarget()
+   public static String getIntegrationTarget()
    {
       if (integrationTarget == null)
       {
@@ -258,13 +258,13 @@
    }
 
    /** Try to discover the URL for the deployment archive */
-   public URL getArchiveURL(String archive) throws MalformedURLException
+   public static URL getArchiveURL(String archive) throws MalformedURLException
    {
       return getArchiveFile(archive).toURL();
    }
 
    /** Try to discover the File for the deployment archive */
-   public File getArchiveFile(String archive)
+   public static File getArchiveFile(String archive)
    {
       File file = new File(archive);
       if (file.exists())
@@ -279,13 +279,13 @@
    }
 
    /** Try to discover the URL for the test resource */
-   public URL getResourceURL(String resource) throws MalformedURLException
+   public static URL getResourceURL(String resource) throws MalformedURLException
    {
       return getResourceFile(resource).toURL();
    }
 
    /** Try to discover the File for the test resource */
-   public File getResourceFile(String resource)
+   public static File getResourceFile(String resource)
    {
       File file = new File(resource);
       if (file.exists())

Modified: common/trunk/src/main/java/org/jboss/wsf/test/TestDeployerJBoss.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/test/TestDeployerJBoss.java	2009-10-15 22:53:34 UTC (rev 10916)
+++ common/trunk/src/main/java/org/jboss/wsf/test/TestDeployerJBoss.java	2009-10-15 22:54:22 UTC (rev 10917)
@@ -75,10 +75,12 @@
       Principal prevUsername = null;
       Object prevPassword = null;
 
-      SPIProvider spiProvider = SPIProviderResolver.getInstance().getProvider();
-      SecurityAdaptor securityAdaptor = spiProvider.getSPI(SecurityAdaptorFactory.class).newSecurityAdapter();
+      SecurityAdaptor securityAdaptor = null;
       if (username != null || password != null)
       {
+         SPIProvider spiProvider = SPIProviderResolver.getInstance().getProvider();
+         securityAdaptor = spiProvider.getSPI(SecurityAdaptorFactory.class).newSecurityAdapter();
+
          prevUsername = securityAdaptor.getPrincipal();
          prevPassword = securityAdaptor.getCredential();
          securityAdaptor.setPrincipal(new SimplePrincipal(username));



More information about the jbossws-commits mailing list