Author: richard.opalka(a)jboss.com
Date: 2009-08-14 01:53:55 -0400 (Fri, 14 Aug 2009)
New Revision: 10535
Added:
container/jboss50/branches/ropalka-jboss510/eclipse/jboss-format.xml
container/jboss50/branches/ropalka-jboss510/eclipse/jboss-style.xml
Removed:
container/jboss50/branches/ropalka-jboss510/eclipse/JBossWSCheckStyle.xml
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/config/ServerConfigImpl.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/deployers/WSDeploymentBuilder.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/deployers/WSEJBAdapterDeployer.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/injection/EJBBeanReferenceResolver.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/injection/InjectionMetaDataDeploymentAspect.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerEJB21.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerEJB3.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerFactoryImpl.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerJAXRPC.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/ServiceEndpointInterceptorEJB21.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/AbstractMetaDataBuilderEJB.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/MetaDataBuilderEJB21.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/MetaDataBuilderEJB3.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/MetaDataBuilderJSE.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/security/JACCPermissionsDeploymentAspect.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/security/SecurityAdapterImpl.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/SecurityMetaDataAccessorEJB3.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataCreator.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataHelper.java
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataModifier.java
Log:
updating to JBoss code style
Deleted: container/jboss50/branches/ropalka-jboss510/eclipse/JBossWSCheckStyle.xml
===================================================================
--- container/jboss50/branches/ropalka-jboss510/eclipse/JBossWSCheckStyle.xml 2009-08-13
14:10:42 UTC (rev 10534)
+++ container/jboss50/branches/ropalka-jboss510/eclipse/JBossWSCheckStyle.xml 2009-08-14
05:53:55 UTC (rev 10535)
@@ -1,148 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- This configuration file was written by the eclipse-cs plugin configuration editor
--->
-<!--
- Checkstyle-Configuration: JBossWS
- 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>
Added: container/jboss50/branches/ropalka-jboss510/eclipse/jboss-format.xml
===================================================================
--- container/jboss50/branches/ropalka-jboss510/eclipse/jboss-format.xml
(rev 0)
+++ container/jboss50/branches/ropalka-jboss510/eclipse/jboss-format.xml 2009-08-14
05:53:55 UTC (rev 10535)
@@ -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>
Added: container/jboss50/branches/ropalka-jboss510/eclipse/jboss-style.xml
===================================================================
--- container/jboss50/branches/ropalka-jboss510/eclipse/jboss-style.xml
(rev 0)
+++ container/jboss50/branches/ropalka-jboss510/eclipse/jboss-style.xml 2009-08-14
05:53:55 UTC (rev 10535)
@@ -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:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/config/ServerConfigImpl.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/config/ServerConfigImpl.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/config/ServerConfigImpl.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -92,7 +92,7 @@
File location = null;
try
{
- location = (File)this.getMbeanServer().getAttribute(on, attributeName);
+ location = (File) this.getMbeanServer().getAttribute(on, attributeName);
}
catch (final JMException e)
{
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/deployers/WSDeploymentBuilder.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/deployers/WSDeploymentBuilder.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/deployers/WSDeploymentBuilder.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -218,7 +218,7 @@
if (unit instanceof VFSDeploymentUnit)
{
- final VFSDeploymentUnit vfsUnit = (VFSDeploymentUnit)unit;
+ final VFSDeploymentUnit vfsUnit = (VFSDeploymentUnit) unit;
final List<VirtualFile> virtualFiles =
vfsUnit.getMetaDataFiles(WSDeploymentBuilder.WS_FILE_FILTER);
final Set<UnifiedVirtualFile> uVirtualFiles = new
HashSet<UnifiedVirtualFile>();
for (VirtualFile vf : virtualFiles)
@@ -245,7 +245,7 @@
dep.setParent(parentDep);
}
- dep.setRootFile(new VirtualFileAdaptor(((VFSDeploymentUnit)unit).getRoot()));
+ dep.setRootFile(new VirtualFileAdaptor(((VFSDeploymentUnit) unit).getRoot()));
dep.setRuntimeClassLoader(unit.getClassLoader());
final DeploymentType deploymentType = ASHelper.getRequiredAttachment(unit,
DeploymentType.class);
dep.setType(deploymentType);
@@ -262,7 +262,7 @@
*/
private ArchiveDeployment newDeployment(final String name, final ClassLoader
loader)
{
- return (ArchiveDeployment)this.deploymentModelFactory.newDeployment(name,
loader);
+ return (ArchiveDeployment) this.deploymentModelFactory.newDeployment(name,
loader);
}
/**
@@ -276,7 +276,8 @@
* @param dep deployment
* @return attachment value if found in unit
*/
- protected final <A> A getAndPropagateAttachment(final Class<A>
attachment, final DeploymentUnit unit, final Deployment dep)
+ protected final <A> A getAndPropagateAttachment(final Class<A>
attachment, final DeploymentUnit unit,
+ final Deployment dep)
{
final A attachmentValue = ASHelper.getOptionalAttachment(unit, attachment);
@@ -335,7 +336,9 @@
*
* @author <a href="mailto:ropalka@redhat.com">Richard
Opalka</a>
*/
- private static final class JaxrpcJseDeploymentModelBuilder extends
WSDeploymentBuilder.AbstractDeploymentModelBuilder
+ private static final class JaxrpcJseDeploymentModelBuilder
+ extends
+ WSDeploymentBuilder.AbstractDeploymentModelBuilder
{
/**
@@ -420,7 +423,9 @@
*
* @author <a href="mailto:ropalka@redhat.com">Richard
Opalka</a>
*/
- private static final class JaxrpcEjbDeploymentModelBuilder extends
WSDeploymentBuilder.AbstractDeploymentModelBuilder
+ private static final class JaxrpcEjbDeploymentModelBuilder
+ extends
+ WSDeploymentBuilder.AbstractDeploymentModelBuilder
{
/**
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/deployers/WSEJBAdapterDeployer.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/deployers/WSEJBAdapterDeployer.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/deployers/WSEJBAdapterDeployer.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -78,7 +78,8 @@
@Override
protected void internalDeploy(final DeploymentUnit unit) throws DeploymentException
{
- final JBossMetaData mergedMD =
(JBossMetaData)unit.getAttachment(MergedJBossMetaDataDeployer.EJB_MERGED_ATTACHMENT_NAME);
+ final JBossMetaData mergedMD = (JBossMetaData) unit
+ .getAttachment(MergedJBossMetaDataDeployer.EJB_MERGED_ATTACHMENT_NAME);
final Ejb3Deployment ejb3Deployment = ASHelper.getOptionalAttachment(unit,
Ejb3Deployment.class);
if (mergedMD != null)
@@ -114,14 +115,15 @@
* @return EJB container or null if not EJB3 stateless bean
* @throws DeploymentException if some error occurs
*/
- private EJBContainer getContainer(final Ejb3Deployment ejb3Deployment, final
JBossEnterpriseBeanMetaData ejbMD) throws DeploymentException
+ private EJBContainer getContainer(final Ejb3Deployment ejb3Deployment, final
JBossEnterpriseBeanMetaData ejbMD)
+ throws DeploymentException
{
if ((ejb3Deployment != null) && (!ejbMD.isEntity()))
{
try
{
final ObjectName objName = new ObjectName(ejbMD.determineContainerName());
- return (EJBContainer)ejb3Deployment.getContainer(objName);
+ return (EJBContainer) ejb3Deployment.getContainer(objName);
}
catch (MalformedObjectNameException e)
{
@@ -141,8 +143,10 @@
/** EJB meta data. */
private final JBossEnterpriseBeanMetaData ejbMetaData;
+
/** EJB container. */
private final EJBContainer ejbContainer;
+
/** Class loader. */
private final ClassLoader loader;
@@ -153,7 +157,8 @@
* @param ejbContainer EJB container
* @param loader class loader
*/
- private WebServiceDeclarationAdapter(final JBossEnterpriseBeanMetaData ejbMetaData,
final EJBContainer ejbContainer, final ClassLoader loader)
+ private WebServiceDeclarationAdapter(final JBossEnterpriseBeanMetaData
ejbMetaData,
+ final EJBContainer ejbContainer, final ClassLoader loader)
{
super();
@@ -220,7 +225,7 @@
else
{
final Class<?> bean = this.getComponentClass();
- return (T)bean.getAnnotation(annotationType);
+ return (T) bean.getAnnotation(annotationType);
}
}
@@ -237,7 +242,8 @@
}
catch (ClassNotFoundException cnfe)
{
- throw new RuntimeException("Failed to load component class: " +
this.getComponentClassName() + " from loader: " + this.loader);
+ throw new RuntimeException("Failed to load component class: " +
this.getComponentClassName()
+ + " from loader: " + this.loader);
}
}
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/injection/EJBBeanReferenceResolver.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/injection/EJBBeanReferenceResolver.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/injection/EJBBeanReferenceResolver.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -43,6 +43,7 @@
* Deployment unit used for resolving process.
*/
private final DeploymentUnit unit;
+
/**
* Delegate used to resolve JNDI names.
*/
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/injection/InjectionMetaDataDeploymentAspect.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/injection/InjectionMetaDataDeploymentAspect.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/injection/InjectionMetaDataDeploymentAspect.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -132,7 +132,8 @@
}
else if (WSHelper.isJaxwsEjbDeployment(dep))
{
- final WebServiceDeployment webServiceDeployment =
ASHelper.getRequiredAttachment(unit, WebServiceDeployment.class);
+ final WebServiceDeployment webServiceDeployment =
ASHelper.getRequiredAttachment(unit,
+ WebServiceDeployment.class);
// iterate through all EJB3 endpoints
for (final WebServiceDeclaration container :
webServiceDeployment.getServiceEndpoints())
@@ -144,7 +145,8 @@
// build EJB 3 injections meta data
final EnvironmentEntriesMetaData ejbEnvEntries =
this.getEnvironmentEntries(ejbName, unit);
final Context jndiContext = this.getJndiContext(container);
- final InjectionsMetaData injectionsMD =
this.buildInjectionsMetaData(ejbEnvEntries, resolvers, jndiContext);
+ final InjectionsMetaData injectionsMD =
this.buildInjectionsMetaData(ejbEnvEntries, resolvers,
+ jndiContext);
// associate injections meta data with EJB 3 endpoint
final Endpoint endpoint = dep.getService().getEndpointByName(ejbName);
@@ -179,7 +181,7 @@
{
try
{
- return
(Context)container.getContext().lookup(InjectionMetaDataDeploymentAspect.EJB3_JNDI_PREFIX);
+ return (Context)
container.getContext().lookup(InjectionMetaDataDeploymentAspect.EJB3_JNDI_PREFIX);
}
catch (NamingException ne)
{
@@ -264,7 +266,8 @@
targetName = resourceInjectionTargetMD.getInjectionTargetName();
// build injection meta data for injection target
- retVal.add(new InjectionMetaData(targetClass, targetName,
envEntryValueClass, envEntryName, envEntryValue != null));
+ retVal.add(new InjectionMetaData(targetClass, targetName,
envEntryValueClass, envEntryName,
+ envEntryValue != null));
}
}
}
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerEJB21.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerEJB21.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerEJB21.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -92,7 +92,7 @@
final String ejbName = endpoint.getShortName();
final Deployment dep = endpoint.getService().getDeployment();
final EJBArchiveMetaData ejbArchiveMD = WSHelper.getRequiredAttachment(dep,
EJBArchiveMetaData.class);
- final EJBMetaData ejbMD = (EJBMetaData)ejbArchiveMD.getBeanByEjbName(ejbName);
+ final EJBMetaData ejbMD = (EJBMetaData) ejbArchiveMD.getBeanByEjbName(ejbName);
if (ejbMD == null)
{
@@ -149,8 +149,10 @@
{
// prepare for invocation
final org.jboss.invocation.Invocation jbossInvocation =
this.getMBeanInvocation(wsInvocation);
- final String[] signature = { org.jboss.invocation.Invocation.class.getName() };
- final Object[] args = new Object[] { jbossInvocation };
+ final String[] signature =
+ {org.jboss.invocation.Invocation.class.getName()};
+ final Object[] args = new Object[]
+ {jbossInvocation};
// invoke method
final Object retObj = this.server.invoke(ejb21Name, "invoke", args,
signature);
@@ -192,11 +194,12 @@
// prepare invocation data
final Method method = wsInvocation.getJavaMethod();
final Object[] args = wsInvocation.getArgs();
- final org.jboss.invocation.Invocation jbossInvocation = new
org.jboss.invocation.Invocation(null, method, args, null, principal, credential);
+ final org.jboss.invocation.Invocation jbossInvocation = new
org.jboss.invocation.Invocation(null, method, args,
+ null, principal, credential);
// propagate values to JBoss invocation
jbossInvocation.setValue(InvocationKey.SOAP_MESSAGE_CONTEXT, msgContext);
- jbossInvocation.setValue(InvocationKey.SOAP_MESSAGE,
((SOAPMessageContext)msgContext).getMessage());
+ jbossInvocation.setValue(InvocationKey.SOAP_MESSAGE, ((SOAPMessageContext)
msgContext).getMessage());
jbossInvocation.setType(InvocationType.SERVICE_ENDPOINT);
jbossInvocation.setValue(HandlerCallback.class.getName(), callback,
PayloadKey.TRANSIENT);
jbossInvocation.setValue(Invocation.class.getName(), wsInvocation,
PayloadKey.TRANSIENT);
@@ -215,8 +218,8 @@
{
try
{
- final EjbModule ejbModule = (EjbModule)this.server.getAttribute(objectName,
"EjbModule");
- final StatelessSessionContainer container =
(StatelessSessionContainer)ejbModule.getContainer(ejbName);
+ final EjbModule ejbModule = (EjbModule) this.server.getAttribute(objectName,
"EjbModule");
+ final StatelessSessionContainer container = (StatelessSessionContainer)
ejbModule.getContainer(ejbName);
Interceptor currentInterceptor = container.getInterceptor();
while (currentInterceptor != null && currentInterceptor.getNext() !=
null)
@@ -228,7 +231,8 @@
final ServiceEndpointInterceptorEJB21 sepInterceptor = new
ServiceEndpointInterceptorEJB21();
currentInterceptor.setNext(sepInterceptor);
sepInterceptor.setNext(nextInterceptor);
- InvocationHandlerEJB21.LOG.debug("Injecting EJB 21 service endpoint
interceptor after: " + currentInterceptor.getClass().getName());
+ InvocationHandlerEJB21.LOG.debug("Injecting EJB 21 service endpoint
interceptor after: "
+ + currentInterceptor.getClass().getName());
return;
}
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerEJB3.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerEJB3.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerEJB3.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -69,7 +69,7 @@
*/
public void init(final Endpoint endpoint)
{
- this.containerName = (String)endpoint.getProperty(WSConstants.CONTAINER_NAME);
+ this.containerName = (String) endpoint.getProperty(WSConstants.CONTAINER_NAME);
if (this.containerName == null)
{
@@ -94,7 +94,7 @@
throw new WebServiceException("Cannot find service endpoint target:
" + this.containerName);
}
- this.serviceEndpointContainer = (ServiceEndpointContainer)context.getTarget();
+ this.serviceEndpointContainer = (ServiceEndpointContainer) context.getTarget();
}
return this.serviceEndpointContainer;
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerFactoryImpl.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerFactoryImpl.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerFactoryImpl.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -54,25 +54,25 @@
switch (type)
{
- case JAXRPC_JSE:
+ case JAXRPC_JSE :
handler = new InvocationHandlerJAXRPC();
break;
- case JAXRPC_EJB21:
+ case JAXRPC_EJB21 :
handler = new InvocationHandlerEJB21();
break;
- case JAXRPC_MDB21:
+ case JAXRPC_MDB21 :
handler = new InvocationHandlerMDB21();
break;
- case JAXWS_JSE:
+ case JAXWS_JSE :
handler = new InvocationHandlerJAXWS();
break;
- case JAXWS_EJB3:
+ case JAXWS_EJB3 :
handler = new InvocationHandlerEJB3();
break;
- case JAXWS_MDB3:
+ case JAXWS_MDB3 :
handler = new InvocationHandlerMDB3();
break;
- default:
+ default :
throw new IllegalArgumentException("Unable to resolve
spi.invocation.InvocationHandler for type " + type);
}
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerJAXRPC.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerJAXRPC.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/InvocationHandlerJAXRPC.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -62,7 +62,7 @@
if (isJaxrpcLifecycleBean)
{
final ServletEndpointContext sepContext =
invocationContext.getAttachment(ServletEndpointContext.class);
- ((ServiceLifecycle)targetBean).init(sepContext);
+ ((ServiceLifecycle) targetBean).init(sepContext);
}
}
@@ -83,7 +83,7 @@
if (isJaxrpcLifecycleBean)
{
- ((ServiceLifecycle)targetBean).destroy();
+ ((ServiceLifecycle) targetBean).destroy();
}
}
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/ServiceEndpointInterceptorEJB21.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/ServiceEndpointInterceptorEJB21.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/invocation/ServiceEndpointInterceptorEJB21.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -59,15 +59,16 @@
@Override
public Object invoke(final org.jboss.invocation.Invocation jbossInvocation) throws
Exception
{
- final SOAPMessageContext msgContext =
(SOAPMessageContext)jbossInvocation.getPayloadValue(InvocationKey.SOAP_MESSAGE_CONTEXT);
+ final SOAPMessageContext msgContext = (SOAPMessageContext) jbossInvocation
+ .getPayloadValue(InvocationKey.SOAP_MESSAGE_CONTEXT);
if (msgContext == null)
{
// not for us
return this.getNext().invoke(jbossInvocation);
}
- final Invocation wsInvocation =
(Invocation)jbossInvocation.getValue(Invocation.class.getName());
- final HandlerCallback callback =
(HandlerCallback)jbossInvocation.getValue(HandlerCallback.class.getName());
+ final Invocation wsInvocation = (Invocation)
jbossInvocation.getValue(Invocation.class.getName());
+ final HandlerCallback callback = (HandlerCallback)
jbossInvocation.getValue(HandlerCallback.class.getName());
if (callback == null || wsInvocation == null)
{
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/AbstractMetaDataBuilderEJB.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/AbstractMetaDataBuilderEJB.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/AbstractMetaDataBuilderEJB.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -100,7 +100,7 @@
if (wsDescriptionsMD != null)
{
// set wsdl location resolver
- final PublishLocationAdapter resolver = new
PublishLocationAdapterImpl(wsDescriptionsMD);
+ final PublishLocationAdapter resolver = new
PublishLocationAdapterImpl(wsDescriptionsMD);
ejbArchiveMD.setPublishLocationAdapter(resolver);
final WebserviceDescriptionMetaData wsDescriptionMD =
this.getWebserviceDescriptionMetaData(wsDescriptionsMD);
@@ -112,14 +112,15 @@
}
}
}
-
+
/**
* Returns first webservice description meta data or null if not found.
*
* @param wsDescriptionsMD webservice descriptions
* @return webservice description
*/
- private WebserviceDescriptionMetaData getWebserviceDescriptionMetaData(final
WebserviceDescriptionsMetaData wsDescriptionsMD)
+ private WebserviceDescriptionMetaData getWebserviceDescriptionMetaData(
+ final WebserviceDescriptionsMetaData wsDescriptionsMD)
{
if (wsDescriptionsMD != null)
{
@@ -133,7 +134,7 @@
return wsDescriptionsMD.iterator().next();
}
}
-
+
return null;
}
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/MetaDataBuilderEJB21.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/MetaDataBuilderEJB21.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/MetaDataBuilderEJB21.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -53,7 +53,7 @@
{
super();
}
-
+
/**
* @see AbstractMetaDataBuilderEJB#buildEnterpriseBeansMetaData(Deployment,
EJBArchiveMetaData)
*
@@ -70,7 +70,7 @@
{
this.buildEnterpriseBeanMetaData(wsEjbsMD, jbossEjbMD);
}
-
+
ejbArchiveMD.setEnterpriseBeans(wsEjbsMD);
ejbArchiveMD.setSecurityDomain(jbossMetaData.getSecurityDomain());
}
@@ -81,7 +81,8 @@
* @param wsEjbsMD jboss agnostic EJBs meta data
* @param jbossEjbMD jboss specific EJB meta data
*/
- private void buildEnterpriseBeanMetaData(final List<EJBMetaData> wsEjbsMD, final
JBossEnterpriseBeanMetaData jbossEjbMD)
+ private void buildEnterpriseBeanMetaData(final List<EJBMetaData> wsEjbsMD,
+ final JBossEnterpriseBeanMetaData jbossEjbMD)
{
final EJBMetaData wsEjbMD = this.newEjbMetaData(jbossEjbMD);
@@ -90,16 +91,16 @@
// set EJB name and class
wsEjbMD.setEjbName(jbossEjbMD.getEjbName());
wsEjbMD.setEjbClass(jbossEjbMD.getEjbClass());
-
+
if (jbossEjbMD.isSession())
{
- final JBossSessionBeanMetaData sessionEjbMD =
(JBossSessionBeanMetaData)jbossEjbMD;
+ final JBossSessionBeanMetaData sessionEjbMD = (JBossSessionBeanMetaData)
jbossEjbMD;
// set home interfaces
wsEjbMD.setServiceEndpointInterface(sessionEjbMD.getServiceEndpoint());
wsEjbMD.setHome(sessionEjbMD.getHome());
wsEjbMD.setLocalHome(sessionEjbMD.getLocalHome());
-
+
// set JNDI names
wsEjbMD.setJndiName(sessionEjbMD.determineJndiName());
wsEjbMD.setLocalJndiName(jbossEjbMD.determineLocalJndiName());
@@ -110,7 +111,7 @@
// set port component meta data
wsEjbMD.setPortComponentName(portComponentMD.getPortComponentName());
wsEjbMD.setPortComponentURI(portComponentMD.getPortComponentURI());
-
+
// set security meta data
final EJBSecurityMetaData smd = new EJBSecurityMetaData();
smd.setAuthMethod(portComponentMD.getAuthMethod());
@@ -140,12 +141,12 @@
{
final MDBMetaData mdbMD = new MDBMetaData();
- final JBossMessageDrivenBeanMetaData jbossMessageBean =
(JBossMessageDrivenBeanMetaData)jbossEjbMD;
-
((MDBMetaData)mdbMD).setDestinationJndiName(jbossMessageBean.getDestinationJndiName());
-
+ final JBossMessageDrivenBeanMetaData jbossMessageBean =
(JBossMessageDrivenBeanMetaData) jbossEjbMD;
+ ((MDBMetaData)
mdbMD).setDestinationJndiName(jbossMessageBean.getDestinationJndiName());
+
return mdbMD;
}
-
+
return null;
}
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/MetaDataBuilderEJB3.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/MetaDataBuilderEJB3.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/MetaDataBuilderEJB3.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -66,7 +66,7 @@
{
final WebServiceDeployment ejb3Deployment = WSHelper.getRequiredAttachment(dep,
WebServiceDeployment.class);
final List<EJBMetaData> wsEjbsMD = new ArrayList<EJBMetaData>();
-
+
for (final WebServiceDeclaration jbossEjbMD :
ejb3Deployment.getServiceEndpoints())
{
this.buildEnterpriseBeanMetaData(wsEjbsMD, jbossEjbMD);
@@ -74,7 +74,7 @@
ejbArchiveMD.setEnterpriseBeans(wsEjbsMD);
}
-
+
/**
* Builds JBoss agnostic EJB meta data.
*
@@ -110,7 +110,7 @@
}
}
-
+
/**
* Creates new JBoss agnostic EJB bean meta data model.
*
@@ -131,7 +131,7 @@
final String destinationName =
this.getActivationProperty("destination", mdbAnnotation.activationConfig());
mdbMD.setDestinationJndiName(destinationName);
-
+
return mdbMD;
}
}
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/MetaDataBuilderJSE.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/MetaDataBuilderJSE.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/metadata/MetaDataBuilderJSE.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -72,7 +72,7 @@
ModuleMetaData module = appmd.getModule(dep.getSimpleName());
if (module != null)
{
- WebModuleMetaData web = (WebModuleMetaData)module.getValue();
+ WebModuleMetaData web = (WebModuleMetaData) module.getValue();
contextRoot = web.getContextRoot();
}
}
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/security/JACCPermissionsDeploymentAspect.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/security/JACCPermissionsDeploymentAspect.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/security/JACCPermissionsDeploymentAspect.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -65,8 +65,10 @@
try
{
- final PolicyConfigurationFactory policyConfigurationFactory =
PolicyConfigurationFactory.getPolicyConfigurationFactory();
- final PolicyConfiguration policyConfiguration =
policyConfigurationFactory.getPolicyConfiguration(dep.getSimpleName(), false);
+ final PolicyConfigurationFactory policyConfigurationFactory =
PolicyConfigurationFactory
+ .getPolicyConfigurationFactory();
+ final PolicyConfiguration policyConfiguration =
policyConfigurationFactory.getPolicyConfiguration(dep
+ .getSimpleName(), false);
WebPermissionMapping.createPermissions(jbossWebMD, policyConfiguration);
policyConfiguration.commit();
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/security/SecurityAdapterImpl.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/security/SecurityAdapterImpl.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/security/SecurityAdapterImpl.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -98,7 +98,8 @@
*/
public void pushSubjectContext(final Subject subject, final Principal principal, final
Object credential)
{
- AccessController.doPrivileged(new PrivilegedAction<Void>() {
+ AccessController.doPrivileged(new PrivilegedAction<Void>()
+ {
public Void run()
{
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/SecurityMetaDataAccessorEJB3.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/SecurityMetaDataAccessorEJB3.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/SecurityMetaDataAccessorEJB3.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -156,10 +156,11 @@
* @param endpoint EJB webservice endpoint
* @return web context associated with EJB or null
*/
- @SuppressWarnings( { "unchecked" })
+ @SuppressWarnings(
+ {"unchecked"})
private WebContext getWebContextAnnotation(final Endpoint endpoint)
{
- return (WebContext)endpoint.getTargetBeanClass().getAnnotation(WebContext.class);
+ return (WebContext) endpoint.getTargetBeanClass().getAnnotation(WebContext.class);
}
/**
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataCreator.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataCreator.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataCreator.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -220,16 +220,20 @@
if (hasAuthMethod || hasTransportGuarantee)
{
- final List<SecurityConstraintMetaData> securityConstraints =
WebMetaDataHelper.getSecurityConstraints(jbossWebMD);
+ final List<SecurityConstraintMetaData> securityConstraints =
WebMetaDataHelper
+ .getSecurityConstraints(jbossWebMD);
// security-constraint
- final SecurityConstraintMetaData securityConstraint =
WebMetaDataHelper.newSecurityConstraint(securityConstraints);
+ final SecurityConstraintMetaData securityConstraint = WebMetaDataHelper
+ .newSecurityConstraint(securityConstraints);
// web-resource-collection
- final WebResourceCollectionsMetaData webResourceCollections =
WebMetaDataHelper.getWebResourceCollections(securityConstraint);
+ final WebResourceCollectionsMetaData webResourceCollections =
WebMetaDataHelper
+ .getWebResourceCollections(securityConstraint);
final String endpointName = ejbEndpoint.getShortName();
final String urlPattern = ejbEndpoint.getURLPattern();
- WebMetaDataHelper.newWebResourceCollection(endpointName, urlPattern,
secureWsdlAccess, webResourceCollections);
+ WebMetaDataHelper.newWebResourceCollection(endpointName, urlPattern,
secureWsdlAccess,
+ webResourceCollections);
// auth-constraint
if (hasAuthMethod)
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataHelper.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataHelper.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataHelper.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -50,14 +50,19 @@
/** Star utility string. */
private static final String STAR_STRING = "*";
+
/** GET http method utility string. */
private static final String GET_STRING = "GET";
+
/** POST http method utility string. */
private static final String POST_STRING = "POST";
+
/** GET and POST methods utility list. */
private static List<String> getAndPostMethods;
+
/** POST method utility list. */
private static List<String> onlyPostMethod;
+
/** All roles utility list. */
private static List<String> allRoles;
@@ -292,8 +297,8 @@
* @param webResourceCollectionsMD web resource collections meta data
* @return new web resource collection meta data
*/
- static WebResourceCollectionMetaData newWebResourceCollection(final String
servletName, final String urlPattern, final boolean securedWsdl,
- final WebResourceCollectionsMetaData webResourceCollectionsMD)
+ static WebResourceCollectionMetaData newWebResourceCollection(final String
servletName, final String urlPattern,
+ final boolean securedWsdl, final WebResourceCollectionsMetaData
webResourceCollectionsMD)
{
final WebResourceCollectionMetaData webResourceCollectionMD = new
WebResourceCollectionMetaData();
@@ -313,7 +318,8 @@
* @param servletsMD servlets meta data
* @return new servlet meta data
*/
- static JBossServletMetaData newServlet(final String servletName, final String
servletClass, final JBossServletsMetaData servletsMD)
+ static JBossServletMetaData newServlet(final String servletName, final String
servletClass,
+ final JBossServletsMetaData servletsMD)
{
final JBossServletMetaData servletMD = new JBossServletMetaData();
@@ -332,7 +338,8 @@
* @param servletMappingsMD servlet mapping meta data
* @return new servlet mapping meta data
*/
- static ServletMappingMetaData newServletMapping(final String servletName, final
List<String> urlPatterns, final List<ServletMappingMetaData>
servletMappingsMD)
+ static ServletMappingMetaData newServletMapping(final String servletName, final
List<String> urlPatterns,
+ final List<ServletMappingMetaData> servletMappingsMD)
{
final ServletMappingMetaData servletMappingMD = new ServletMappingMetaData();
@@ -350,7 +357,8 @@
* @param securityConstraintMD security constraint meta data
* @return new authentication constraint meta data
*/
- static AuthConstraintMetaData newAuthConstraint(final List<String> roleNames,
final SecurityConstraintMetaData securityConstraintMD)
+ static AuthConstraintMetaData newAuthConstraint(final List<String> roleNames,
+ final SecurityConstraintMetaData securityConstraintMD)
{
final AuthConstraintMetaData authConstraintMD = new AuthConstraintMetaData();
@@ -367,7 +375,8 @@
* @param securityConstraintMD security constraint meta data
* @return new user data constraint meta data
*/
- static UserDataConstraintMetaData newUserDataConstraint(final String
transportGuarantee, final SecurityConstraintMetaData securityConstraintMD)
+ static UserDataConstraintMetaData newUserDataConstraint(final String
transportGuarantee,
+ final SecurityConstraintMetaData securityConstraintMD)
{
final UserDataConstraintMetaData userDataConstraintMD = new
UserDataConstraintMetaData();
final TransportGuaranteeType transportGuaranteeValue =
TransportGuaranteeType.valueOf(transportGuarantee);
Modified:
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataModifier.java
===================================================================
---
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataModifier.java 2009-08-13
14:10:42 UTC (rev 10534)
+++
container/jboss50/branches/ropalka-jboss510/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataModifier.java 2009-08-14
05:53:55 UTC (rev 10535)
@@ -76,7 +76,8 @@
@SuppressWarnings("unchecked")
private void propagateContextProps(final Deployment dep, final JBossWebMetaData
jbossWebMD)
{
- final Map<String, String> stackContextParams = (Map<String,
String>)dep.getProperty(WSConstants.STACK_CONTEXT_PARAMS);
+ final Map<String, String> stackContextParams = (Map<String, String>)
dep
+ .getProperty(WSConstants.STACK_CONTEXT_PARAMS);
if (stackContextParams != null)
{
@@ -128,7 +129,7 @@
*/
private String getTransportClassName(final Deployment dep)
{
- final String transportClassName =
(String)dep.getProperty(WSConstants.STACK_TRANSPORT_CLASS);
+ final String transportClassName = (String)
dep.getProperty(WSConstants.STACK_TRANSPORT_CLASS);
if (transportClassName == null)
{