You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by tv...@apache.org on 2015/11/23 23:08:03 UTC

[51/51] [partial] tomee git commit: removing ^M (windows eol)

removing ^M (windows eol)


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/6e2a4f7c
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/6e2a4f7c
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/6e2a4f7c

Branch: refs/heads/master
Commit: 6e2a4f7c4191149d1b9e90ef39a7ac25052823fb
Parents: eb7a8fc
Author: Thiago Veronezi <th...@veronezi.org>
Authored: Mon Nov 23 14:38:43 2015 -0500
Committer: Thiago Veronezi <th...@veronezi.org>
Committed: Mon Nov 23 14:38:43 2015 -0500

----------------------------------------------------------------------
 .../openejb/testng/PropertiesBuilder.java       |    94 +-
 .../apache/openejb/util/CollectionsUtil.java    |    60 +-
 .../org/apache/openejb/util/LogStreamAsync.java |   446 +-
 .../org/apache/openejb/util/OpenEjbVersion.java |   178 +-
 .../org/apache/openejb/util/OutputScanner.java  |   206 +-
 .../main/java/org/apache/openejb/util/Pipe.java |   150 +-
 .../org/apache/openejb/util/Slf4jLogStream.java |   218 +-
 .../openejb/util/Slf4jLogStreamFactory.java     |    80 +-
 .../src/main/resources/META-INF/ejb-jar.xml     |    40 +-
 .../src/main/resources/META-INF/openejb-jar.xml |    52 +-
 .../org.apache.openejb.cli/validate.examples    |   102 +-
 .../openejb/config/rules/Messages_hi.properties |  1712 +-
 .../PersistenceUnitLinkResolverTest.java        |    88 +-
 .../openejb/activemq/KahaDBSupportTest.java     |    88 +-
 .../openejb/config/AnnotationDeployerTest.java  |  1100 +-
 .../config/rules/CheckAnnotationTest.java       |   174 +-
 .../config/rules/CheckCdiEnabledTest.java       |    86 +-
 .../config/rules/CheckDependsOnTest.java        |   152 +-
 .../rules/CheckIncorrectPropertyNameTest.java   |    98 +-
 .../config/rules/CheckMissingClassTest.java     |   368 +-
 .../config/rules/CheckNoBusinessMethodTest.java |   396 +-
 .../config/rules/CheckNoCreateMethodsTest.java  |   560 +-
 .../rules/CheckPersistenceContextUsageTest.java |   198 +-
 .../rules/CheckPersistenceUnitUsageTest.java    |   192 +-
 .../config/rules/CheckWrongClassTypeTest.java   |    82 +-
 .../openejb/config/rules/InvokeMethod.java      |   402 +-
 .../org/apache/openejb/config/rules/Key.java    |    64 +-
 .../org/apache/openejb/config/rules/Keys.java   |    62 +-
 .../rules/MistakenResourceRefUsageTest.java     |   110 +-
 .../openejb/config/rules/ValidationRunner.java  |   176 +-
 .../PermitAllWithDenyAllOnClassTest.java        |   176 +-
 .../org/apache/openejb/jpa/JTAPuAndBmtTest.java |   308 +-
 .../apache/openejb/junit/PreDestroyTest.java    |   164 +-
 .../openejb/resource/URLAsResourceTest.java     |   142 +-
 .../resource/jdbc/DynamicDataSourceTest.java    |   658 +-
 .../jdbc/driver/AlternateDriverJarTest.java     |   264 +-
 .../apache/openejb/test/annotated/Green.java    |    66 +-
 .../org/apache/openejb/test/annotated/Red.java  |    64 +-
 .../apache/openejb/test/annotated/Yellow.java   |    80 +-
 .../openejb/util/BeanTypeComparisonTest.java    |    70 +-
 .../openejb/util/CollectionsUtilTest.java       |    68 +-
 .../resources/META-INF/jpa-test-mappings.xml    |    42 +-
 .../resources/META-INF/org.acme/service-jar.xml |    42 +-
 .../META-INF/org.router/service-jar.xml         |    56 +-
 .../cmp/itest-2.2/itest-2.2-openejb-jar.xml     |    40 +-
 .../itest-2.2/itest-2.2-pojo-openejb-jar.xml    |   528 +-
 .../itest-2.2/itest-2.2-sun-cmp-mappings.xml    |    40 +-
 .../cmp/itest-2.2/itest-2.2-sun-ejb-jar.xml     |    38 +-
 .../apache/openejb/jee/jpa/CollectionTable.java |   386 +-
 .../openejb/jee/jpa/ElementCollection.java      |  1154 +-
 .../apache/openejb/jee/jpa/LockModeType.java    |   130 +-
 .../org/apache/openejb/jee/jpa/MapKeyClass.java |   150 +-
 .../apache/openejb/jee/jpa/MapKeyColumn.java    |   582 +-
 .../openejb/jee/jpa/MapKeyJoinColumn.java       |   486 +-
 .../org/apache/openejb/jee/jpa/OrderColumn.java |   342 +-
 .../common/CompatibilityDescriptionGroup.java   |   260 +-
 .../openejb/jee/was/v6/common/Description.java  |   586 +-
 .../jee/was/v6/common/DescriptionGroup.java     |   680 +-
 .../openejb/jee/was/v6/common/DisplayName.java  |   600 +-
 .../openejb/jee/was/v6/common/EJBLocalRef.java  |   198 +-
 .../openejb/jee/was/v6/common/EjbRef.java       |   816 +-
 .../openejb/jee/was/v6/common/EjbRefEnum.java   |   130 +-
 .../openejb/jee/was/v6/common/EnvEntry.java     |   728 +-
 .../openejb/jee/was/v6/common/EnvEntryEnum.java |   158 +-
 .../openejb/jee/was/v6/common/IconType.java     |   618 +-
 .../openejb/jee/was/v6/common/Identity.java     |   638 +-
 .../jee/was/v6/common/JNDIEnvRefsGroup.java     |   558 +-
 .../openejb/jee/was/v6/common/Listener.java     |   222 +-
 .../jee/was/v6/common/MessageDestination.java   |   184 +-
 .../was/v6/common/MessageDestinationRef.java    |   786 +-
 .../v6/common/MessageDestinationUsageEnum.java  |   136 +-
 .../jee/was/v6/common/ObjectFactory.java        |   950 +-
 .../openejb/jee/was/v6/common/ParamValue.java   |   678 +-
 .../apache/openejb/jee/was/v6/common/QName.java |   642 +-
 .../openejb/jee/was/v6/common/ResAuthEnum.java  |   132 +-
 .../jee/was/v6/common/ResSharingScopeEnum.java  |   130 +-
 .../jee/was/v6/common/ResourceEnvRef.java       |   792 +-
 .../openejb/jee/was/v6/common/ResourceRef.java  |   834 +-
 .../was/v6/common/RunAsSpecifiedIdentity.java   |   172 +-
 .../jee/was/v6/common/SecurityIdentity.java     |   598 +-
 .../openejb/jee/was/v6/common/SecurityRole.java |   678 +-
 .../jee/was/v6/common/SecurityRoleRef.java      |   684 +-
 .../jee/was/v6/common/UseCallerIdentity.java    |    98 +-
 .../openejb/jee/was/v6/common/package-info.java |    36 +-
 .../jee/was/v6/commonbnd/AbstractAuthData.java  |   488 +-
 .../jee/was/v6/commonbnd/BasicAuthData.java     |   184 +-
 .../jee/was/v6/commonbnd/EjbRefBinding.java     |   630 +-
 .../commonbnd/MessageDestinationRefBinding.java |   634 +-
 .../jee/was/v6/commonbnd/ObjectFactory.java     |   372 +-
 .../openejb/jee/was/v6/commonbnd/Property.java  |   602 +-
 .../was/v6/commonbnd/ResourceEnvRefBinding.java |   634 +-
 .../was/v6/commonbnd/ResourceRefBinding.java    |   804 +-
 .../jee/was/v6/commonbnd/package-info.java      |    36 +-
 .../openejb/jee/was/v6/ecore/EAnnotation.java   |   378 +-
 .../openejb/jee/was/v6/ecore/EAttribute.java    |   134 +-
 .../apache/openejb/jee/was/v6/ecore/EClass.java |   422 +-
 .../openejb/jee/was/v6/ecore/EClassifier.java   |   134 +-
 .../openejb/jee/was/v6/ecore/EDataType.java     |   134 +-
 .../apache/openejb/jee/was/v6/ecore/EEnum.java  |   158 +-
 .../openejb/jee/was/v6/ecore/EEnumLiteral.java  |   134 +-
 .../openejb/jee/was/v6/ecore/EFactory.java      |    88 +-
 .../openejb/jee/was/v6/ecore/EModelElement.java |   158 +-
 .../openejb/jee/was/v6/ecore/ENamedElement.java |   134 +-
 .../openejb/jee/was/v6/ecore/EObject.java       |   476 +-
 .../openejb/jee/was/v6/ecore/EOperation.java    |   276 +-
 .../openejb/jee/was/v6/ecore/EPackage.java      |   310 +-
 .../openejb/jee/was/v6/ecore/EParameter.java    |    88 +-
 .../openejb/jee/was/v6/ecore/EReference.java    |   290 +-
 .../was/v6/ecore/EStringToStringMapEntry.java   |   560 +-
 .../jee/was/v6/ecore/EStructuralFeature.java    |   344 +-
 .../openejb/jee/was/v6/ecore/ETypedElement.java |   374 +-
 .../openejb/jee/was/v6/ecore/ObjectFactory.java |   774 +-
 .../openejb/jee/was/v6/ecore/package-info.java  |    36 +-
 .../jee/was/v6/ejb/AcknowledgeModeEnum.java     |   130 +-
 .../jee/was/v6/ejb/ActivationConfig.java        |   636 +-
 .../was/v6/ejb/ActivationConfigProperty.java    |   574 +-
 .../jee/was/v6/ejb/AssemblyDescriptor.java      |   828 +-
 .../openejb/jee/was/v6/ejb/CMPAttribute.java    |   216 +-
 .../apache/openejb/jee/was/v6/ejb/CMRField.java |   230 +-
 .../jee/was/v6/ejb/ContainerManagedEntity.java  |   636 +-
 .../openejb/jee/was/v6/ejb/DestinationEnum.java |   130 +-
 .../apache/openejb/jee/was/v6/ejb/EJBJar.java   |   402 +-
 .../jee/was/v6/ejb/EJBMethodCategory.java       |   484 +-
 .../openejb/jee/was/v6/ejb/EJBRelation.java     |   728 +-
 .../jee/was/v6/ejb/EJBRelationshipRole.java     |   946 +-
 .../openejb/jee/was/v6/ejb/EnterpriseBean.java  |   852 +-
 .../apache/openejb/jee/was/v6/ejb/Entity.java   |   328 +-
 .../openejb/jee/was/v6/ejb/ExcludeList.java     |   668 +-
 .../openejb/jee/was/v6/ejb/MessageDriven.java   |   666 +-
 .../was/v6/ejb/MessageDrivenDestination.java    |   574 +-
 .../openejb/jee/was/v6/ejb/MethodElement.java   |  1218 +-
 .../jee/was/v6/ejb/MethodElementEnum.java       |   146 +-
 .../jee/was/v6/ejb/MethodPermission.java        |   822 +-
 .../jee/was/v6/ejb/MethodTransaction.java       |   708 +-
 .../jee/was/v6/ejb/MultiplicityEnum.java        |   130 +-
 .../openejb/jee/was/v6/ejb/ObjectFactory.java   |   968 +-
 .../apache/openejb/jee/was/v6/ejb/Query.java    |   760 +-
 .../openejb/jee/was/v6/ejb/QueryMethod.java     |    88 +-
 .../openejb/jee/was/v6/ejb/Relationships.java   |   666 +-
 .../jee/was/v6/ejb/ReturnTypeMappingEnum.java   |   130 +-
 .../openejb/jee/was/v6/ejb/RoleSource.java      |   710 +-
 .../apache/openejb/jee/was/v6/ejb/Session.java  |   352 +-
 .../openejb/jee/was/v6/ejb/SessionEnum.java     |   130 +-
 .../was/v6/ejb/SubscriptionDurabilityEnum.java  |   130 +-
 .../was/v6/ejb/TransactionAttributeEnum.java    |   146 +-
 .../openejb/jee/was/v6/ejb/TransactionEnum.java |   130 +-
 .../openejb/jee/was/v6/ejb/package-info.java    |    36 +-
 .../v6/ejbbnd/CMPConnectionFactoryBinding.java  |   672 +-
 .../jee/was/v6/ejbbnd/CMPResAuthEnum.java       |   130 +-
 .../jee/was/v6/ejbbnd/EJBJarBinding.java        |   830 +-
 .../was/v6/ejbbnd/EnterpriseBeanBinding.java    |  1142 +-
 .../was/v6/ejbbnd/MessageDrivenBeanBinding.java |   266 +-
 .../jee/was/v6/ejbbnd/ObjectFactory.java        |   256 +-
 .../openejb/jee/was/v6/ejbbnd/package-info.java |    36 +-
 .../openejb/jee/was/v6/java/ArrayType.java      |   276 +-
 .../apache/openejb/jee/was/v6/java/Block.java   |   626 +-
 .../apache/openejb/jee/was/v6/java/Comment.java |    88 +-
 .../apache/openejb/jee/was/v6/java/Field.java   |   376 +-
 .../openejb/jee/was/v6/java/Initializer.java    |   628 +-
 .../openejb/jee/was/v6/java/JavaClass.java      |  1028 +-
 .../openejb/jee/was/v6/java/JavaDataType.java   |    92 +-
 .../openejb/jee/was/v6/java/JavaEvent.java      |    92 +-
 .../openejb/jee/was/v6/java/JavaPackage.java    |    92 +-
 .../openejb/jee/was/v6/java/JavaParameter.java  |   180 +-
 .../jee/was/v6/java/JavaParameterEnum.java      |   108 +-
 .../jee/was/v6/java/JavaVisibilityEnum.java     |   108 +-
 .../apache/openejb/jee/was/v6/java/Method.java  |   680 +-
 .../openejb/jee/was/v6/java/ObjectFactory.java  |   528 +-
 .../openejb/jee/was/v6/java/Statement.java      |    88 +-
 .../openejb/jee/was/v6/java/TypeKind.java       |   108 +-
 .../openejb/jee/was/v6/java/package-info.java   |    36 +-
 .../v6/webservice/clientbnd/ObjectFactory.java  |   134 +-
 .../webservice/clientbnd/ServiceRefBinding.java |   634 +-
 .../v6/webservice/clientbnd/package-info.java   |    36 +-
 .../was/v6/wsclient/ComponentScopedRefs.java    |   592 +-
 .../openejb/jee/was/v6/wsclient/Handler.java    |   532 +-
 .../jee/was/v6/wsclient/ObjectFactory.java      |   290 +-
 .../jee/was/v6/wsclient/PortComponentRef.java   |   646 +-
 .../openejb/jee/was/v6/wsclient/ServiceRef.java |   552 +-
 .../jee/was/v6/wsclient/WebServicesClient.java  |   614 +-
 .../jee/was/v6/wsclient/package-info.java       |    36 +-
 .../org/apache/openejb/jee/was/v6/xmi/Add.java  |   202 +-
 .../org/apache/openejb/jee/was/v6/xmi/Any.java  |   210 +-
 .../apache/openejb/jee/was/v6/xmi/Delete.java   |    88 +-
 .../openejb/jee/was/v6/xmi/Difference.java      |   868 +-
 .../openejb/jee/was/v6/xmi/Documentation.java   |  1104 +-
 .../openejb/jee/was/v6/xmi/Extension.java       |   508 +-
 .../apache/openejb/jee/was/v6/xmi/Import.java   |    88 +-
 .../openejb/jee/was/v6/xmi/MetaModel.java       |    88 +-
 .../apache/openejb/jee/was/v6/xmi/Model.java    |    88 +-
 .../openejb/jee/was/v6/xmi/ObjectFactory.java   |   518 +-
 .../jee/was/v6/xmi/PackageReference.java        |   528 +-
 .../apache/openejb/jee/was/v6/xmi/Replace.java  |   202 +-
 .../org/apache/openejb/jee/was/v6/xmi/XMI.java  |   424 +-
 .../openejb/jee/was/v6/xmi/package-info.java    |    36 +-
 .../resources/application-client-example.xml    |    40 +-
 .../test/resources/connector-1.5-example.xml    |    40 +-
 .../src/test/resources/daytrader-corrected.xml  |    40 +-
 .../src/test/resources/daytrader-original.xml   |    40 +-
 .../src/test/resources/ejb-jar-cmp-example1.xml |    40 +-
 .../src/test/resources/ejb-jar-example2.xml     |    40 +-
 .../resources/geronimo-openejb-converted.xml    |    40 +-
 .../src/test/resources/openejb-jar.xml          |    40 +-
 .../src/test/resources/tld-example.xml          |    40 +-
 .../src/test/resources/web-example.xml          |    40 +-
 .../src/test/resources/wls-ejb-jar.xml          |    40 +-
 .../src/test/resources/wls-v81-ejb-jar.xml      |    40 +-
 .../eclipselink/OpenEJBServerPlatform.java      |   112 +-
 doap_tomee.rdf                                  |    86 +-
 .../org/superbiz/accesstimeout/BusyBee.java     |   132 +-
 .../accesstimeout/api/AwaitBriefly.java         |    64 +-
 .../accesstimeout/api/AwaitForever.java         |    64 +-
 .../superbiz/accesstimeout/api/AwaitNever.java  |    62 +-
 .../org/superbiz/accesstimeout/BusyBeeTest.java |   164 +-
 .../org/superbiz/accesstimeout/BusyBee.java     |   128 +-
 .../org/superbiz/accesstimeout/BusyBeeTest.java |   164 +-
 .../src/main/java/org/superbiz/altdd/Movie.java |   122 +-
 .../main/java/org/superbiz/altdd/Movies.java    |   100 +-
 .../java/org/superbiz/altdd/MoviesTest.java     |   198 +-
 .../java/org/superbiz/applet/Calculator.java    |    50 +-
 .../org/superbiz/applet/CalculatorApplet.java   |   200 +-
 .../org/superbiz/applet/CalculatorImpl.java     |    56 +-
 .../test/java/org/superbiz/JNDILookupTest.java  |    92 +-
 .../main/java/org/superbiz/composed/Movie.java  |   122 +-
 .../main/java/org/superbiz/composed/Movies.java |    62 +-
 .../java/org/superbiz/composed/MoviesImpl.java  |   100 +-
 .../java/org/superbiz/composed/MoviesTest.java  |   200 +-
 .../java/org/superbiz/example/jaxws/Agenda.java |    46 +-
 .../org/superbiz/example/jaxws/LazyAgenda.java  |    52 +-
 .../superbiz/example/jaxws/MeetingPlanner.java  |    50 +-
 .../example/jaxws/MeetingPlannerImpl.java       |    64 +-
 .../example/jaxws/MeetingPlannerTest.java       |   130 +-
 .../appexception/BusinessException.java         |    54 +-
 .../appexception/ThrowBusinessException.java    |    66 +-
 .../ThrowBusinessExceptionImpl.java             |    60 +-
 .../appexception/ValueRequiredException.java    |    48 +-
 .../ThrowBusinessExceptionImplTest.java         |   122 +-
 examples/arquillian-jpa/README.md               |   338 +-
 .../superbiz/arquillian/persistence/User.java   |    86 +-
 .../test/persistence/PersistenceTest.java       |   126 +-
 examples/async-methods/README.md                |   308 +-
 .../java/org/superbiz/async/JobProcessor.java   |   110 +-
 .../org/superbiz/async/JobProcessorTest.java    |   132 +-
 .../designbycontract/OlympicGamesManager.java   |    64 +-
 .../designbycontract/PoleVaultingManager.java   |    52 +-
 .../PoleVaultingManagerBean.java                |    56 +-
 .../org/superbiz/webapp1/ejb/BusinessBean.java  |    58 +-
 .../superbiz/webapp1/messages/ErrorList.java    |    74 +-
 .../webapp1/messages/ErrorResponse.java         |   154 +-
 .../ConstraintViolationExceptionMapper.java     |   122 +-
 .../webapp1/service/WebApp1Service.java         |    78 +-
 .../superbiz/webapp2/messages/ErrorList.java    |    74 +-
 .../webapp2/messages/ErrorResponse.java         |   154 +-
 .../ConstraintViolationExceptionMapper.java     |   122 +-
 .../webapp2/service/WebApp2Service.java         |    78 +-
 .../runner/src/test/java/RedeploymentTest.java  |   174 +-
 .../cdi-alternative-and-stereotypes/README.md   |   252 +-
 .../org/superbiz/cdi/stereotype/Journey.java    |    76 +-
 .../cdi/stereotype/LowCostCompanie.java         |    52 +-
 .../org/superbiz/cdi/stereotype/Society.java    |    46 +-
 .../org/superbiz/cdi/stereotype/Vehicle.java    |    46 +-
 .../org/superbiz/cdi/stereotype/AirOpenEJB.java |    78 +-
 .../java/org/superbiz/cdi/stereotype/Mock.java  |    76 +-
 .../superbiz/cdi/stereotype/StereotypeTest.java |   112 +-
 .../org/superbiz/cdi/stereotype/SuperCar.java   |    54 +-
 examples/cdi-application-scope/README.md        |   266 +-
 .../org/superbiz/cdi/applicationscope/Soup.java |    78 +-
 .../superbiz/cdi/applicationscope/Waiter.java   |    76 +-
 .../cdi/applicationscope/RestaurantTest.java    |   110 +-
 .../java/org/superbiz/cdi/basic/Course.java     |   108 +-
 .../java/org/superbiz/cdi/basic/Faculty.java    |    90 +-
 .../java/org/superbiz/cdi/basic/CourseTest.java |   142 +-
 .../superbiz/cdi/ejbcontext/LogginServlet.java  |    78 +-
 .../superbiz/cdi/ejbcontext/PrinciaplEjb.java   |    64 +-
 .../java/org/superbiz/cdi/events/Notifier.java  |    70 +-
 .../java/org/superbiz/cdi/events/EventTest.java |   146 +-
 .../java/org/superbiz/cdi/events/Observer.java  |    86 +-
 .../org/superbiz/cdi/AccessDeniedException.java |    64 +-
 .../BookForAShowOldStyleInterceptorBinding.java |   106 +-
 .../BookForAShowOneInterceptorApplied.java      |    86 +-
 .../BookForAShowTwoInterceptorsApplied.java     |    90 +-
 ...owInterceptorBindingInheritanceExplored.java |    86 +-
 .../cdi/bookshow/interceptorbinding/Log.java    |    64 +-
 .../interceptorbinding/TimeRestrictAndLog.java  |    78 +-
 .../interceptorbinding/TimeRestricted.java      |    64 +-
 .../BookForAShowLoggingInterceptor.java         |   146 +-
 .../TimeBasedRestrictingInterceptor.java        |   102 +-
 .../tracker/InterceptionOrderTracker.java       |    98 +-
 ...kForAShowOldStyleInterceptorBindingTest.java |   116 +-
 .../BookForAShowOneInterceptorAppliedTest.java  |   116 +-
 .../BookForAShowTwoInterceptorsAppiledTest.java |   140 +-
 ...okShowInterceptorBindingInheritanceTest.java |   116 +-
 .../cdi/produces/disposes/ConsoleHandler.java   |    74 +-
 .../cdi/produces/disposes/DatabaseHandler.java  |    76 +-
 .../cdi/produces/disposes/FileHandler.java      |    76 +-
 .../cdi/produces/disposes/LogFactory.java       |   108 +-
 .../cdi/produces/disposes/LogHandler.java       |    50 +-
 .../superbiz/cdi/produces/disposes/Logger.java  |    50 +-
 .../cdi/produces/disposes/LoggerImpl.java       |    74 +-
 .../cdi/produces/disposes/LoggerTest.java       |   134 +-
 examples/cdi-produces-field/README.md           |   540 +-
 .../cdi/produces/field/ConsoleHandler.java      |    74 +-
 .../cdi/produces/field/DatabaseHandler.java     |    76 +-
 .../cdi/produces/field/FileHandler.java         |    76 +-
 .../superbiz/cdi/produces/field/LogFactory.java |    88 +-
 .../superbiz/cdi/produces/field/LogHandler.java |    50 +-
 .../org/superbiz/cdi/produces/field/Logger.java |    50 +-
 .../superbiz/cdi/produces/field/LoggerImpl.java |    74 +-
 .../src/main/resources/META-INF/beans.xml       |    48 +-
 .../superbiz/cdi/produces/field/LoggerTest.java |   134 +-
 .../src/main/java/org/superbiz/AuthBean.java    |    96 +-
 .../main/java/org/superbiz/SecuredServlet.java  |    64 +-
 .../test/java/org/superbiz/AuthBeanTest.java    |   204 +-
 examples/cdi-request-scope/README.md            |   300 +-
 .../org/superbiz/cdi/requestscope/Chef.java     |    62 +-
 .../org/superbiz/cdi/requestscope/Soup.java     |    78 +-
 .../org/superbiz/cdi/requestscope/Waiter.java   |    74 +-
 .../cdi/requestscope/RestaurantTest.java        |   110 +-
 .../org/superbiz/cdi/session/AnswerBean.java    |    80 +-
 .../org/superbiz/cdi/session/InputServlet.java  |    88 +-
 .../org/superbiz/cdi/session/OutputServlet.java |    84 +-
 .../org/superbiz/cdi/session/SessionBean.java   |    68 +-
 .../test/java/org/superbiz/jaxws/Rot13Test.java |   102 +-
 .../java/org/superbiz/client/SenderTest.java    |   110 +-
 .../main/java/org/superbiz/FriendlyPerson.java  |   252 +-
 .../org/superbiz/FriendlyPersonEjbHome.java     |    58 +-
 .../superbiz/FriendlyPersonEjbLocalHome.java    |    58 +-
 .../superbiz/FriendlyPersonEjbLocalObject.java  |    70 +-
 .../org/superbiz/FriendlyPersonEjbObject.java   |    78 +-
 .../java/org/superbiz/FriendlyPersonLocal.java  |    78 +-
 .../java/org/superbiz/FriendlyPersonRemote.java |    76 +-
 .../java/org/superbiz/FriendlyPersonTest.java   |   360 +-
 .../org/superbiz/cucumber/CucumberTest.java     |    50 +-
 .../org/superbiz/cucumber/HelloStepDef.java     |    84 +-
 .../java/org/superbiz/enventries/Pickup.java    |    70 +-
 .../org/superbiz/enventries/PickupEditor.java   |    90 +-
 .../org/superbiz/enventries/Stratocaster.java   |   152 +-
 .../java/org/superbiz/enventries/Style.java     |    60 +-
 .../superbiz/enventries/StratocasterTest.java   |   126 +-
 .../main/java/org/superbiz/dsdef/Persister.java |    84 +-
 .../dsdef/DataSourceDefinitionTest.java         |   220 +-
 examples/datasource-versioning/README.md        |   772 +-
 .../org/superbiz/AlternateDataSourceTest.java   |   202 +-
 .../src/test/resources/META-INF/resources.xml   |    70 +-
 .../cdi/decorators/AccessDeniedException.java   |    60 +-
 .../org/superbiz/cdi/decorators/Calculator.java |    66 +-
 .../superbiz/cdi/decorators/CalculatorBean.java |    84 +-
 .../cdi/decorators/CalculatorLogging.java       |   120 +-
 .../cdi/decorators/CalculatorSecurity.java      |   130 +-
 .../superbiz/cdi/decorators/CalculatorTest.java |   232 +-
 .../org/superbiz/deltaspike/config/Counter.java |    74 +-
 .../deltaspike/config/MyConfigSource.java       |   158 +-
 .../config/MyConfigSourceProvider.java          |    60 +-
 .../superbiz/deltaspike/config/ConfigTest.java  |   118 +-
 .../exceptionhandling/OSExceptionHandler.java   |    68 +-
 .../exceptionhandling/OSRuntimeException.java   |    42 +-
 .../exceptionhandling/OSValidator.java          |    70 +-
 .../ExceptionHandlingDemoTest.java              |   116 +-
 .../superbiz/deltaspike/CustomProjectStage.java |    60 +-
 .../superbiz/deltaspike/DebugPhaseListener.java |    98 +-
 .../deltaspike/WebappMessageBundle.java         |    76 +-
 .../deltaspike/domain/AbstractDomainObject.java |    86 +-
 .../org/superbiz/deltaspike/domain/Comment.java |   106 +-
 .../superbiz/deltaspike/domain/Feedback.java    |   138 +-
 .../org/superbiz/deltaspike/domain/User.java    |   206 +-
 .../domain/validation/DifferentName.java        |    76 +-
 .../validation/DifferentNameValidator.java      |    66 +-
 .../deltaspike/domain/validation/Full.java      |    52 +-
 .../deltaspike/domain/validation/Name.java      |    94 +-
 .../deltaspike/domain/validation/Partial.java   |    42 +-
 .../domain/validation/UniqueUserName.java       |    42 +-
 .../deltaspike/domain/validation/UserName.java  |    88 +-
 .../startup/ModuleStartupObserver.java          |    76 +-
 .../superbiz/deltaspike/view/FeedbackPage.java  |   148 +-
 .../org/superbiz/deltaspike/view/InfoPage.java  |    72 +-
 .../org/superbiz/deltaspike/view/MenuBean.java  |   122 +-
 .../deltaspike/view/RegistrationPage.java       |   184 +-
 .../superbiz/deltaspike/view/UserHolder.java    |   108 +-
 .../superbiz/deltaspike/view/config/Pages.java  |   110 +-
 .../view/security/LoginAccessDecisionVoter.java |    96 +-
 .../superbiz/deltaspike/view/util/InfoBean.java |   270 +-
 .../deltaspike/test/MockedPageBeanTest.java     |   198 +-
 .../superbiz/deltaspike/test/PageBeanTest.java  |   254 +-
 .../superbiz/deltaspike/i18n/MessageHelper.java |    54 +-
 .../deltaspike/i18n/MessageHelperTest.java      |   112 +-
 .../main/java/org/superbiz/dynamic/User.java    |   122 +-
 .../BoostrapUtility.java                        |   102 +-
 .../DeterminedRouter.java                       |   214 +-
 .../dynamicdatasourcerouting/Person.java        |   106 +-
 .../RoutedPersister.java                        |    74 +-
 .../org/superbiz/dynamic/SocialInterceptor.java |    80 +-
 .../dynamic/mbean/DynamicMBeanHandler.java      |   520 +-
 .../org/superbiz/dynamic/mbean/ObjectName.java  |    78 +-
 .../dynamic/mbean/DynamicMBeanClient.java       |    72 +-
 .../dynamic/mbean/DynamicMBeanClientTest.java   |   216 +-
 .../dynamic/mbean/DynamicRemoteMBeanClient.java |    80 +-
 .../superbiz/dynamic/mbean/simple/Simple.java   |    82 +-
 .../dynamic/mbean/simple/SimpleMBean.java       |    54 +-
 examples/ear-testing/README.md                  |   424 +-
 .../main/java/org/superbiz/logic/Movies.java    |    66 +-
 .../java/org/superbiz/logic/MoviesImpl.java     |   100 +-
 .../java/org/superbiz/logic/MoviesTest.java     |   128 +-
 .../src/main/java/org/superbiz/model/Movie.java |   124 +-
 .../java/org/superbiz/servlet/AnnotatedEJB.java |   104 +-
 .../org/superbiz/servlet/AnnotatedEJBLocal.java |    64 +-
 .../superbiz/servlet/AnnotatedEJBRemote.java    |    54 +-
 .../org/superbiz/servlet/AnnotatedServlet.java  |   174 +-
 .../org/superbiz/servlet/ClientHandler.java     |    72 +-
 .../java/org/superbiz/servlet/HelloEjb.java     |    50 +-
 .../org/superbiz/servlet/HelloEjbService.java   |    80 +-
 .../java/org/superbiz/servlet/HelloPojo.java    |    50 +-
 .../org/superbiz/servlet/HelloPojoService.java  |    76 +-
 .../java/org/superbiz/servlet/JndiServlet.java  |   168 +-
 .../main/java/org/superbiz/servlet/JpaBean.java |   100 +-
 .../java/org/superbiz/servlet/JpaServlet.java   |   144 +-
 .../java/org/superbiz/servlet/ResourceBean.java |    68 +-
 .../java/org/superbiz/servlet/RunAsServlet.java |   184 +-
 .../java/org/superbiz/servlet/SecureEJB.java    |   122 +-
 .../org/superbiz/servlet/SecureEJBLocal.java    |    72 +-
 .../org/superbiz/servlet/SecureServlet.java     |   184 +-
 .../org/superbiz/servlet/ServerHandler.java     |    74 +-
 .../org/superbiz/servlet/WebserviceClient.java  |   158 +-
 .../org/superbiz/servlet/WebserviceServlet.java |   138 +-
 .../main/java/org/superbiz/ws/Calculator.java   |    74 +-
 .../main/java/org/superbiz/hello/HelloBean.java |    66 +-
 .../java/org/superbiz/hello/HelloEjbLocal.java  |    56 +-
 .../org/superbiz/hello/HelloEjbLocalHome.java   |    56 +-
 .../test/java/org/superbiz/hello/HelloTest.java |    84 +-
 .../org/superbiz/injection/jms/Messages.java    |   212 +-
 .../injection/jms/MessagingBeanTest.java        |    84 +-
 .../main/java/org/superbiz/injection/Movie.java |   122 +-
 .../java/org/superbiz/injection/Movies.java     |   212 +-
 .../java/org/superbiz/injection/MoviesTest.java |   108 +-
 .../java/org/superbiz/injection/DataReader.java |   118 +-
 .../java/org/superbiz/injection/DataStore.java  |    78 +-
 .../org/superbiz/injection/DataStoreLocal.java  |    68 +-
 .../org/superbiz/injection/DataStoreRemote.java |    66 +-
 .../superbiz/injection/EjbDependencyTest.java   |    84 +-
 .../java/org/superbiz/injection/jpa/Movie.java  |   152 +-
 .../java/org/superbiz/injection/jpa/Movies.java |    96 +-
 .../org/superbiz/injection/jpa/MoviesTest.java  |   114 +-
 .../injection/enventry/Configuration.java       |   126 +-
 .../org/superbiz/injection/enventry/Widget.java |    54 +-
 .../injection/enventry/ConfigurationTest.java   |    90 +-
 .../interceptors/ClassLevelInterceptorOne.java  |    64 +-
 .../ClassLevelInterceptorSuperClassOne.java     |    64 +-
 .../ClassLevelInterceptorSuperClassTwo.java     |    64 +-
 .../interceptors/ClassLevelInterceptorTwo.java  |    64 +-
 .../interceptors/DefaultInterceptorOne.java     |    74 +-
 .../interceptors/DefaultInterceptorTwo.java     |    64 +-
 .../superbiz/interceptors/FullyIntercepted.java |    60 +-
 .../interceptors/FullyInterceptedBean.java      |   106 +-
 .../FullyInterceptedSuperClass.java             |    54 +-
 .../interceptors/MethodLevelInterceptorOne.java |    62 +-
 .../MethodLevelInterceptorOnlyIntf.java         |    50 +-
 .../MethodLevelInterceptorOnlyParent.java       |    48 +-
 .../MethodLevelInterceptorOnlySLSBean.java      |    70 +-
 .../interceptors/MethodLevelInterceptorTwo.java |    62 +-
 .../SecondStatelessInterceptedBean.java         |    90 +-
 .../SecondStatelessInterceptedLocal.java        |    54 +-
 .../SuperClassOfClassLevelInterceptor.java      |    74 +-
 .../org/superbiz/interceptors/ThirdSLSBean.java |   110 +-
 .../interceptors/ThirdSLSBeanLocal.java         |    58 +-
 .../java/org/superbiz/interceptors/Utils.java   |    76 +-
 .../interceptors/FullyInterceptedTest.java      |   188 +-
 .../MethodLevelInterceptorOnlyTest.java         |   114 +-
 .../SecondStatelessInterceptedTest.java         |   126 +-
 .../superbiz/interceptors/ThirdSLSBeanTest.java |   156 +-
 examples/javamail/README.md                     |   368 +-
 .../java/org/superbiz/rest/EmailService.java    |   144 +-
 .../org/superbiz/rest/EmailServiceTest.java     |    94 +-
 .../java/org/superbiz/eclipselink/Movie.java    |   136 +-
 .../java/org/superbiz/eclipselink/Movies.java   |    90 +-
 .../org/superbiz/eclipselink/MoviesTest.java    |   108 +-
 .../main/java/org/superbiz/jpa/enums/Movie.java |   158 +-
 .../java/org/superbiz/jpa/enums/Movies.java     |   108 +-
 .../java/org/superbiz/jpa/enums/MoviesTest.java |   108 +-
 .../org/superbiz/injection/h3jpa/Movie.java     |   136 +-
 .../org/superbiz/injection/h3jpa/Movies.java    |    90 +-
 .../superbiz/injection/h3jpa/MoviesTest.java    |   106 +-
 .../main/java/org/superbiz/jsf/Calculator.java  |    56 +-
 .../main/java/org/superbiz/jsf/Calculator.java  |    50 +-
 .../java/org/superbiz/jsf/CalculatorImpl.java   |    56 +-
 .../java/org/superbiz/ejblookup/BlueBean.java   |    78 +-
 .../java/org/superbiz/ejblookup/Friend.java     |    68 +-
 .../java/org/superbiz/ejblookup/RedBean.java    |    76 +-
 .../superbiz/ejblookup/EjbDependencyTest.java   |   108 +-
 .../java/org/superbiz/ejblookup/BlueBean.java   |    86 +-
 .../java/org/superbiz/ejblookup/Friend.java     |    74 +-
 .../java/org/superbiz/ejblookup/RedBean.java    |    84 +-
 .../superbiz/ejblookup/EjbDependencyTest.java   |   108 +-
 .../org/superbiz/mbean/GuessHowManyMBean.java   |    96 +-
 .../superbiz/mbean/GuessHowManyMBeanTest.java   |   102 +-
 .../main/java/org/superbiz/moviefun/Movie.java  |   202 +-
 .../java/org/superbiz/moviefun/MoviesBean.java  |   180 +-
 .../moviefun/rest/ApplicationConfig.java        |    64 +-
 .../org/superbiz/moviefun/rest/LoadRest.java    |    82 +-
 .../org/superbiz/moviefun/rest/MoviesRest.java  |   158 +-
 .../org/superbiz/moviefun/MoviesEJBTest.java    |   154 +-
 .../moviefun/MoviesEmbeddedEJBTest.java         |   148 +-
 .../java/org/superbiz/moviefun/MoviesTest.java  |   148 +-
 .../org/superbiz/moviefun/ActionServlet.java    |   276 +-
 .../main/java/org/superbiz/moviefun/Movie.java  |   206 +-
 .../java/org/superbiz/moviefun/MoviesBean.java  |   228 +-
 .../java/org/superbiz/moviefun/Basedir.java     |    68 +-
 .../moviefun/MoviesArquillianHtmlUnitTest.java  |   218 +-
 .../org/superbiz/moviefun/MoviesEJBTest.java    |   156 +-
 .../moviefun/MoviesEmbeddedEJBTest.java         |   148 +-
 .../superbiz/moviefun/MoviesHtmlUnitTest.java   |   206 +-
 .../java/org/superbiz/moviefun/MoviesTest.java  |   148 +-
 .../superbiz/injection/tx/AddInterceptor.java   |    62 +-
 .../injection/tx/DeleteInterceptor.java         |    64 +-
 .../java/org/superbiz/injection/tx/Movie.java   |   122 +-
 .../java/org/superbiz/injection/tx/Movies.java  |   104 +-
 .../org/superbiz/injection/tx/api/Metatype.java |    58 +-
 .../superbiz/injection/tx/api/MovieUnit.java    |    66 +-
 .../org/superbiz/injection/tx/MoviesTest.java   |   284 +-
 .../superbiz/injection/tx/AddInterceptor.java   |    62 +-
 .../injection/tx/DeleteInterceptor.java         |    64 +-
 .../java/org/superbiz/injection/tx/Movie.java   |   122 +-
 .../java/org/superbiz/injection/tx/Movies.java  |   118 +-
 .../org/superbiz/injection/tx/MoviesTest.java   |   284 +-
 .../java/org/superbiz/mtom/AbstractService.java |    52 +-
 .../main/java/org/superbiz/mtom/EjbService.java |    68 +-
 .../java/org/superbiz/mtom/PojoService.java     |    64 +-
 .../main/java/org/superbiz/mtom/Request.java    |    86 +-
 .../main/java/org/superbiz/mtom/Response.java   |    92 +-
 .../main/java/org/superbiz/mtom/Service.java    |    70 +-
 .../org/superbiz/mtom/AbstractServiceTest.java  |    94 +-
 .../java/org/superbiz/mtom/EjbServiceTest.java  |    58 +-
 .../java/org/superbiz/mtom/PojoServiceTest.java |    60 +-
 .../main/java/org/superbiz/model/Person.java    |    86 +-
 .../src/test/java/org/superbiz/JPATest.java     |   118 +-
 .../enricher/jpa/HibernateEnricher.java         |    58 +-
 .../org/superbiz/enricher/jpa/JPAEnrichers.java |    78 +-
 .../superbiz/enricher/jpa/OpenJPAEnricher.java  |    58 +-
 .../org/superbiz/enricher/maven/Enrichers.java  |   122 +-
 .../src/main/java/org/superbiz/SomeEJB.java     |    54 +-
 .../src/main/java/org/superbiz/SomeRest.java    |    64 +-
 .../embedded/remote/EmbeddedRemote.java         |    42 +-
 .../remote/OpenEJBEmbeddedRemoteTest.java       |    96 +-
 .../superbiz/embedded/standalone/Embedded.java  |    42 +-
 .../standalone/OpenEJBEmbeddedTest.java         |   100 +-
 .../superbiz/tomee/embedded/TomEEEmbedded.java  |    42 +-
 .../tomee/embedded/TomEEEmbeddedTest.java       |   100 +-
 .../org/superbiz/tomee/remote/TomEERemote.java  |    42 +-
 .../superbiz/tomee/remote/TomEERemoteTest.java  |   106 +-
 .../arquillian/multiple/MultipleTomEETest.java  |   132 +-
 examples/myfaces-codi-demo/README.md            |   128 +-
 .../jpa/AbstractGenericJpaRepository.java       |   192 +-
 .../myfaces/startup/ExtValLifecycleFactory.java |   242 +-
 .../superbiz/myfaces/view/RegistrationPage.java |   200 +-
 .../org/superbiz/myfaces/view/config/Pages.java |   132 +-
 .../superbiz/myfaces/view/util/InfoBean.java    |   256 +-
 ...cdi.core.api.projectstage.ProjectStageHolder |    34 +-
 .../java/org/superbiz/injection/jpa/Movie.java  |   140 +-
 .../org/superbiz/injection/jpa/MoviesTest.java  |   100 +-
 .../main/java/org/superbiz/ws/pojo/PojoWS.java  |    90 +-
 .../src/main/java/org/superbiz/ws/pojo/WS.java  |    50 +-
 .../src/main/java/jug/client/Client.java        |   168 +-
 .../jug/client/command/api/AbstractCommand.java |   176 +-
 .../java/jug/client/command/api/Command.java    |    68 +-
 .../client/command/impl/BestPollCommand.java    |    62 +-
 .../jug/client/command/impl/ExitCommand.java    |    74 +-
 .../jug/client/command/impl/HelpCommand.java    |   106 +-
 .../jug/client/command/impl/NewPollCommand.java |    66 +-
 .../client/command/impl/PollResultCommand.java  |    80 +-
 .../jug/client/command/impl/PollsCommand.java   |    62 +-
 .../command/impl/QueryAndPostCommand.java       |    96 +-
 .../client/command/impl/ShowPollCommand.java    |    80 +-
 .../command/impl/SwitchClientCommand.java       |    94 +-
 .../jug/client/command/impl/VoteCommand.java    |    90 +-
 .../java/jug/client/util/ClientNameHolder.java  |    60 +-
 .../java/jug/client/util/CommandManager.java    |   148 +-
 .../util/ConfigurableClasspathArchive.java      |   392 +-
 .../src/main/java/jug/dao/SubjectDao.java       |   230 +-
 .../src/main/java/jug/dao/VoteDao.java          |    84 +-
 .../src/test/java/jug/dao/SubjectDaoTest.java   |   198 +-
 .../src/main/java/jug/domain/Result.java        |   134 +-
 .../src/main/java/jug/domain/Subject.java       |   212 +-
 .../src/main/java/jug/domain/Value.java         |    44 +-
 .../src/main/java/jug/domain/Vote.java          |   104 +-
 .../main/java/jug/monitoring/VoteCounter.java   |   120 +-
 .../main/java/jug/rest/PollingApplication.java  |    64 +-
 .../src/main/java/jug/rest/SubjectService.java  |   224 +-
 .../java/jug/routing/DataSourceInitializer.java |    96 +-
 .../main/java/jug/routing/PollingRouter.java    |   158 +-
 .../main/java/jug/routing/RoutingFilter.java    |   144 +-
 .../test/java/jug/rest/SubjectServiceTest.java  |   160 +-
 .../arquillian/SubjectServiceTomEETest.java     |   166 +-
 .../src/main/java/org/superbiz/Manager.java     |    60 +-
 .../main/java/org/superbiz/ManagerFactory.java  |    76 +-
 .../projectstage/BaseTestForProjectStage.java   |   114 +-
 .../projectstage/DevProjectStageTest.java       |    76 +-
 .../ProductionProjectStageTest.java             |    58 +-
 .../projectstage/TestingProjectStageTest.java   |    76 +-
 .../projectstage/util/ProjectStageProducer.java |   156 +-
 .../main/java/org/superbiz/quartz/JobBean.java  |   130 +-
 .../java/org/superbiz/quartz/QuartzMdb.java     |    70 +-
 .../java/org/superbiz/quartz/QuartzMdbTest.java |   134 +-
 .../java/org/superbiz/reloadable/pu/Person.java |   108 +-
 .../superbiz/reloadable/pu/PersonManager.java   |    88 +-
 .../reloadable/pu/CacheActivationTest.java      |   220 +-
 .../superbiz/composed/rest/GreetingService.java |    70 +-
 .../org/superbiz/composed/rest/Messager.java    |    44 +-
 .../composed/rest/GreetingServiceTest.java      |   134 +-
 .../superbiz/composed/rest/GreetingService.java |    58 +-
 .../rest/IllegalArgumentExceptionMapper.java    |    60 +-
 .../composed/rest/GreetingServiceTest.java      |   154 +-
 .../main/java/org/superbiz/rest/Greeting.java   |    48 +-
 .../java/org/superbiz/rest/GreetingService.java |   132 +-
 .../main/java/org/superbiz/rest/Request.java    |    82 +-
 .../main/java/org/superbiz/rest/Response.java   |    82 +-
 .../org/superbiz/rest/GreetingServiceTest.java  |   174 +-
 .../rest/batcher/SampleDataManager.java         |   160 +-
 .../java/org/superbiz/rest/dao/PostDAO.java     |   144 +-
 .../java/org/superbiz/rest/dao/UserDAO.java     |   130 +-
 .../java/org/superbiz/rest/model/Comment.java   |   150 +-
 .../main/java/org/superbiz/rest/model/Post.java |   182 +-
 .../main/java/org/superbiz/rest/model/User.java |   138 +-
 .../org/superbiz/rest/dao/UserServiceTest.java  |   182 +-
 .../jaxrs/jaas/JAASSecuredRestEndpoint.java     |    84 +-
 .../src/main/java/org/superbiz/rest/User.java   |   200 +-
 .../java/org/superbiz/rest/GreetingService.java |    80 +-
 .../main/java/org/superbiz/rest/Request.java    |    82 +-
 .../main/java/org/superbiz/rest/Response.java   |    82 +-
 .../superbiz/schedule/events/SchedulerTest.java |   156 +-
 .../java/org/superbiz/corn/FarmerBrown.java     |   174 +-
 .../java/org/superbiz/corn/FarmerBrownTest.java |    86 +-
 .../org/superbiz/corn/meta/FarmerBrown.java     |   108 +-
 .../org/superbiz/corn/meta/api/BiAnnually.java  |    72 +-
 .../org/superbiz/corn/meta/api/BiMonthly.java   |    72 +-
 .../java/org/superbiz/corn/meta/api/Daily.java  |    72 +-
 .../org/superbiz/corn/meta/api/HarvestTime.java |    80 +-
 .../java/org/superbiz/corn/meta/api/Hourly.java |    72 +-
 .../org/superbiz/corn/meta/api/Metatype.java    |    58 +-
 .../superbiz/corn/meta/api/PlantingTime.java    |    82 +-
 .../org/superbiz/corn/meta/api/Secondly.java    |    72 +-
 .../org/superbiz/corn/meta/FarmerBrownTest.java |    84 +-
 .../java/org/superbiz/corn/FarmerBrown.java     |   122 +-
 .../java/org/superbiz/corn/FarmerBrownTest.java |    84 +-
 .../java/org/superbiz/event/ListenerTest.java   |    92 +-
 .../superbiz/cdi/bookshow/beans/BookShow.java   |    86 +-
 .../cdi/bookshow/interceptorbinding/Log.java    |    64 +-
 .../interceptors/LoggingInterceptor.java        |   136 +-
 .../cdi/bookshow/interceptors/BookShowTest.java |   102 +-
 .../src/main/java/org/superbiz/cmp2/Movie.java  |    78 +-
 .../main/java/org/superbiz/cmp2/MovieBean.java  |    98 +-
 .../src/main/java/org/superbiz/cmp2/Movies.java |    70 +-
 .../test/java/org/superbiz/cmp2/MoviesTest.java |   120 +-
 .../main/java/org/superbiz/mdb/ChatBean.java    |   186 +-
 .../org/superbiz/mdb/ChatRespondCreator.java    |    64 +-
 .../java/org/superbiz/mdb/ChatBeanTest.java     |   168 +-
 .../java/org/superbiz/mdbdesc/ChatBean.java     |   186 +-
 .../java/org/superbiz/mdbdesc/ChatBeanTest.java |   170 +-
 .../main/java/org/superbiz/mdb/ChatBean.java    |   196 +-
 .../java/org/superbiz/mdb/ChatBeanTest.java     |   168 +-
 .../java/org/superbiz/rest/GreetingService.java |    70 +-
 .../org/superbiz/rest/GreetingServiceTest.java  |   106 +-
 examples/simple-singleton/README.md             |   688 +-
 .../superbiz/registry/ComponentRegistry.java    |   106 +-
 .../org/superbiz/registry/PropertyRegistry.java |   124 +-
 .../registry/ComponentRegistryTest.java         |   144 +-
 .../registry/PropertiesRegistryTest.java        |   118 +-
 .../org/superbiz/counter/CallbackCounter.java   |   146 +-
 .../org/superbiz/counter/ExecutionChannel.java  |    82 +-
 .../org/superbiz/counter/ExecutionObserver.java |    46 +-
 .../superbiz/counter/CounterCallbacksTest.java  |   250 +-
 .../main/java/org/superbiz/counter/Counter.java |   108 +-
 .../java/org/superbiz/counter/CounterTest.java  |   108 +-
 .../stateless/basic/CalculatorBean.java         |   126 +-
 .../stateless/basic/ExecutionChannel.java       |    82 +-
 .../stateless/basic/ExecutionObserver.java      |    46 +-
 .../stateless/basic/CalculatorTest.java         |   178 +-
 .../org/superbiz/calculator/CalculatorImpl.java |    74 +-
 .../superbiz/calculator/CalculatorLocal.java    |    60 +-
 .../superbiz/calculator/CalculatorRemote.java   |    62 +-
 .../org/superbiz/calculator/CalculatorTest.java |   144 +-
 .../stateless/basic/CalculatorBean.java         |    96 +-
 .../stateless/basic/CalculatorTest.java         |   214 +-
 .../org/superbiz/calculator/Calculator.java     |    72 +-
 .../org/superbiz/calculator/CalculatorTest.java |   140 +-
 .../org/superbiz/calculator/ws/Calculator.java  |    74 +-
 .../superbiz/calculator/ws/CalculatorWs.java    |    54 +-
 .../superbiz/calculator/ws/CalculatorTest.java  |   124 +-
 .../java/org/superbiz/dynamic/api/Metatype.java |    60 +-
 .../superbiz/dynamic/api/SpringRepository.java  |    72 +-
 .../dynamic/framework/SpringDataProxy.java      |   100 +-
 .../org/superbiz/dynamic/SpringDataProxy.java   |   100 +-
 .../main/java/org/superbiz/struts/AddUser.java  |   160 +-
 .../main/java/org/superbiz/struts/FindUser.java |   142 +-
 .../java/org/superbiz/struts/ListAllUsers.java  |   144 +-
 .../java/org/superbiz/telephone/Telephone.java  |    52 +-
 .../org/superbiz/telephone/TelephoneBean.java   |   114 +-
 .../org/superbiz/telephone/TelephoneTest.java   |   230 +-
 .../java/org/superbiz/testinjection/Movie.java  |   122 +-
 .../java/org/superbiz/testinjection/Movies.java |   100 +-
 .../org/superbiz/testinjection/MoviesTest.java  |   150 +-
 .../org/superbiz/injection/secure/Movie.java    |   122 +-
 .../org/superbiz/injection/secure/Movies.java   |   110 +-
 .../superbiz/injection/secure/MovieTest.java    |   304 +-
 .../org/superbiz/injection/secure/UserInfo.java |    72 +-
 .../org/superbiz/injection/secure/Movie.java    |   122 +-
 .../org/superbiz/injection/secure/Movies.java   |   110 +-
 .../injection/secure/MyLoginProvider.java       |    78 +-
 .../superbiz/injection/secure/MovieTest.java    |   314 +-
 .../superbiz/injection/secure/LoginBean.java    |    78 +-
 .../org/superbiz/injection/secure/Movie.java    |   122 +-
 .../org/superbiz/injection/secure/Movies.java   |   110 +-
 .../superbiz/injection/secure/MovieTest.java    |   322 +-
 .../org/superbiz/injection/secure/Movie.java    |   122 +-
 .../org/superbiz/injection/secure/Movies.java   |   106 +-
 .../injection/secure/api/AddPermission.java     |    72 +-
 .../injection/secure/api/DeletePermission.java  |    72 +-
 .../superbiz/injection/secure/api/Metatype.java |    58 +-
 .../injection/secure/api/MovieUnit.java         |    66 +-
 .../injection/secure/api/ReadPermission.java    |    78 +-
 .../injection/secure/api/RunAsEmployee.java     |    62 +-
 .../injection/secure/api/RunAsManager.java      |    62 +-
 .../superbiz/injection/secure/MovieTest.java    |   316 +-
 .../org/superbiz/injection/secure/Movie.java    |   122 +-
 .../org/superbiz/injection/secure/Movies.java   |   110 +-
 .../superbiz/injection/secure/MovieTest.java    |   334 +-
 .../java/org/superbiz/injection/tx/Movie.java   |   148 +-
 .../java/org/superbiz/injection/tx/Movies.java  |   124 +-
 .../org/superbiz/injection/tx/MoviesTest.java   |   100 +-
 .../java/org/superbiz/injection/tx/Movie.java   |   122 +-
 .../java/org/superbiz/injection/tx/Movies.java  |   100 +-
 .../org/superbiz/injection/tx/MoviesTest.java   |   214 +-
 .../main/java/org/superbiz/dao/PersonDAO.java   |    90 +-
 .../main/java/org/superbiz/domain/Person.java   |   100 +-
 .../java/org/superbiz/init/Initializer.java     |    76 +-
 .../org/superbiz/service/JerseyApplication.java |    62 +-
 .../org/superbiz/service/PersonService.java     |   102 +-
 .../txrollback/CustomRuntimeException.java      |    76 +-
 .../java/org/superbiz/txrollback/Movie.java     |   136 +-
 .../java/org/superbiz/txrollback/Movies.java    |   124 +-
 .../org/superbiz/txrollback/MoviesTest.java     |   442 +-
 .../org/superbiz/troubleshooting/Movie.java     |   136 +-
 .../org/superbiz/troubleshooting/Movies.java    |    92 +-
 .../superbiz/troubleshooting/MoviesTest.java    |   202 +-
 .../org/superbiz/attachment/AttachmentImpl.java |   158 +-
 .../org/superbiz/attachment/AttachmentWs.java   |    70 +-
 .../org/superbiz/attachment/AttachmentTest.java |   184 +-
 .../org/superbiz/calculator/wsh/Calculator.java |    78 +-
 .../superbiz/calculator/wsh/CalculatorWs.java   |    54 +-
 .../org/superbiz/calculator/wsh/Increment.java  |   126 +-
 .../org/superbiz/calculator/wsh/Inflate.java    |   128 +-
 .../superbiz/calculator/wsh/CalculatorTest.java |   126 +-
 .../java/org/superbiz/ws/out/Calculator.java    |    76 +-
 .../java/org/superbiz/ws/out/CalculatorWs.java  |    52 +-
 .../org/superbiz/ws/out/CalculatorTest.java     |   136 +-
 .../java/org/superbiz/inheritance/Item.java     |   138 +-
 .../java/org/superbiz/inheritance/Tower.java    |    98 +-
 .../org/superbiz/inheritance/WakeRiderImpl.java |   112 +-
 .../org/superbiz/inheritance/WakeRiderWs.java   |    70 +-
 .../org/superbiz/inheritance/Wakeboard.java     |    48 +-
 .../superbiz/inheritance/WakeboardBinding.java  |    48 +-
 .../java/org/superbiz/inheritance/Wearable.java |    66 +-
 .../superbiz/inheritance/InheritanceTest.java   |   314 +-
 .../org/superbiz/calculator/CalculatorImpl.java |   100 +-
 .../superbiz/calculator/CalculatorRemote.java   |    56 +-
 .../org/superbiz/calculator/CalculatorWs.java   |    70 +-
 .../org/superbiz/calculator/CalculatorTest.java |   138 +-
 .../keys/generateKeyPair.bat                    |    62 +-
 .../keys/generateServerKey.bat                  |    48 +-
 .../org/superbiz/calculator/CalculatorImpl.java |   104 +-
 .../superbiz/calculator/CalculatorRemote.java   |    56 +-
 .../org/superbiz/calculator/CalculatorWs.java   |    70 +-
 .../CalculatorImplSign-server.properties        |    14 +-
 ...eTokenPlainPasswordEncrypt-server.properties |    14 +-
 .../src/main/resources/META-INF/ejb-jar.xml     |   198 +-
 .../src/main/resources/META-INF/webservices.xml |   132 +-
 .../org/superbiz/calculator/CalculatorTest.java |   636 +-
 .../calculator/CustomPasswordHandler.java       |    88 +-
 .../CalculatorImplSign-client.properties        |    14 +-
 ...eTokenPlainPasswordEncrypt-client.properties |    14 +-
 .../org/superbiz/ws/security/Calculator.java    |    50 +-
 .../superbiz/ws/security/CalculatorBean.java    |    60 +-
 .../ws/security/PasswordCallbackHandler.java    |    88 +-
 .../openejb/itest/legacy/LegacyClientTest.java  |   684 +-
 .../src/main/resources/META-INF/ejb-jar.xml     | 14632 ++++++++---------
 .../maven/plugin/AbstractSynchronizable.java    |   142 +-
 .../test/resources/schema/ComplexAllElement.xsd |    42 +-
 .../test/resources/schema/ComplexAllType.xsd    |    42 +-
 .../resources/schema/ComplexSequenceElement.xsd |    42 +-
 .../resources/schema/ComplexSequenceType.xsd    |    42 +-
 .../test/resources/schema/JaxRpcSpecExample.xsd |    42 +-
 .../src/test/resources/schema/SimpleElement.xsd |    42 +-
 .../src/test/resources/schema/SimpleType.xsd    |    42 +-
 .../resources/schema/SoapArrayByAttribute.xsd   |    42 +-
 .../resources/schema/SoapArrayByRestriction.xsd |    42 +-
 .../client/DirectConnectionStrategy.java        |    66 +-
 .../openejb/client/MulticastPulseClient.java    |  1556 +-
 .../openejb/server/cxf/rs/AutoJAXRSInvoker.java |   140 +-
 .../server/cxf/rs/OpenEJBEJBInvoker.java        |   240 +-
 .../openejb/server/cxf/rs/PojoInvoker.java      |   124 +-
 .../rs/DynamicSubclassEjbDeploymentTest.java    |   266 +-
 .../server/cxf/rs/EJBExceptionMapperTest.java   |   220 +-
 .../server/cxf/rs/EjbDeploymentTest.java        |   252 +-
 .../cxf/rs/PathParamAtClassLevelTest.java       |   150 +-
 .../server/cxf/WSSPassThroughInterceptor.java   |   132 +-
 802 files changed, 78049 insertions(+), 78049 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/6e2a4f7c/container/openejb-core/src/main/java/org/apache/openejb/testng/PropertiesBuilder.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/testng/PropertiesBuilder.java b/container/openejb-core/src/main/java/org/apache/openejb/testng/PropertiesBuilder.java
index c1db6b1..572e20d 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/testng/PropertiesBuilder.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/testng/PropertiesBuilder.java
@@ -1,47 +1,47 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.openejb.testng;
-
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Properties;
-
-public class PropertiesBuilder {
-    private final Properties properties = new Properties();
-
-    public PropertiesBuilder p(final String key, final String value) {
-        return property(key, value);
-    }
-
-    public PropertiesBuilder property(final String key, final String value) {
-        properties.setProperty(key, value);
-        return this;
-    }
-
-    public Properties build() {
-        return properties;
-    }
-
-    public Map<String, String> asMap() {
-        final Map<String, String> map = new HashMap<String, String>();
-        for (final Map.Entry<Object, Object> entry : properties.entrySet()) {
-            map.put(String.class.cast(entry.getKey()), String.class.cast(entry.getValue()));
-        }
-        return map;
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.openejb.testng;
+
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Properties;
+
+public class PropertiesBuilder {
+    private final Properties properties = new Properties();
+
+    public PropertiesBuilder p(final String key, final String value) {
+        return property(key, value);
+    }
+
+    public PropertiesBuilder property(final String key, final String value) {
+        properties.setProperty(key, value);
+        return this;
+    }
+
+    public Properties build() {
+        return properties;
+    }
+
+    public Map<String, String> asMap() {
+        final Map<String, String> map = new HashMap<String, String>();
+        for (final Map.Entry<Object, Object> entry : properties.entrySet()) {
+            map.put(String.class.cast(entry.getKey()), String.class.cast(entry.getValue()));
+        }
+        return map;
+    }
+}

http://git-wip-us.apache.org/repos/asf/tomee/blob/6e2a4f7c/container/openejb-core/src/main/java/org/apache/openejb/util/CollectionsUtil.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/util/CollectionsUtil.java b/container/openejb-core/src/main/java/org/apache/openejb/util/CollectionsUtil.java
index 8ceff40..2daa42f 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/util/CollectionsUtil.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/util/CollectionsUtil.java
@@ -1,30 +1,30 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.openejb.util;
-
-import java.util.Collections;
-import java.util.List;
-
-public class CollectionsUtil {
-    public static <T> List<T> safe(final List<T> list) {
-        if (list == null) {
-            return Collections.emptyList();
-        }
-        return list;
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.openejb.util;
+
+import java.util.Collections;
+import java.util.List;
+
+public class CollectionsUtil {
+    public static <T> List<T> safe(final List<T> list) {
+        if (list == null) {
+            return Collections.emptyList();
+        }
+        return list;
+    }
+}

http://git-wip-us.apache.org/repos/asf/tomee/blob/6e2a4f7c/container/openejb-core/src/main/java/org/apache/openejb/util/LogStreamAsync.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/util/LogStreamAsync.java b/container/openejb-core/src/main/java/org/apache/openejb/util/LogStreamAsync.java
index 19f2d50..6d50e62 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/util/LogStreamAsync.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/util/LogStreamAsync.java
@@ -1,224 +1,224 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.util;
-
-import java.io.Closeable;
-import java.io.IOException;
-import java.util.concurrent.BlockingQueue;
-import java.util.concurrent.LinkedBlockingQueue;
-import java.util.concurrent.atomic.AtomicBoolean;
-
-public class LogStreamAsync implements LogStream, Closeable {
-
-    private static final LinkedBlockingQueue<Message> log = new LinkedBlockingQueue<Message>();
-    private static final Thread t = new Thread(new Consumer(LogStreamAsync.log), "LogStreamAsync.Thread");
-    private static final AtomicBoolean started = new AtomicBoolean(false);
-    private final LogStream ls;
-
-    private enum level {
-        fatal,
-        error,
-        warn,
-        info,
-        debug,
-        quit,
-    }
-
-    public LogStreamAsync(final LogStream ls) {
-        this.ls = ls;
-
-        if (!started.getAndSet(true)) {
-            t.setDaemon(true);
-            t.start();
-        }
-    }
-
-    @Override
-    public void close() throws IOException {
-        LogStreamAsync.log.clear();
-        try {
-            LogStreamAsync.log.put(new Message(this.ls, level.quit, ""));
-        } catch (final InterruptedException e) {
-            //Ignore
-        }
-    }
-
-    @Override
-    public boolean isFatalEnabled() {
-        return ls.isFatalEnabled();
-    }
-
-    @Override
-    public void fatal(final String message) {
-        this.log(level.fatal, message);
-    }
-
-    @Override
-    public void fatal(final String message, final Throwable t) {
-        this.log(level.fatal, message, t);
-    }
-
-    @Override
-    public boolean isErrorEnabled() {
-        return ls.isErrorEnabled();
-    }
-
-    @Override
-    public void error(final String message) {
-        this.log(level.error, message);
-    }
-
-    @Override
-    public void error(final String message, final Throwable t) {
-        this.log(level.error, message, t);
-    }
-
-    @Override
-    public boolean isWarnEnabled() {
-        return ls.isWarnEnabled();
-    }
-
-    @Override
-    public void warn(final String message) {
-        this.log(level.warn, message);
-    }
-
-    @Override
-    public void warn(final String message, final Throwable t) {
-        this.log(level.warn, message, t);
-    }
-
-    @Override
-    public boolean isInfoEnabled() {
-        return ls.isInfoEnabled();
-    }
-
-    @Override
-    public void info(final String message) {
-        this.log(level.info, message, null);
-    }
-
-    @Override
-    public void info(final String message, final Throwable t) {
-        this.log(level.info, message, null);
-    }
-
-    @Override
-    public boolean isDebugEnabled() {
-        return ls.isDebugEnabled();
-    }
-
-    @Override
-    public void debug(final String message) {
-        this.log(level.debug, message);
-    }
-
-    @Override
-    public void debug(final String message, final Throwable t) {
-        this.log(level.debug, message, t);
-    }
-
-    public void log(final level l, final String s) {
-        this.log(l, s, null);
-    }
-
-    public void log(final level l, final String s, final Throwable t) {
-        try {
-            LogStreamAsync.log.put(new Message(this.ls, l, s, t));
-        } catch (final InterruptedException e) {
-            //Ignore
-        }
-    }
-
-    private static final class Message {
-
-        private final LogStream ls;
-        private final level l;
-        private final String s;
-        private final Throwable t;
-
-        private Message(final LogStream ls, final level l, final String s) {
-            this(ls, l, s, null);
-        }
-
-        private Message(final LogStream ls, final level l, final String s, final Throwable t) {
-            this.ls = ls;
-            this.l = l;
-            this.s = s;
-            this.t = t;
-        }
-    }
-
-    private static final class Consumer implements Runnable {
-
-        private final BlockingQueue<Message> queue;
-
-        private Consumer(final BlockingQueue<Message> queue) {
-            this.queue = queue;
-        }
-
-        public void run() {
-
-            try {
-                Message msg;
-                while (!level.quit.equals((msg = queue.take()).l)) {
-                    final Throwable t = msg.t;
-
-                    if (null != t) {
-                        switch (msg.l) {
-                            case fatal:
-                                msg.ls.fatal(msg.s, t);
-                                break;
-                            case error:
-                                msg.ls.error(msg.s, t);
-                                break;
-                            case warn:
-                                msg.ls.warn(msg.s, t);
-                                break;
-                            case info:
-                                msg.ls.info(msg.s, t);
-                                break;
-                            case debug:
-                                msg.ls.debug(msg.s, t);
-                                break;
-                        }
-                    } else {
-                        switch (msg.l) {
-                            case fatal:
-                                msg.ls.fatal(msg.s);
-                                break;
-                            case error:
-                                msg.ls.error(msg.s);
-                                break;
-                            case warn:
-                                msg.ls.warn(msg.s);
-                                break;
-                            case info:
-                                msg.ls.info(msg.s);
-                                break;
-                            case debug:
-                                msg.ls.debug(msg.s);
-                                break;
-                        }
-                    }
-                }
-            } catch (final InterruptedException e) {
-                //Exit
-            }
-        }
-    }
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.util;
+
+import java.io.Closeable;
+import java.io.IOException;
+import java.util.concurrent.BlockingQueue;
+import java.util.concurrent.LinkedBlockingQueue;
+import java.util.concurrent.atomic.AtomicBoolean;
+
+public class LogStreamAsync implements LogStream, Closeable {
+
+    private static final LinkedBlockingQueue<Message> log = new LinkedBlockingQueue<Message>();
+    private static final Thread t = new Thread(new Consumer(LogStreamAsync.log), "LogStreamAsync.Thread");
+    private static final AtomicBoolean started = new AtomicBoolean(false);
+    private final LogStream ls;
+
+    private enum level {
+        fatal,
+        error,
+        warn,
+        info,
+        debug,
+        quit,
+    }
+
+    public LogStreamAsync(final LogStream ls) {
+        this.ls = ls;
+
+        if (!started.getAndSet(true)) {
+            t.setDaemon(true);
+            t.start();
+        }
+    }
+
+    @Override
+    public void close() throws IOException {
+        LogStreamAsync.log.clear();
+        try {
+            LogStreamAsync.log.put(new Message(this.ls, level.quit, ""));
+        } catch (final InterruptedException e) {
+            //Ignore
+        }
+    }
+
+    @Override
+    public boolean isFatalEnabled() {
+        return ls.isFatalEnabled();
+    }
+
+    @Override
+    public void fatal(final String message) {
+        this.log(level.fatal, message);
+    }
+
+    @Override
+    public void fatal(final String message, final Throwable t) {
+        this.log(level.fatal, message, t);
+    }
+
+    @Override
+    public boolean isErrorEnabled() {
+        return ls.isErrorEnabled();
+    }
+
+    @Override
+    public void error(final String message) {
+        this.log(level.error, message);
+    }
+
+    @Override
+    public void error(final String message, final Throwable t) {
+        this.log(level.error, message, t);
+    }
+
+    @Override
+    public boolean isWarnEnabled() {
+        return ls.isWarnEnabled();
+    }
+
+    @Override
+    public void warn(final String message) {
+        this.log(level.warn, message);
+    }
+
+    @Override
+    public void warn(final String message, final Throwable t) {
+        this.log(level.warn, message, t);
+    }
+
+    @Override
+    public boolean isInfoEnabled() {
+        return ls.isInfoEnabled();
+    }
+
+    @Override
+    public void info(final String message) {
+        this.log(level.info, message, null);
+    }
+
+    @Override
+    public void info(final String message, final Throwable t) {
+        this.log(level.info, message, null);
+    }
+
+    @Override
+    public boolean isDebugEnabled() {
+        return ls.isDebugEnabled();
+    }
+
+    @Override
+    public void debug(final String message) {
+        this.log(level.debug, message);
+    }
+
+    @Override
+    public void debug(final String message, final Throwable t) {
+        this.log(level.debug, message, t);
+    }
+
+    public void log(final level l, final String s) {
+        this.log(l, s, null);
+    }
+
+    public void log(final level l, final String s, final Throwable t) {
+        try {
+            LogStreamAsync.log.put(new Message(this.ls, l, s, t));
+        } catch (final InterruptedException e) {
+            //Ignore
+        }
+    }
+
+    private static final class Message {
+
+        private final LogStream ls;
+        private final level l;
+        private final String s;
+        private final Throwable t;
+
+        private Message(final LogStream ls, final level l, final String s) {
+            this(ls, l, s, null);
+        }
+
+        private Message(final LogStream ls, final level l, final String s, final Throwable t) {
+            this.ls = ls;
+            this.l = l;
+            this.s = s;
+            this.t = t;
+        }
+    }
+
+    private static final class Consumer implements Runnable {
+
+        private final BlockingQueue<Message> queue;
+
+        private Consumer(final BlockingQueue<Message> queue) {
+            this.queue = queue;
+        }
+
+        public void run() {
+
+            try {
+                Message msg;
+                while (!level.quit.equals((msg = queue.take()).l)) {
+                    final Throwable t = msg.t;
+
+                    if (null != t) {
+                        switch (msg.l) {
+                            case fatal:
+                                msg.ls.fatal(msg.s, t);
+                                break;
+                            case error:
+                                msg.ls.error(msg.s, t);
+                                break;
+                            case warn:
+                                msg.ls.warn(msg.s, t);
+                                break;
+                            case info:
+                                msg.ls.info(msg.s, t);
+                                break;
+                            case debug:
+                                msg.ls.debug(msg.s, t);
+                                break;
+                        }
+                    } else {
+                        switch (msg.l) {
+                            case fatal:
+                                msg.ls.fatal(msg.s);
+                                break;
+                            case error:
+                                msg.ls.error(msg.s);
+                                break;
+                            case warn:
+                                msg.ls.warn(msg.s);
+                                break;
+                            case info:
+                                msg.ls.info(msg.s);
+                                break;
+                            case debug:
+                                msg.ls.debug(msg.s);
+                                break;
+                        }
+                    }
+                }
+            } catch (final InterruptedException e) {
+                //Exit
+            }
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/tomee/blob/6e2a4f7c/container/openejb-core/src/main/java/org/apache/openejb/util/OpenEjbVersion.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/util/OpenEjbVersion.java b/container/openejb-core/src/main/java/org/apache/openejb/util/OpenEjbVersion.java
index e728448..c5d109d 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/util/OpenEjbVersion.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/util/OpenEjbVersion.java
@@ -1,89 +1,89 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.openejb.util;
-
-import org.apache.xbean.finder.ResourceFinder;
-
-import java.io.IOException;
-import java.io.PrintStream;
-import java.util.Properties;
-
-/**
- * @version $Rev$ $Date$
- */
-public final class OpenEjbVersion {
-
-    private final String copyright;//Copyright 1999-X (C) Apache OpenEJB Project, All Rights Reserved.
-    private final String url; //http://tomee.apache.org
-    private final String version;//${pom.version}
-    private final String date;//@DATE-REPLACED-BY-MAVEN@
-    private final String time;//@TIME-REPLACED-BY-MAVEN@
-    private static OpenEjbVersion openEjbVersion;
-
-    private OpenEjbVersion() {
-        Properties info = new Properties();
-
-        try {
-            final ResourceFinder finder = new ResourceFinder();
-            info = finder.findProperties("openejb-version.properties");
-        } catch (final IOException e) {
-            e.printStackTrace();
-        }
-
-        copyright = info.getProperty("copyright");
-        url = info.getProperty("url");
-        version = info.getProperty("version");
-        date = info.getProperty("date");
-        time = info.getProperty("time");
-
-        System.setProperty("openejb.version", version);
-        System.setProperty("tomee.version", version);
-    }
-
-    public static OpenEjbVersion get() {
-        if (openEjbVersion == null) {
-            openEjbVersion = new OpenEjbVersion();
-        }
-        return openEjbVersion;
-    }
-
-    public String getCopyright() {
-        return copyright;
-    }
-
-    public String getDate() {
-        return date;
-    }
-
-    public String getTime() {
-        return time;
-    }
-
-    public String getUrl() {
-        return url;
-    }
-
-    public String getVersion() {
-        return version;
-    }
-
-    public void print(final PrintStream out) {
-        out.println("Apache OpenEJB " + getVersion() + "    build: " + getDate() + "-" + getTime());
-        out.println(getUrl());
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.openejb.util;
+
+import org.apache.xbean.finder.ResourceFinder;
+
+import java.io.IOException;
+import java.io.PrintStream;
+import java.util.Properties;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public final class OpenEjbVersion {
+
+    private final String copyright;//Copyright 1999-X (C) Apache OpenEJB Project, All Rights Reserved.
+    private final String url; //http://tomee.apache.org
+    private final String version;//${pom.version}
+    private final String date;//@DATE-REPLACED-BY-MAVEN@
+    private final String time;//@TIME-REPLACED-BY-MAVEN@
+    private static OpenEjbVersion openEjbVersion;
+
+    private OpenEjbVersion() {
+        Properties info = new Properties();
+
+        try {
+            final ResourceFinder finder = new ResourceFinder();
+            info = finder.findProperties("openejb-version.properties");
+        } catch (final IOException e) {
+            e.printStackTrace();
+        }
+
+        copyright = info.getProperty("copyright");
+        url = info.getProperty("url");
+        version = info.getProperty("version");
+        date = info.getProperty("date");
+        time = info.getProperty("time");
+
+        System.setProperty("openejb.version", version);
+        System.setProperty("tomee.version", version);
+    }
+
+    public static OpenEjbVersion get() {
+        if (openEjbVersion == null) {
+            openEjbVersion = new OpenEjbVersion();
+        }
+        return openEjbVersion;
+    }
+
+    public String getCopyright() {
+        return copyright;
+    }
+
+    public String getDate() {
+        return date;
+    }
+
+    public String getTime() {
+        return time;
+    }
+
+    public String getUrl() {
+        return url;
+    }
+
+    public String getVersion() {
+        return version;
+    }
+
+    public void print(final PrintStream out) {
+        out.println("Apache OpenEJB " + getVersion() + "    build: " + getDate() + "-" + getTime());
+        out.println(getUrl());
+    }
+}

http://git-wip-us.apache.org/repos/asf/tomee/blob/6e2a4f7c/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java b/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java
index caadffe..8e9bc5d 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java
@@ -1,103 +1,103 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.util;
-
-import org.codehaus.swizzle.stream.ScanBuffer;
-
-import java.io.FilterOutputStream;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.util.concurrent.CountDownLatch;
-import java.util.concurrent.TimeUnit;
-
-/**
- * @version $Rev$ $Date$
- */
-public class OutputScanner extends FilterOutputStream {
-
-    private final CountDownLatch found = new CountDownLatch(1);
-
-    public OutputScanner(final OutputStream out, final String scanString) {
-        super(null);
-        this.out = new Scan(out, scanString);
-    }
-
-    public class Scan extends FilterOutputStream {
-
-        private final ScanBuffer scan;
-
-        public Scan(final OutputStream out, final String scanString) {
-            super(out);
-            scan = new ScanBuffer(scanString);
-        }
-
-        @Override
-        public void write(final int b) throws IOException {
-            check(b);
-            super.write(b);
-        }
-
-        @Override
-        public void write(final byte[] bytes) throws IOException {
-            for (final byte b : bytes) {
-                check(b);
-            }
-            super.write(bytes);
-        }
-
-        @Override
-        public void write(final byte[] bytes, final int off, final int len) throws IOException {
-            for (int i = off; i < len; i++) {
-                check(bytes[i]);
-            }
-            super.write(bytes, off, len);
-        }
-
-        private void check(final int b) {
-            scan.append(b);
-            if (scan.match()) {
-                // Cut ourselves out of the call chain.
-                //
-                // This works because
-                //  - ScanningOutputStreamFilter.this.out == this
-                //  - this.out != this)
-                //
-                // Our parent is delegating to us and we are delegating
-                // to the actual OutputStream
-                //
-                // To cut ourselves out of the call chain and eliminate
-                // the overhead of checking the ScanBuffer, we set our
-                // parent to not delegate to us and to instead delegate
-                // to the actual OutputStream.
-
-                // Intellij mistakenly shows this grayed out,
-                // however it is very very significant.
-                OutputScanner.this.out = this.out;
-                found.countDown();
-            }
-        }
-    }
-
-
-    public void await() throws InterruptedException {
-        found.await();
-    }
-
-    public boolean await(final long timeout, final TimeUnit unit) throws InterruptedException {
-        return found.await(timeout, unit);
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.util;
+
+import org.codehaus.swizzle.stream.ScanBuffer;
+
+import java.io.FilterOutputStream;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.util.concurrent.CountDownLatch;
+import java.util.concurrent.TimeUnit;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class OutputScanner extends FilterOutputStream {
+
+    private final CountDownLatch found = new CountDownLatch(1);
+
+    public OutputScanner(final OutputStream out, final String scanString) {
+        super(null);
+        this.out = new Scan(out, scanString);
+    }
+
+    public class Scan extends FilterOutputStream {
+
+        private final ScanBuffer scan;
+
+        public Scan(final OutputStream out, final String scanString) {
+            super(out);
+            scan = new ScanBuffer(scanString);
+        }
+
+        @Override
+        public void write(final int b) throws IOException {
+            check(b);
+            super.write(b);
+        }
+
+        @Override
+        public void write(final byte[] bytes) throws IOException {
+            for (final byte b : bytes) {
+                check(b);
+            }
+            super.write(bytes);
+        }
+
+        @Override
+        public void write(final byte[] bytes, final int off, final int len) throws IOException {
+            for (int i = off; i < len; i++) {
+                check(bytes[i]);
+            }
+            super.write(bytes, off, len);
+        }
+
+        private void check(final int b) {
+            scan.append(b);
+            if (scan.match()) {
+                // Cut ourselves out of the call chain.
+                //
+                // This works because
+                //  - ScanningOutputStreamFilter.this.out == this
+                //  - this.out != this)
+                //
+                // Our parent is delegating to us and we are delegating
+                // to the actual OutputStream
+                //
+                // To cut ourselves out of the call chain and eliminate
+                // the overhead of checking the ScanBuffer, we set our
+                // parent to not delegate to us and to instead delegate
+                // to the actual OutputStream.
+
+                // Intellij mistakenly shows this grayed out,
+                // however it is very very significant.
+                OutputScanner.this.out = this.out;
+                found.countDown();
+            }
+        }
+    }
+
+
+    public void await() throws InterruptedException {
+        found.await();
+    }
+
+    public boolean await(final long timeout, final TimeUnit unit) throws InterruptedException {
+        return found.await(timeout, unit);
+    }
+}

http://git-wip-us.apache.org/repos/asf/tomee/blob/6e2a4f7c/container/openejb-core/src/main/java/org/apache/openejb/util/Pipe.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/util/Pipe.java b/container/openejb-core/src/main/java/org/apache/openejb/util/Pipe.java
index 00e4731..6bc42b3 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/util/Pipe.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/util/Pipe.java
@@ -1,75 +1,75 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.openejb.util;
-
-import java.io.InputStream;
-import java.io.OutputStream;
-
-/**
- * @version $Rev$ $Date$
- */
-public final class Pipe implements Runnable {
-
-    private final InputStream in;
-    private final OutputStream out;
-
-    public Pipe(final InputStream in, final OutputStream out) {
-        this.in = in;
-        this.out = out;
-    }
-
-    public static void pipeOut(final Process process) {
-        pipe(process.getInputStream(), System.out);
-        pipe(process.getErrorStream(), System.err);
-    }
-
-    public static void pipe(final Process process) {
-        pipeOut(process);
-        pipe(System.in, process.getOutputStream());
-    }
-
-    public static void read(final Process process) {
-        pipe(process.getInputStream(), System.out);
-        pipe(process.getErrorStream(), System.err);
-    }
-
-    public static void pipe(final InputStream in, final OutputStream out) {
-        final Thread thread = new Thread(new Pipe(in, out));
-        thread.setDaemon(true);
-        thread.start();
-    }
-
-    public void run() {
-        try {
-            int i;
-
-            final byte[] buf = new byte[1];
-
-            while ((i = in.read(buf)) != -1) {
-                out.write(buf, 0, i);
-            }
-        } catch (final Exception e) {
-            final String m = e.getMessage();
-            if(null != m && m.toLowerCase().contains("stream closed")){
-                //This does not need to be noisy
-                return;
-            }
-            e.printStackTrace();
-        }
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.openejb.util;
+
+import java.io.InputStream;
+import java.io.OutputStream;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public final class Pipe implements Runnable {
+
+    private final InputStream in;
+    private final OutputStream out;
+
+    public Pipe(final InputStream in, final OutputStream out) {
+        this.in = in;
+        this.out = out;
+    }
+
+    public static void pipeOut(final Process process) {
+        pipe(process.getInputStream(), System.out);
+        pipe(process.getErrorStream(), System.err);
+    }
+
+    public static void pipe(final Process process) {
+        pipeOut(process);
+        pipe(System.in, process.getOutputStream());
+    }
+
+    public static void read(final Process process) {
+        pipe(process.getInputStream(), System.out);
+        pipe(process.getErrorStream(), System.err);
+    }
+
+    public static void pipe(final InputStream in, final OutputStream out) {
+        final Thread thread = new Thread(new Pipe(in, out));
+        thread.setDaemon(true);
+        thread.start();
+    }
+
+    public void run() {
+        try {
+            int i;
+
+            final byte[] buf = new byte[1];
+
+            while ((i = in.read(buf)) != -1) {
+                out.write(buf, 0, i);
+            }
+        } catch (final Exception e) {
+            final String m = e.getMessage();
+            if(null != m && m.toLowerCase().contains("stream closed")){
+                //This does not need to be noisy
+                return;
+            }
+            e.printStackTrace();
+        }
+    }
+}