From 1e65865707d090ca3dfd5a5fab5191447787a05c Mon Sep 17 00:00:00 2001
From: Rafael Benevides
Date: Mon, 7 Sep 2015 13:23:39 -0400
Subject: [PATCH] Fix formatting and removed trailing spaces
---
app-client/client-simple/pom.xml | 2 +-
.../appclient/acc/client/Main.java | 5 +-
.../resources/META-INF/application-client.xml | 4 +-
app-client/ejb/pom.xml | 8 +-
.../server/ejb/StatelessSession.java | 1 +
.../server/ejb/StatelessSessionBean.java | 2 +-
app-client/pom.xml | 4 +-
batch-processing/pom.xml | 44 +-
.../quickstarts/batch/controller/JobData.java | 2 +-
.../batch/job/listener/JobListener.java | 2 +-
.../META-INF/batch-jobs/import-file.xml | 2 +-
.../main/resources/META-INF/persistence.xml | 2 +-
.../WEB-INF/jboss-batch-processing-ds.xml | 8 +-
bean-validation-custom-constraint/pom.xml | 8 +-
.../AddressValidator.java | 1 +
.../Person.java | 4 +-
.../PersonAddress.java | 14 +-
.../src/test/resources/META-INF/beans.xml | 6 +-
.../resources/META-INF/test-persistence.xml | 6 +-
.../src/test/resources/test-ds.xml | 12 +-
bean-validation/pom.xml | 2 +-
.../src/main/java/META-INF/beans.xml | 6 +-
.../bean_validation/model/Member.java | 2 +-
.../test/MemberValidationTest.java | 20 +-
.../resources/META-INF/test-persistence.xml | 6 +-
.../src/test/resources/test-ds.xml | 12 +-
bmt/pom.xml | 4 +-
.../main/resources/META-INF/persistence.xml | 2 +-
bmt/src/main/webapp/WEB-INF/beans.xml | 2 +-
.../main/webapp/WEB-INF/bmt-quickstart-ds.xml | 12 +-
cdi-alternative/pom.xml | 16 +-
.../src/main/webapp/WEB-INF/beans.xml | 50 +-
cdi-decorator/pom.xml | 2 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
cdi-injection/pom.xml | 8 +-
.../cdi/injection/qualifier/English.java | 2 +-
.../cdi/injection/qualifier/Spanish.java | 2 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
cdi-interceptors/pom.xml | 4 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
.../main/webapp/WEB-INF/cdi-quickstart-ds.xml | 12 +-
.../test/InterceptorsDisabledTest.java | 12 +-
.../test/InterceptorsEnabledTest.java | 12 +-
.../resources/META-INF/test-persistence.xml | 6 +-
cdi-interceptors/src/test/resources/beans.xml | 2 +-
.../src/test/resources/test-ds.xml | 12 +-
cdi-portable-extension/pom.xml | 6 +-
.../cdi/extension/model/CreatureType.java | 3 +-
.../src/main/resources/creatures.xml | 2 +-
.../extension/test/CreatureExtensionTest.java | 8 +-
cdi-stereotype/pom.xml | 2 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
.../WEB-INF/stereotype-quickstart-ds.xml | 10 +-
cdi-veto/pom.xml | 6 +-
.../as/quickstart/cdi/veto/model/Car.java | 3 +-
.../webapp/WEB-INF/cdi-veto-quickstart-ds.xml | 6 +-
...ectionWithVetoExtensionAndManagerTest.java | 16 +-
...onWithVetoExtensionWithoutManagerTest.java | 16 +-
...onWithoutVetoExtensionWithManagerTest.java | 14 +-
cluster-ha-singleton/pom.xml | 4 +-
cluster-ha-singleton/service/pom.xml | 10 +-
.../service/ejb/HATimerService.java | 6 +-
.../service/ejb/HATimerServiceActivator.java | 31 +-
.../service/ejb/SchedulerBean.java | 1 -
cmt/pom.xml | 24 +-
.../cmt/ejb/InvoiceManagerEJB.java | 2 +-
.../as/quickstarts/cmt/mdb/HelloWorldMDB.java | 6 +-
cmt/src/main/webapp/WEB-INF/beans.xml | 2 +-
cmt/src/main/webapp/WEB-INF/faces-config.xml | 4 +-
.../as/quickstarts/contacts/test/Contact.java | 18 +-
.../test/ContactsMobileBasicTest.java | 3 -
.../quickstarts/contacts/test/RESTTest.java | 12 +-
contacts-jquerymobile/pom.xml | 24 +-
.../contact/ContactRESTService.java | 5 +-
.../contact/ContactRepository.java | 4 +-
.../quickstarts/contact/ContactService.java | 4 +-
.../main/resources/META-INF/persistence.xml | 2 +-
.../src/main/webapp/WEB-INF/beans.xml | 4 +-
.../webapp/WEB-INF/contacts-quickstart-ds.xml | 8 +-
.../contact/test/ContactRegistrationTest.java | 108 +--
.../src/test/resources/arquillian-ds.xml | 8 +-
contributor-settings.xml | 14 +-
dist/license.txt | 4 +-
dist/pom.xml | 2 +-
ejb-asynchronous/client/pom.xml | 6 +-
.../client/AsynchronousClient.java | 3 +-
ejb-asynchronous/ejb/pom.xml | 4 +-
.../ejb/asynchronous/ParallelAccessBean.java | 1 -
ejb-asynchronous/pom.xml | 8 +-
ejb-in-ear/ear/pom.xml | 6 +-
ejb-in-ear/ejb/pom.xml | 2 +-
.../ejb/src/main/java/META-INF/beans.xml | 2 +-
ejb-in-ear/pom.xml | 12 +-
ejb-in-ear/web/pom.xml | 2 +-
.../web/src/main/webapp/WEB-INF/beans.xml | 2 +-
ejb-in-war/pom.xml | 36 +-
ejb-in-war/src/main/webapp/WEB-INF/beans.xml | 2 +-
.../src/main/webapp/WEB-INF/faces-config.xml | 2 +-
.../ejbinwar/test/GreeterEJBTest.java | 2 +-
.../ejbinwar/test/GreeterTest.java | 2 +-
ejb-multi-server/app-main/ear/pom.xml | 2 +-
.../application/META-INF/jboss-ejb-client.xml | 2 +-
ejb-multi-server/app-main/ejb/pom.xml | 2 +-
.../ejb/multi/server/app/MainApp.java | 12 +-
.../ejb/multi/server/app/MainAppBean.java | 58 +-
.../multi/server/app/MainAppSContextBean.java | 92 +-
ejb-multi-server/app-main/web/pom.xml | 4 +-
.../ejb/multi/server/app/JsfController.java | 50 +-
.../web/src/main/webapp/WEB-INF/beans.xml | 2 +-
ejb-multi-server/app-one/ear/pom.xml | 4 +-
ejb-multi-server/app-one/ejb/pom.xml | 2 +-
.../ejb/multi/server/app/AppOne.java | 30 +-
ejb-multi-server/app-two/ear/pom.xml | 4 +-
ejb-multi-server/app-two/ejb/pom.xml | 2 +-
.../ejb/multi/server/app/AppTwo.java | 30 +-
.../ejb/multi/server/app/AppTwoBean.java | 3 +-
ejb-multi-server/app-web/pom.xml | 2 +-
.../quickstarts/ejb/multi/server/Client.java | 4 +-
ejb-multi-server/pom.xml | 8 +-
ejb-remote/client/pom.xml | 16 +-
.../ejb/remote/client/RemoteEJBClient.java | 10 +-
ejb-remote/pom.xml | 4 +-
ejb-remote/server-side/pom.xml | 14 +-
ejb-security-interceptors/pom.xml | 2 +-
.../ServerSecurityInterceptor.java | 4 +-
.../src/main/resources/META-INF/beans.xml | 6 +-
.../META-INF/jboss-deployment-structure.xml | 4 +-
.../resources/META-INF/jboss-ejb-client.xml | 2 +-
.../main/resources/META-INF/jboss-ejb3.xml | 6 +-
ejb-security/pom.xml | 10 +-
.../src/main/webapp/WEB-INF/beans.xml | 6 +-
ejb-security/src/main/webapp/WEB-INF/web.xml | 2 +-
ejb-throws-exception/ear/pom.xml | 234 ++---
ejb-throws-exception/ejb/pom.xml | 204 ++--
.../as/quickstarts/ear/ejb/GreeterEJB.java | 2 +-
.../ejb/src/main/resources/META-INF/beans.xml | 2 +-
ejb-throws-exception/pom.xml | 28 +-
ejb-throws-exception/web/pom.xml | 200 ++--
.../ear/controller/GreeterBean.java | 8 +-
.../web/src/main/webapp/WEB-INF/beans.xml | 4 +-
ejb-timer/pom.xml | 12 +-
ejb-timer/src/main/java/META-INF/beans.xml | 6 +-
.../quickstarts/ejbTimer/ScheduleExample.java | 7 +-
.../quickstarts/ejbTimer/TimeoutExample.java | 5 +-
greeter/pom.xml | 16 +-
.../as/quickstarts/greeter/domain/User.java | 2 +-
.../main/resources/META-INF/persistence.xml | 4 +-
greeter/src/main/webapp/WEB-INF/beans.xml | 4 +-
.../webapp/WEB-INF/greeter-quickstart-ds.xml | 12 +-
helloworld-html5/README.md | 6 +-
helloworld-html5/pom.xml | 12 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
helloworld-jms/pom.xml | 4 +-
.../quickstarts/jms/HelloWorldJMSClient.java | 1 -
.../helloworld-mbean-service/pom.xml | 122 +--
.../src/main/resources/META-INF/beans.xml | 6 +-
.../main/resources/META-INF/jboss-service.xml | 44 +-
.../helloworld-mbean-webapp/pom.xml | 122 +--
.../mbean/IAnnotatedHelloWorldMBean.java | 1 +
.../mbean/IHelloWorldMXBean.java | 1 +
.../main/webapp/META-INF/jboss-service.xml | 48 +-
.../src/main/webapp/WEB-INF/beans.xml | 46 +-
.../AnnotatedComponentHelloWorldTest.java | 24 +-
.../mbean/MXPojoHelloWorldTest.java | 24 +-
helloworld-mbean/pom.xml | 22 +-
helloworld-mdb-propertysubstitution/pom.xml | 30 +-
.../quickstarts/mdb/HelloWorldQueueMDB.java | 6 +-
.../servlet/HelloWorldMDBServletClient.java | 26 +-
helloworld-mdb/pom.xml | 32 +-
.../quickstarts/mdb/HelloWorldQueueMDB.java | 6 +-
.../servlet/HelloWorldMDBServletClient.java | 26 +-
helloworld-rs/pom.xml | 12 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
helloworld-singleton/pom.xml | 18 +-
.../src/main/webapp/WEB-INF/faces-config.xml | 2 +-
helloworld-ws/pom.xml | 48 +-
.../wshelloworld/HelloWorldServiceImpl.java | 3 +-
.../src/main/webapp/WEB-INF/beans.xml | 4 +-
helloworld/pom.xml | 10 +-
helloworld/src/main/webapp/WEB-INF/beans.xml | 2 +-
hibernate5/pom.xml | 36 +-
.../controller/MemberController.java | 4 +-
.../main/resources/META-INF/persistence.xml | 2 +-
hibernate5/src/main/webapp/WEB-INF/beans.xml | 4 +-
.../src/main/webapp/WEB-INF/faces-config.xml | 2 +-
.../WEB-INF/hibernate5-quickstart-ds.xml | 12 +-
inter-app/appA/pom.xml | 12 +-
.../appA/src/main/webapp/WEB-INF/beans.xml | 2 +-
.../src/main/webapp/WEB-INF/faces-config.xml | 2 +-
inter-app/appB/pom.xml | 12 +-
.../as/quickstarts/interapp/appB/Imports.java | 2 +-
.../appB/src/main/webapp/WEB-INF/beans.xml | 2 +-
inter-app/pom.xml | 10 +-
inter-app/shared/pom.xml | 4 +-
jaxws-addressing/client/pom.xml | 6 +-
.../jaxws/samples/wsa/AddressingTestCase.java | 2 +-
jaxws-addressing/pom.xml | 6 +-
.../ws/jaxws/samples/wsa/ServiceIface.java | 8 +-
.../ws/jaxws/samples/wsa/ServiceImpl.java | 16 +-
jaxws-ejb/client/pom.xml | 16 +-
.../jboss/quickstarts/ws/client/Client.java | 4 +-
jaxws-ejb/pom.xml | 4 +-
jaxws-ejb/service/pom.xml | 4 +-
.../jaxws/samples/jsr181pojo/EJB3Bean01.java | 1 -
jaxws-pojo/README.md | 2 +-
.../jboss/quickstarts/ws/client/Client.java | 2 +-
.../jaxws/samples/jsr181pojo/JSEBean01.java | 5 +-
.../samples/jsr181pojo/JSEBean01Service.java | 12 +-
jaxws-pojo/pom.xml | 4 +-
jaxws-retail/README.md | 2 +-
jaxws-retail/client/pom.xml | 4 +-
.../jboss/quickstarts/ws/client/Client.java | 2 +-
jaxws-retail/pom.xml | 2 +-
jaxws-retail/service/pom.xml | 2 +-
.../retail/profile/ProfileMgmtBean.java | 11 +-
jsonp/pom.xml | 42 +-
.../as/quickstarts/jsonp/JsonController.java | 14 +-
jta-crash-rec/pom.xml | 22 +-
.../jboss/as/quickstarts/xa/DbUpdaterMDB.java | 6 +-
.../jboss/as/quickstarts/xa/XAService.java | 2 +-
.../jboss/as/quickstarts/xa/XAServlet.java | 74 +-
.../main/resources/META-INF/persistence.xml | 2 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
.../WEB-INF/jta-crash-rec-quickstart-ds.xml | 8 +-
jts/application-component-1/pom.xml | 4 +-
.../cmt/controller/CustomerManager.java | 2 +-
.../main/resources/META-INF/persistence.xml | 2 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
.../main/webapp/WEB-INF/jts-quickstart-ds.xml | 8 +-
jts/application-component-2/pom.xml | 2 +-
.../cmt/jts/ejb/InvoiceManagerEJBImpl.java | 18 +-
.../cmt/jts/mdb/HelloWorldMDB.java | 40 +-
.../src/main/resources/META-INF/beans.xml | 4 +-
jts/pom.xml | 22 +-
kitchensink-ear/ear/pom.xml | 12 +-
.../kitchensink-ear-quickstart-ds.xml | 12 +-
kitchensink-ear/ejb/pom.xml | 18 +-
.../ejb/src/main/resources/META-INF/beans.xml | 2 +-
.../main/resources/META-INF/persistence.xml | 2 +-
.../test/MemberRegistrationTest.java | 10 +-
.../resources/META-INF/test-persistence.xml | 6 +-
.../ejb/src/test/resources/test-ds.xml | 12 +-
kitchensink-ear/pom.xml | 26 +-
kitchensink-ear/web/pom.xml | 2 +-
.../controller/MemberController.java | 2 +-
.../web/src/main/webapp/WEB-INF/beans.xml | 4 +-
.../src/main/webapp/WEB-INF/faces-config.xml | 2 +-
kitchensink-html5-mobile/.cheatsheet.xml | 92 +-
kitchensink-html5-mobile/README.md | 4 +-
kitchensink-html5-mobile/pom.xml | 2 +-
.../html5_mobile/util/JSONPRequestFilter.java | 2 +-
.../main/resources/META-INF/persistence.xml | 2 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
.../WEB-INF/kitchensink-quickstart-ds.xml | 8 +-
.../test/MemberRegistrationTest.java | 16 +-
.../resources/META-INF/test-persistence.xml | 2 +-
.../src/test/resources/arquillian-ds.xml | 8 +-
kitchensink-jsp/pom.xml | 52 +-
.../main/resources/META-INF/persistence.xml | 2 +-
.../src/main/webapp/WEB-INF/beans.xml | 4 +-
.../WEB-INF/kitchensink-quickstart-ds.xml | 12 +-
.../test/MemberRegistrationTest.java | 6 +-
.../resources/META-INF/test-persistence.xml | 6 +-
.../src/test/resources/test-ds.xml | 12 +-
kitchensink-ml-ear/ear/pom.xml | 12 +-
.../kitchensink-ear-quickstart-ds.xml | 12 +-
kitchensink-ml-ear/ejb/pom.xml | 16 +-
.../ejb/src/main/resources/META-INF/beans.xml | 2 +-
.../main/resources/META-INF/persistence.xml | 2 +-
.../test/MemberRegistrationTest.java | 10 +-
.../resources/META-INF/test-persistence.xml | 6 +-
.../ejb/src/test/resources/test-ds.xml | 12 +-
kitchensink-ml-ear/pom.xml | 26 +-
kitchensink-ml-ear/web/pom.xml | 4 +-
.../controller/MemberController.java | 4 +-
.../kitchensink_ear/util/WebResources.java | 2 +-
.../web/src/main/webapp/WEB-INF/beans.xml | 4 +-
.../src/main/webapp/WEB-INF/faces-config.xml | 2 +-
kitchensink-ml/pom.xml | 52 +-
.../controller/MemberController.java | 4 +-
.../kitchensink/util/KitchensinkMessages.java | 2 +-
.../main/resources/META-INF/persistence.xml | 2 +-
.../src/main/webapp/WEB-INF/beans.xml | 4 +-
.../src/main/webapp/WEB-INF/faces-config.xml | 2 +-
.../WEB-INF/kitchensink-quickstart-ds.xml | 12 +-
.../test/MemberRegistrationTest.java | 10 +-
.../resources/META-INF/test-persistence.xml | 6 +-
kitchensink-ml/src/test/resources/test-ds.xml | 12 +-
kitchensink/.cheatsheet.xml | 118 +--
kitchensink/pom.xml | 56 +-
.../main/resources/META-INF/persistence.xml | 2 +-
kitchensink/src/main/webapp/WEB-INF/beans.xml | 4 +-
.../src/main/webapp/WEB-INF/faces-config.xml | 2 +-
.../WEB-INF/kitchensink-quickstart-ds.xml | 12 +-
.../test/MemberRegistrationTest.java | 10 +-
.../resources/META-INF/test-persistence.xml | 6 +-
kitchensink/src/test/resources/test-ds.xml | 12 +-
log4j/pom.xml | 20 +-
log4j/src/main/webapp/WEB-INF/beans.xml | 2 +-
.../src/main/webapp/WEB-INF/faces-config.xml | 2 +-
.../WEB-INF/jboss-deployment-structure.xml | 2 +-
logging-tools/pom.xml | 14 +-
.../loggingToolsQS/DateService.java | 2 +-
logging/pom.xml | 20 +-
mail/pom.xml | 12 +-
mail/src/main/webapp/WEB-INF/beans.xml | 2 +-
mail/src/main/webapp/WEB-INF/faces-config.xml | 2 +-
managedexecutorservice/pom.xml | 48 +-
.../main/resources/META-INF/persistence.xml | 2 +-
.../jboss-managedexecutorservice-ds.xml | 8 +-
numberguess/pom.xml | 16 +-
numberguess/src/main/webapp/WEB-INF/beans.xml | 2 +-
.../src/main/webapp/WEB-INF/faces-config.xml | 2 +-
payment-cdi-event/pom.xml | 24 +-
.../payment/events/PaymentTypeEnum.java | 3 +-
.../payment/qualifiers/Credit.java | 2 +-
.../quickstarts/payment/qualifiers/Debit.java | 2 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
picketlink-sts/pom.xml | 8 +-
.../picketlink/WSTrustClientExample.java | 2 +-
.../app/sts/PicketLinkSTService.java | 3 +-
.../src/main/webapp/WEB-INF/jboss-web.xml | 4 +-
pom.xml | 6 +-
resteasy-jaxrs-client/pom.xml | 10 +-
.../jaxrsclient/JaxRsClientTest.java | 6 +-
servlet-async/pom.xml | 12 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
servlet-filterlistener/pom.xml | 12 +-
.../ParameterDumpingRequestListener.java | 2 +-
.../filterlistener/VowelRemoverFilter.java | 2 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
servlet-security/pom.xml | 14 +-
.../main/resources/META-INF/persistence.xml | 4 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
.../src/main/webapp/WEB-INF/jboss-web.xml | 4 +-
.../servlet-security-quickstart-ds.xml | 10 +-
settings.xml | 224 ++---
shopping-cart/client/pom.xml | 8 +-
.../jboss/as/quickstarts/client/Client.java | 2 +-
shopping-cart/pom.xml | 16 +-
shopping-cart/server/pom.xml | 4 +-
shrinkwrap-resolver/README.md | 4 +-
shrinkwrap-resolver/pom.xml | 44 +-
.../main/resources/META-INF/persistence.xml | 2 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
.../src/main/webapp/WEB-INF/faces-config.xml | 2 +-
.../jboss-as-shrinkwrap-resolver-ds.xml | 8 +-
...olveGAPCVCustomRepoWithoutCentralTest.java | 8 +-
.../resources/META-INF/test-persistence.xml | 6 +-
.../src/test/resources/test-ds.xml | 8 +-
spring-greeter/pom.xml | 10 +-
.../greeter_spring/domain/UserDaoImpl.java | 2 +-
.../greeter_spring/web/CreateController.java | 5 +-
.../greeter_spring/web/GreetController.java | 6 +-
.../WEB-INF/greeter-spring-quickstart-ds.xml | 8 +-
.../webapp/WEB-INF/spring-mvc-context.xml | 2 +-
.../quickstarts/kitchensink/test/Member.java | 15 +-
.../test/page/MembersTablePageFragment.java | 1 -
.../page/RegistrationFormPageFragment.java | 1 -
.../pom.xml | 2 +-
.../controller/MemberRestController.java | 6 +-
.../main/resources/META-INF/persistence.xml | 6 +-
.../META-INF/spring/applicationContext.xml | 2 +-
.../META-INF/spring/infrastructure.xml | 2 +-
.../WEB-INF/jboss-as-spring-mvc-context.xml | 2 +-
.../webapp/WEB-INF/spring-quickstart-ds.xml | 6 +-
.../src/main/webapp/WEB-INF/web.xml | 4 +-
.../test/MemberDaoTest.java | 4 +-
.../resources/META-INF/test-persistence.xml | 2 +-
.../src/test/resources/test-context.xml | 2 +-
.../functional-tests/pom.xml | 4 +-
.../quickstarts/kitchensink/test/Member.java | 15 +-
.../test/page/MembersTablePageFragment.java | 1 -
.../page/RegistrationFormPageFragment.java | 1 -
spring-kitchensink-basic/pom.xml | 2 +-
.../controller/MemberRestController.java | 6 +-
.../main/resources/META-INF/persistence.xml | 6 +-
.../META-INF/spring/applicationContext.xml | 2 +-
.../META-INF/spring/infrastructure.xml | 2 +-
.../WEB-INF/jboss-as-spring-mvc-context.xml | 2 +-
.../webapp/WEB-INF/spring-quickstart-ds.xml | 6 +-
.../spring/basic/test/MemberDaoTest.java | 4 +-
.../resources/META-INF/test-persistence.xml | 2 +-
.../src/test/resources/test-context.xml | 2 +-
...KitchensinkSpringControllerAdviceTest.java | 2 -
.../quickstarts/kitchensink/test/Member.java | 15 +-
.../test/page/MemberPageFragment.java | 1 -
.../page/RegistrationFormPageFragment.java | 1 -
spring-kitchensink-controlleradvice/pom.xml | 2 +-
.../controller/MemberControllerAdvice.java | 1 -
.../controller/MemberRestController.java | 6 +-
.../main/resources/META-INF/persistence.xml | 6 +-
.../META-INF/spring/applicationContext.xml | 2 +-
.../META-INF/spring/infrastructure.xml | 2 +-
.../WEB-INF/jboss-as-spring-mvc-context.xml | 2 +-
.../webapp/WEB-INF/spring-quickstart-ds.xml | 6 +-
.../src/main/webapp/WEB-INF/web.xml | 4 +-
.../controlleradvice/test/MemberDaoTest.java | 4 +-
.../resources/META-INF/test-persistence.xml | 2 +-
.../src/test/resources/test-context.xml | 2 +-
.../KitchensinkSpringMatrixVariablesTest.java | 1 -
.../quickstarts/kitchensink/test/Member.java | 15 +-
.../test/page/MemberPageFragment.java | 1 -
.../test/page/MembersTablePageFragment.java | 4 +-
.../page/RegistrationFormPageFragment.java | 1 -
spring-kitchensink-matrixvariables/pom.xml | 2 +-
.../matrixvariables/config/WebConfig.java | 2 +-
.../controller/MemberController.java | 3 +-
.../controller/MemberRestController.java | 6 +-
.../main/resources/META-INF/persistence.xml | 6 +-
.../META-INF/spring/applicationContext.xml | 2 +-
.../META-INF/spring/infrastructure.xml | 2 +-
.../WEB-INF/jboss-as-spring-mvc-context.xml | 4 +-
.../webapp/WEB-INF/spring-quickstart-ds.xml | 4 +-
.../src/main/webapp/WEB-INF/web.xml | 4 +-
.../matrixvariables/test/MemberDaoTest.java | 4 +-
.../resources/META-INF/test-persistence.xml | 2 +-
.../src/test/resources/test-context.xml | 2 +-
.../quickstarts/kitchensink/test/Member.java | 15 +-
.../test/page/MemberPageFragment.java | 1 -
.../test/page/MembersTablePageFragment.java | 1 -
.../page/RegistrationFormPageFragment.java | 1 -
spring-kitchensink-springmvctest/pom.xml | 4 +-
.../controller/MemberRestController.java | 6 +-
.../main/resources/META-INF/persistence.xml | 6 +-
.../META-INF/spring/applicationContext.xml | 2 +-
.../META-INF/spring/infrastructure.xml | 2 +-
.../WEB-INF/jboss-as-spring-mvc-context.xml | 2 +-
.../webapp/WEB-INF/spring-quickstart-ds.xml | 6 +-
.../springmvctest/test/MemberDaoTest.java | 4 +-
.../springmvctest/test/MemberMockMVCTest.java | 8 +-
.../resources/META-INF/test-persistence.xml | 2 +-
.../src/test/resources/test-context.xml | 2 +-
spring-petclinic/functional-tests/pom.xml | 4 +-
.../test/webdriver/PetclinicTest.java | 4 +-
.../spring/petclinic/test/webdriver/Vet.java | 5 -
.../src/test/resources/arquillian.xml | 6 +-
.../src/test/resources/jdbc_web.xml | 6 +-
spring-petclinic/license.txt | 2 +-
spring-petclinic/pom.xml | 886 +++++++++---------
.../samples/petclinic/model/BaseEntity.java | 1 -
.../samples/petclinic/model/NamedEntity.java | 2 -
.../samples/petclinic/model/Owner.java | 17 +-
.../samples/petclinic/model/Person.java | 1 -
.../samples/petclinic/model/Pet.java | 1 -
.../samples/petclinic/model/Vet.java | 3 +-
.../samples/petclinic/model/Visit.java | 2 -
.../petclinic/repository/OwnerRepository.java | 2 -
.../petclinic/repository/VetRepository.java | 1 -
.../jdbc/JdbcOwnerRepositoryImpl.java | 44 +-
.../petclinic/repository/jdbc/JdbcPet.java | 1 -
.../jdbc/JdbcPetRepositoryImpl.java | 35 +-
.../jdbc/JdbcPetVisitExtractor.java | 2 +-
.../jdbc/JdbcVetRepositoryImpl.java | 24 +-
.../jdbc/JdbcVisitRepositoryImpl.java | 20 +-
.../repository/jdbc/JdbcVisitRowMapper.java | 1 -
.../jpa/JpaOwnerRepositoryImpl.java | 14 +-
.../repository/jpa/JpaPetRepositoryImpl.java | 12 +-
.../repository/jpa/JpaVetRepositoryImpl.java | 1 -
.../jpa/JpaVisitRepositoryImpl.java | 14 +-
.../SpringDataOwnerRepository.java | 12 +-
.../petclinic/service/ClinicService.java | 1 -
.../petclinic/service/ClinicServiceImpl.java | 3 -
.../petclinic/util/CallMonitoringAspect.java | 12 +-
.../samples/petclinic/util/EntityUtils.java | 2 +-
.../petclinic/web/CrashController.java | 3 +-
.../petclinic/web/OwnerController.java | 7 +-
.../samples/petclinic/web/PetController.java | 3 +-
.../petclinic/web/PetTypeFormatter.java | 2 -
.../samples/petclinic/web/PetValidator.java | 3 +-
.../samples/petclinic/web/VetController.java | 7 +-
.../petclinic/web/VisitController.java | 5 +-
.../src/main/resources/logback.xml | 4 +-
.../main/resources/spring/business-config.xml | 38 +-
.../resources/spring/datasource-config.xml | 118 +--
.../main/resources/spring/mvc-core-config.xml | 4 +-
.../main/resources/spring/mvc-view-config.xml | 40 +-
.../main/resources/spring/tools-config.xml | 4 +-
.../WEB-INF/no-spring-config-files-there.txt | 2 +-
.../src/main/webapp/WEB-INF/web.xml | 290 +++---
.../petclinic/model/ValidatorTests.java | 16 +-
.../service/AbstractClinicServiceTests.java | 163 ++--
.../service/ClinicServiceJdbcTests.java | 3 +-
.../service/ClinicServiceJpaTests.java | 2 +-
.../ClinicServiceSpringDataJpaTests.java | 2 +-
.../petclinic/web/VetControllerTests.java | 10 +-
spring-resteasy/pom.xml | 20 +-
.../resteasyspring/HelloSpringResource.java | 19 +-
.../webapp/WEB-INF/applicationContext.xml | 2 +-
.../src/main/webapp/WEB-INF/web.xml | 4 +-
spring-resteasy/src/test/resources/log4j.xml | 2 +-
tasks-jsf/pom.xml | 12 +-
.../quickstarts/tasksJsf/AuthController.java | 1 -
.../quickstarts/tasksJsf/Authentication.java | 1 -
.../tasksJsf/CurrentTaskStore.java | 1 -
.../as/quickstarts/tasksJsf/TaskDaoImpl.java | 2 +-
.../as/quickstarts/tasksJsf/TaskList.java | 1 -
.../as/quickstarts/tasksJsf/TaskListBean.java | 1 -
.../as/quickstarts/tasksJsf/UserDaoImpl.java | 2 +-
.../main/resources/META-INF/persistence.xml | 6 +-
tasks-jsf/src/main/webapp/WEB-INF/beans.xml | 4 +-
.../src/main/webapp/WEB-INF/faces-config.xml | 6 +-
.../src/main/webapp/WEB-INF/tasks-jsf-ds.xml | 12 +-
.../quickstarts/tasksJsf/ResourcesTest.java | 2 +-
.../as/quickstarts/tasksJsf/TaskDaoTest.java | 4 +-
.../tasksJsf/TaskListBeanTest.java | 2 +-
.../as/quickstarts/tasksJsf/UserDaoTest.java | 2 +-
.../resources/META-INF/test-persistence.xml | 6 +-
tasks-jsf/src/test/resources/test-ds.xml | 12 +-
tasks-rs/pom.xml | 4 +-
.../as/quickstarts/tasksrs/model/Task.java | 5 +-
.../tasksrs/model/TaskDaoImpl.java | 2 +-
.../tasksrs/model/UserDaoImpl.java | 2 +-
.../tasksrs/service/TaskResource.java | 18 +-
tasks-rs/src/main/webapp/WEB-INF/beans.xml | 4 +-
.../src/main/webapp/WEB-INF/tasks-rs-ds.xml | 8 +-
.../tasksrs/DefaultDeployment.java | 4 +-
.../as/quickstarts/tasksrs/TaskDaoTest.java | 4 +-
.../as/quickstarts/tasksrs/UserDaoTest.java | 2 +-
tasks-rs/src/test/resources/test-ds.xml | 8 +-
tasks/pom.xml | 36 +-
.../as/quickstarts/tasks/TaskDaoImpl.java | 2 +-
.../org/jboss/as/quickstarts/tasks/User.java | 2 +-
.../as/quickstarts/tasks/UserDaoImpl.java | 2 +-
tasks/src/test/java/META-INF/beans.xml | 6 +-
.../quickstarts/tasks/DefaultDeployment.java | 10 +-
.../as/quickstarts/tasks/TaskDaoTest.java | 2 +-
.../resources/META-INF/test-persistence.xml | 6 +-
tasks/src/test/resources/test-ds.xml | 12 +-
temperature-converter/pom.xml | 16 +-
.../temperatureconverter/ejb/Scale.java | 3 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
.../src/main/webapp/WEB-INF/faces-config.xml | 2 +-
template/pom.xml | 8 +-
websocket-endpoint/pom.xml | 48 +-
.../src/main/webapp/WEB-INF/beans.xml | 2 +-
websocket-hello/pom.xml | 10 +-
.../websocket_hello/HelloName.java | 2 +-
.../src/main/webapp/WEB-INF/jboss-web.xml | 4 +-
wsat-simple/pom.xml | 12 +-
.../wsat/simple/RestaurantParticipant.java | 2 +-
.../wsat/simple/RestaurantServiceATImpl.java | 3 +-
.../jaxws/RestaurantServiceATService.java | 6 +-
.../servlet/WSATSimpleServletClient.java | 4 +-
wsat-simple/src/main/webapp/WEB-INF/beans.xml | 6 +-
.../WEB-INF/classes/context-handlers.xml | 2 +-
.../src/main/webapp/WEB-INF/jboss-web.xml | 4 +-
.../as/quickstarts/wsat/simple/Client.java | 4 +-
.../quickstarts/wsat/simple/ClientStub.java | 2 +-
.../quickstarts/wsat/simple/ClientTest.java | 18 +-
wsat-simple/src/test/resources/arquillian.xml | 6 +-
.../src/test/resources/context-handlers.xml | 2 +-
wsba-coordinator-completion-simple/pom.xml | 38 +-
.../simple/MockSetManager.java | 4 +-
.../simple/SetParticipantBA.java | 12 +-
.../simple/SetServiceBAImpl.java | 5 +-
.../simple/jaxws/SetServiceBAService.java | 2 +-
.../src/test/java/META-INF/beans.xml | 4 +-
.../coordinatorcompletion/simple/Client.java | 4 +-
.../simple/ClientStub.java | 2 +-
.../simple/ClientTest.java | 18 +-
.../src/test/resources/context-handlers.xml | 2 +-
wsba-participant-completion-simple/pom.xml | 14 +-
.../src/main/java/META-INF/beans.xml | 4 +-
.../simple/MockSetManager.java | 4 +-
.../simple/SetParticipantBA.java | 10 +-
.../simple/SetServiceBAImpl.java | 7 +-
.../simple/jaxws/SetServiceBAService.java | 2 +-
.../participantcompletion/simple/Client.java | 4 +-
.../simple/ClientStub.java | 2 +-
.../simple/ClientTest.java | 18 +-
.../src/test/resources/context-handlers.xml | 2 +-
xml-dom4j/pom.xml | 38 +-
.../jboss/as/quickstart/xml/XMLParser.java | 2 +-
.../xml/upload/FileUploadServlet.java | 2 +-
xml-dom4j/src/main/resources/catalog.xml | 2 +-
xml-dom4j/src/main/webapp/WEB-INF/beans.xml | 2 +-
xml-jaxp/pom.xml | 32 +-
.../jboss/as/quickstart/xml/XMLParser.java | 2 +-
.../xml/upload/FileUploadServlet.java | 2 +-
xml-jaxp/src/main/resources/catalog.xml | 2 +-
xml-jaxp/src/main/webapp/WEB-INF/beans.xml | 4 +-
582 files changed, 3735 insertions(+), 3758 deletions(-)
diff --git a/app-client/client-simple/pom.xml b/app-client/client-simple/pom.xml
index a6af58590a..ac62ed9e26 100644
--- a/app-client/client-simple/pom.xml
+++ b/app-client/client-simple/pom.xml
@@ -70,6 +70,6 @@
-
+
diff --git a/app-client/client-simple/src/main/java/org/jboss/as/quickstarts/appclient/acc/client/Main.java b/app-client/client-simple/src/main/java/org/jboss/as/quickstarts/appclient/acc/client/Main.java
index 8d1883a2d9..6807f593d2 100644
--- a/app-client/client-simple/src/main/java/org/jboss/as/quickstarts/appclient/acc/client/Main.java
+++ b/app-client/client-simple/src/main/java/org/jboss/as/quickstarts/appclient/acc/client/Main.java
@@ -52,8 +52,9 @@ private Main() {
*/
public static void main(String args[]) {
// Show that the client is started with arguments at command line
- LOG.info("Main started " + ( args.length != 0 ? "with" : "without") + " arguments");
- if(args.length > 0) LOG.info(" " + Arrays.asList(args));
+ LOG.info("Main started " + (args.length != 0 ? "with" : "without") + " arguments");
+ if (args.length > 0)
+ LOG.info(" " + Arrays.asList(args));
// add an client side interceptor to provide the client machine name to the server application
EJBClientContext.getCurrent().registerInterceptor(0, new ClientInterceptor());
diff --git a/app-client/client-simple/src/main/resources/META-INF/application-client.xml b/app-client/client-simple/src/main/resources/META-INF/application-client.xml
index 77ce11c9db..0038346d13 100644
--- a/app-client/client-simple/src/main/resources/META-INF/application-client.xml
+++ b/app-client/client-simple/src/main/resources/META-INF/application-client.xml
@@ -15,8 +15,8 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
SimpleApplicationClient
diff --git a/app-client/ejb/pom.xml b/app-client/ejb/pom.xml
index d7fe154753..ad7f12d1b3 100644
--- a/app-client/ejb/pom.xml
+++ b/app-client/ejb/pom.xml
@@ -17,18 +17,18 @@
-->
4.0.0
-
+
org.jboss.quickstarts.eap
jboss-app-client
7.0.0-SNAPSHOT
-
+
jboss-app-client-ejb
ejb
JBoss EAP Quickstart: app-client - ejb
http://maven.apache.org
-
+
Apache License, Version 2.0
@@ -36,7 +36,7 @@
http://www.apache.org/licenses/LICENSE-2.0.html
-
+
org.wildfly
diff --git a/app-client/ejb/src/main/java/org/jboss/as/quickstarts/appclient/server/ejb/StatelessSession.java b/app-client/ejb/src/main/java/org/jboss/as/quickstarts/appclient/server/ejb/StatelessSession.java
index a00a38f91b..fd4b46a932 100644
--- a/app-client/ejb/src/main/java/org/jboss/as/quickstarts/appclient/server/ejb/StatelessSession.java
+++ b/app-client/ejb/src/main/java/org/jboss/as/quickstarts/appclient/server/ejb/StatelessSession.java
@@ -27,6 +27,7 @@ public interface StatelessSession {
* Show the provided client context data via INFO logging.
*/
public abstract void invokeWithClientContext();
+
/**
*
* @return a greeting string with the jboss.node.name
diff --git a/app-client/ejb/src/main/java/org/jboss/as/quickstarts/appclient/server/ejb/StatelessSessionBean.java b/app-client/ejb/src/main/java/org/jboss/as/quickstarts/appclient/server/ejb/StatelessSessionBean.java
index 05e2208bdd..4a6ce1de6b 100644
--- a/app-client/ejb/src/main/java/org/jboss/as/quickstarts/appclient/server/ejb/StatelessSessionBean.java
+++ b/app-client/ejb/src/main/java/org/jboss/as/quickstarts/appclient/server/ejb/StatelessSessionBean.java
@@ -36,7 +36,7 @@ public class StatelessSessionBean implements StatelessSession {
@Override
public void invokeWithClientContext() {
- LOGGER.info("ClientContext is here = "+context.getContextData());
+ LOGGER.info("ClientContext is here = " + context.getContextData());
}
@Override
diff --git a/app-client/pom.xml b/app-client/pom.xml
index 9e3cf1fa37..cb9a89c1d5 100644
--- a/app-client/pom.xml
+++ b/app-client/pom.xml
@@ -23,7 +23,7 @@
JBoss EAP Quickstart: app-client
app-client: An example that demonstrates how to package and use an EE application client.
This POM defines common properties to specify the used versions and plug-ins.
- The subprojects are built in the appropriate sequence.
+ The subprojects are built in the appropriate sequence.
http://www.jboss.org/products/eap
@@ -44,7 +44,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
diff --git a/batch-processing/pom.xml b/batch-processing/pom.xml
index 3d2ae38718..bdca5878f2 100644
--- a/batch-processing/pom.xml
+++ b/batch-processing/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -90,16 +90,16 @@
-
-
UTF-8
1.0.2.Final
-
7.0.0-build-7
@@ -116,8 +116,8 @@
@@ -139,7 +139,7 @@
-
javax.enterprise
@@ -157,7 +157,7 @@
provided
-
org.jboss.spec.javax.annotation
@@ -165,7 +165,7 @@
provided
-
org.jboss.spec.javax.ws.rs
@@ -173,7 +173,7 @@
provided
-
org.hibernate.javax.persistence
@@ -181,7 +181,7 @@
provided
-
org.jboss.spec.javax.ejb
@@ -204,7 +204,7 @@
-
org.jboss.spec.javax.faces
@@ -220,7 +220,7 @@
commons-lang
-
org.hibernate
@@ -228,7 +228,7 @@
provided
-
org.hibernate
@@ -244,7 +244,7 @@
-
org.jboss.arquillian.junit
@@ -261,7 +261,7 @@
-
${project.artifactId}
@@ -285,9 +285,9 @@
-
-
default
@@ -338,11 +338,11 @@
-
-
-
openshift
diff --git a/batch-processing/src/main/java/org/jboss/as/quickstarts/batch/controller/JobData.java b/batch-processing/src/main/java/org/jboss/as/quickstarts/batch/controller/JobData.java
index 1990fcf8a7..b6edde8820 100644
--- a/batch-processing/src/main/java/org/jboss/as/quickstarts/batch/controller/JobData.java
+++ b/batch-processing/src/main/java/org/jboss/as/quickstarts/batch/controller/JobData.java
@@ -70,7 +70,7 @@ public Date getStartTime() {
}
public Date getEndTime() {
- endTime = new Date();
+ endTime = new Date();
return endTime.getTime() == 0 ? null : endTime;
}
diff --git a/batch-processing/src/main/java/org/jboss/as/quickstarts/batch/job/listener/JobListener.java b/batch-processing/src/main/java/org/jboss/as/quickstarts/batch/job/listener/JobListener.java
index e9b31780c0..14f322775a 100644
--- a/batch-processing/src/main/java/org/jboss/as/quickstarts/batch/job/listener/JobListener.java
+++ b/batch-processing/src/main/java/org/jboss/as/quickstarts/batch/job/listener/JobListener.java
@@ -47,7 +47,7 @@ public void afterJob() throws Exception {
JobOperator jobOperator = BatchRuntime.getJobOperator();
Properties jobParameters = jobOperator.getParameters(jobContext.getExecutionId());
//If the JOB was already restarted once, mark it as abandoned
- if (jobParameters.get("restartedOnce") != null && jobContext.getBatchStatus().equals(BatchStatus.FAILED)){
+ if (jobParameters.get("restartedOnce") != null && jobContext.getBatchStatus().equals(BatchStatus.FAILED)) {
log.info("Job already restarted once! Abandoning it forever");
jobOperator.abandon(jobContext.getExecutionId());
}
diff --git a/batch-processing/src/main/resources/META-INF/batch-jobs/import-file.xml b/batch-processing/src/main/resources/META-INF/batch-jobs/import-file.xml
index e7edbd25dc..855529dd72 100644
--- a/batch-processing/src/main/resources/META-INF/batch-jobs/import-file.xml
+++ b/batch-processing/src/main/resources/META-INF/batch-jobs/import-file.xml
@@ -42,4 +42,4 @@
-
\ No newline at end of file
+
diff --git a/batch-processing/src/main/resources/META-INF/persistence.xml b/batch-processing/src/main/resources/META-INF/persistence.xml
index 7e5a35305d..e1968d733d 100644
--- a/batch-processing/src/main/resources/META-INF/persistence.xml
+++ b/batch-processing/src/main/resources/META-INF/persistence.xml
@@ -22,7 +22,7 @@
http://xmlns.jcp.org/xml/ns/persistence
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
-
diff --git a/batch-processing/src/main/webapp/WEB-INF/jboss-batch-processing-ds.xml b/batch-processing/src/main/webapp/WEB-INF/jboss-batch-processing-ds.xml
index a5866a9859..15749df80c 100644
--- a/batch-processing/src/main/webapp/WEB-INF/jboss-batch-processing-ds.xml
+++ b/batch-processing/src/main/webapp/WEB-INF/jboss-batch-processing-ds.xml
@@ -16,13 +16,13 @@
limitations under the License.
-->
-
-
-
+
diff --git a/bean-validation-custom-constraint/pom.xml b/bean-validation-custom-constraint/pom.xml
index 1af32854ea..961d0a6b25 100644
--- a/bean-validation-custom-constraint/pom.xml
+++ b/bean-validation-custom-constraint/pom.xml
@@ -40,7 +40,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -180,14 +180,14 @@
hibernate-jpamodelgen
provided
-
+
org.hibernate
hibernate-core
provided
-
+
junit
@@ -254,7 +254,7 @@
default
-
+
true
diff --git a/bean-validation-custom-constraint/src/main/java/org/jboss/as/quickstarts/bean_validation_custom_constraint/AddressValidator.java b/bean-validation-custom-constraint/src/main/java/org/jboss/as/quickstarts/bean_validation_custom_constraint/AddressValidator.java
index dad6945610..573835ad38 100644
--- a/bean-validation-custom-constraint/src/main/java/org/jboss/as/quickstarts/bean_validation_custom_constraint/AddressValidator.java
+++ b/bean-validation-custom-constraint/src/main/java/org/jboss/as/quickstarts/bean_validation_custom_constraint/AddressValidator.java
@@ -24,6 +24,7 @@ public class AddressValidator implements ConstraintValidator
-
-
\ No newline at end of file
+
diff --git a/bean-validation-custom-constraint/src/test/resources/META-INF/test-persistence.xml b/bean-validation-custom-constraint/src/test/resources/META-INF/test-persistence.xml
index ea5ffc5b87..dc554f73d8 100644
--- a/bean-validation-custom-constraint/src/test/resources/META-INF/test-persistence.xml
+++ b/bean-validation-custom-constraint/src/test/resources/META-INF/test-persistence.xml
@@ -21,10 +21,10 @@
http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
-
-
java:jboss/datasources/BeanValidationCustomConstraintQuickstartTestDS
diff --git a/bean-validation-custom-constraint/src/test/resources/test-ds.xml b/bean-validation-custom-constraint/src/test/resources/test-ds.xml
index d4259faf5e..99e73901ca 100644
--- a/bean-validation-custom-constraint/src/test/resources/test-ds.xml
+++ b/bean-validation-custom-constraint/src/test/resources/test-ds.xml
@@ -15,14 +15,14 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
+
-
-
+
diff --git a/bean-validation/pom.xml b/bean-validation/pom.xml
index 4dbc864d56..ed31cdb719 100644
--- a/bean-validation/pom.xml
+++ b/bean-validation/pom.xml
@@ -40,7 +40,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
diff --git a/bean-validation/src/main/java/META-INF/beans.xml b/bean-validation/src/main/java/META-INF/beans.xml
index 8c5ac6eaa9..4114ef5dc1 100644
--- a/bean-validation/src/main/java/META-INF/beans.xml
+++ b/bean-validation/src/main/java/META-INF/beans.xml
@@ -16,10 +16,10 @@
limitations under the License.
-->
-
-
\ No newline at end of file
+
diff --git a/bean-validation/src/main/java/org/jboss/as/quickstarts/bean_validation/model/Member.java b/bean-validation/src/main/java/org/jboss/as/quickstarts/bean_validation/model/Member.java
index 1c3175968b..28da9cd97b 100644
--- a/bean-validation/src/main/java/org/jboss/as/quickstarts/bean_validation/model/Member.java
+++ b/bean-validation/src/main/java/org/jboss/as/quickstarts/bean_validation/model/Member.java
@@ -33,7 +33,7 @@
import org.hibernate.validator.constraints.NotEmpty;
@Entity
-@Table(name="MEMBER_BEAN_VALIDATION", uniqueConstraints = @UniqueConstraint(columnNames = "email"))
+@Table(name = "MEMBER_BEAN_VALIDATION", uniqueConstraints = @UniqueConstraint(columnNames = "email"))
public class Member implements Serializable {
/** Default value included to remove warning. Remove or modify at will. **/
private static final long serialVersionUID = 1L;
diff --git a/bean-validation/src/test/java/org/jboss/as/quickstarts/bean_validation/test/MemberValidationTest.java b/bean-validation/src/test/java/org/jboss/as/quickstarts/bean_validation/test/MemberValidationTest.java
index 7027d19a42..28572e8fbf 100644
--- a/bean-validation/src/test/java/org/jboss/as/quickstarts/bean_validation/test/MemberValidationTest.java
+++ b/bean-validation/src/test/java/org/jboss/as/quickstarts/bean_validation/test/MemberValidationTest.java
@@ -55,14 +55,14 @@ public class MemberValidationTest {
@Deployment
public static Archive> createTestArchive() {
return ShrinkWrap.create(WebArchive.class, "test.war").addClasses(Member.class)
- // enable JPA
- .addAsResource("META-INF/test-persistence.xml", "META-INF/persistence.xml")
- // add sample data
- .addAsResource("import.sql")
- // enable CDI
- .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml")
- // Deploy our test datasource
- .addAsWebInfResource("test-ds.xml", "test-ds.xml");
+ // enable JPA
+ .addAsResource("META-INF/test-persistence.xml", "META-INF/persistence.xml")
+ // add sample data
+ .addAsResource("import.sql")
+ // enable CDI
+ .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml")
+ // Deploy our test datasource
+ .addAsWebInfResource("test-ds.xml", "test-ds.xml");
}
// Get configured validator directly from JBoss EAP environment
@@ -109,7 +109,7 @@ public void testNameViolation() {
Assert.assertEquals("One violation was found", 1, violations.size());
Assert.assertEquals("Name was invalid", "must contain only letters and spaces", violations.iterator().next()
- .getMessage());
+ .getMessage());
}
/**
@@ -136,7 +136,7 @@ public void testPhoneViolation() {
Assert.assertEquals("One violation was found", 1, violations.size());
Assert.assertEquals("Phone number was invalid", "size must be between 10 and 12", violations.iterator().next()
- .getMessage());
+ .getMessage());
}
private Member createValidMember() {
diff --git a/bean-validation/src/test/resources/META-INF/test-persistence.xml b/bean-validation/src/test/resources/META-INF/test-persistence.xml
index b301103565..ab537093b2 100644
--- a/bean-validation/src/test/resources/META-INF/test-persistence.xml
+++ b/bean-validation/src/test/resources/META-INF/test-persistence.xml
@@ -21,10 +21,10 @@
http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
-
-
java:jboss/datasources/BeanValidationQuickstartTestDS
diff --git a/bean-validation/src/test/resources/test-ds.xml b/bean-validation/src/test/resources/test-ds.xml
index 0697df5c0d..d47538980e 100644
--- a/bean-validation/src/test/resources/test-ds.xml
+++ b/bean-validation/src/test/resources/test-ds.xml
@@ -15,14 +15,14 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
+
-
-
+
diff --git a/bmt/pom.xml b/bmt/pom.xml
index 6d1bbfef3e..7d5f6d79a7 100644
--- a/bmt/pom.xml
+++ b/bmt/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -97,7 +97,7 @@
UTF-8
-
+
1.0.2.Final
1.0.3.Final
diff --git a/bmt/src/main/resources/META-INF/persistence.xml b/bmt/src/main/resources/META-INF/persistence.xml
index 2553a8c981..7968e4f377 100644
--- a/bmt/src/main/resources/META-INF/persistence.xml
+++ b/bmt/src/main/resources/META-INF/persistence.xml
@@ -21,7 +21,7 @@
http://xmlns.jcp.org/xml/ns/persistence
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
-
diff --git a/bmt/src/main/webapp/WEB-INF/beans.xml b/bmt/src/main/webapp/WEB-INF/beans.xml
index 955868d46a..460d1cf31b 100644
--- a/bmt/src/main/webapp/WEB-INF/beans.xml
+++ b/bmt/src/main/webapp/WEB-INF/beans.xml
@@ -19,6 +19,6 @@
diff --git a/bmt/src/main/webapp/WEB-INF/bmt-quickstart-ds.xml b/bmt/src/main/webapp/WEB-INF/bmt-quickstart-ds.xml
index c8f5387b96..f6d5ae8c54 100644
--- a/bmt/src/main/webapp/WEB-INF/bmt-quickstart-ds.xml
+++ b/bmt/src/main/webapp/WEB-INF/bmt-quickstart-ds.xml
@@ -15,14 +15,14 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
+
-
-
+
diff --git a/cdi-alternative/pom.xml b/cdi-alternative/pom.xml
index 7e524f1e70..507328f8c9 100644
--- a/cdi-alternative/pom.xml
+++ b/cdi-alternative/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -94,15 +94,15 @@
-->
-
UTF-8
-
+
1.0.2.Final
- 1.0.3.Final
+ 1.0.3.Final
2.1.1
@@ -114,8 +114,8 @@
-
-
-
- org.jboss.as.quickstarts.cdi.alternative.TaxImpl_2
-
-
-
+
+
+
+ org.jboss.as.quickstarts.cdi.alternative.TaxImpl_2
+
+
+
diff --git a/cdi-decorator/pom.xml b/cdi-decorator/pom.xml
index 6944efa001..1c4e500106 100644
--- a/cdi-decorator/pom.xml
+++ b/cdi-decorator/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
diff --git a/cdi-decorator/src/main/webapp/WEB-INF/beans.xml b/cdi-decorator/src/main/webapp/WEB-INF/beans.xml
index e7c3310e1d..68798efd3e 100644
--- a/cdi-decorator/src/main/webapp/WEB-INF/beans.xml
+++ b/cdi-decorator/src/main/webapp/WEB-INF/beans.xml
@@ -18,7 +18,7 @@
@@ -91,12 +91,12 @@
-
UTF-8
-
+
1.0.2.Final
1.0.3.Final
@@ -137,7 +137,7 @@
provided
-
org.jboss.spec.javax.annotation
diff --git a/cdi-injection/src/main/java/org/jboss/as/quickstarts/cdi/injection/qualifier/English.java b/cdi-injection/src/main/java/org/jboss/as/quickstarts/cdi/injection/qualifier/English.java
index d93d9e6e1f..2911635ae2 100644
--- a/cdi-injection/src/main/java/org/jboss/as/quickstarts/cdi/injection/qualifier/English.java
+++ b/cdi-injection/src/main/java/org/jboss/as/quickstarts/cdi/injection/qualifier/English.java
@@ -36,7 +36,7 @@
* @see Spanish
*/
@Qualifier
-@Target({TYPE, METHOD, FIELD, PARAMETER})
+@Target({ TYPE, METHOD, FIELD, PARAMETER })
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface English {
diff --git a/cdi-injection/src/main/java/org/jboss/as/quickstarts/cdi/injection/qualifier/Spanish.java b/cdi-injection/src/main/java/org/jboss/as/quickstarts/cdi/injection/qualifier/Spanish.java
index ff3faa2ad3..4f965ee06d 100644
--- a/cdi-injection/src/main/java/org/jboss/as/quickstarts/cdi/injection/qualifier/Spanish.java
+++ b/cdi-injection/src/main/java/org/jboss/as/quickstarts/cdi/injection/qualifier/Spanish.java
@@ -38,7 +38,7 @@
* @author Jason Porter
*/
@Qualifier
-@Target({TYPE, METHOD, FIELD, PARAMETER})
+@Target({ TYPE, METHOD, FIELD, PARAMETER })
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface Spanish {
diff --git a/cdi-injection/src/main/webapp/WEB-INF/beans.xml b/cdi-injection/src/main/webapp/WEB-INF/beans.xml
index 2af4b0b1be..81dcc04e38 100644
--- a/cdi-injection/src/main/webapp/WEB-INF/beans.xml
+++ b/cdi-injection/src/main/webapp/WEB-INF/beans.xml
@@ -17,6 +17,6 @@
diff --git a/cdi-interceptors/pom.xml b/cdi-interceptors/pom.xml
index f0fa81bf4a..e0cc647dc6 100644
--- a/cdi-interceptors/pom.xml
+++ b/cdi-interceptors/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -208,7 +208,7 @@
arquillian-protocol-servlet
test
-
+
diff --git a/cdi-interceptors/src/main/webapp/WEB-INF/beans.xml b/cdi-interceptors/src/main/webapp/WEB-INF/beans.xml
index 8e10e73fec..0e3c5f0358 100644
--- a/cdi-interceptors/src/main/webapp/WEB-INF/beans.xml
+++ b/cdi-interceptors/src/main/webapp/WEB-INF/beans.xml
@@ -18,7 +18,7 @@
org.jboss.as.quickstarts.cdi.interceptor.AuditInterceptor
diff --git a/cdi-interceptors/src/main/webapp/WEB-INF/cdi-quickstart-ds.xml b/cdi-interceptors/src/main/webapp/WEB-INF/cdi-quickstart-ds.xml
index 0da77098a2..a65f26b61d 100644
--- a/cdi-interceptors/src/main/webapp/WEB-INF/cdi-quickstart-ds.xml
+++ b/cdi-interceptors/src/main/webapp/WEB-INF/cdi-quickstart-ds.xml
@@ -15,13 +15,13 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
+
-
@@ -33,4 +33,4 @@
-
+
diff --git a/cdi-interceptors/src/test/java/org/jboss/as/quickstarts/cdi/interceptors/test/InterceptorsDisabledTest.java b/cdi-interceptors/src/test/java/org/jboss/as/quickstarts/cdi/interceptors/test/InterceptorsDisabledTest.java
index 54b75ca383..7adb687fdf 100644
--- a/cdi-interceptors/src/test/java/org/jboss/as/quickstarts/cdi/interceptors/test/InterceptorsDisabledTest.java
+++ b/cdi-interceptors/src/test/java/org/jboss/as/quickstarts/cdi/interceptors/test/InterceptorsDisabledTest.java
@@ -38,12 +38,12 @@ public class InterceptorsDisabledTest {
@Deployment
public static Archive> createDeployment() {
return ShrinkWrap.create(WebArchive.class, "test.war").addPackages(true, "org.jboss.as.quickstarts.cdi")
- // enable JPA
- .addAsResource("META-INF/test-persistence.xml", "META-INF/persistence.xml")
- // enable CDI and passing empty beans.xml descriptor to war archive, so cdi interceptors are disabled.
- .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml")
- // Deploy test datasource
- .addAsWebInfResource("test-ds.xml", "test-ds.xml");
+ // enable JPA
+ .addAsResource("META-INF/test-persistence.xml", "META-INF/persistence.xml")
+ // enable CDI and passing empty beans.xml descriptor to war archive, so cdi interceptors are disabled.
+ .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml")
+ // Deploy test datasource
+ .addAsWebInfResource("test-ds.xml", "test-ds.xml");
}
@EJB
diff --git a/cdi-interceptors/src/test/java/org/jboss/as/quickstarts/cdi/interceptors/test/InterceptorsEnabledTest.java b/cdi-interceptors/src/test/java/org/jboss/as/quickstarts/cdi/interceptors/test/InterceptorsEnabledTest.java
index 06838cfedb..3631864d2a 100644
--- a/cdi-interceptors/src/test/java/org/jboss/as/quickstarts/cdi/interceptors/test/InterceptorsEnabledTest.java
+++ b/cdi-interceptors/src/test/java/org/jboss/as/quickstarts/cdi/interceptors/test/InterceptorsEnabledTest.java
@@ -42,12 +42,12 @@ public class InterceptorsEnabledTest {
@Deployment
public static Archive> createDeployment() {
return ShrinkWrap.create(WebArchive.class, "test.war").addPackages(true, "org.jboss.as.quickstarts.cdi")
- // enable JPA
- .addAsResource("META-INF/test-persistence.xml", "META-INF/persistence.xml")
- // enable CDI interceptors
- .addAsWebInfResource("beans.xml", "beans.xml")
- // Deploy test datasource
- .addAsWebInfResource("test-ds.xml", "test-ds.xml");
+ // enable JPA
+ .addAsResource("META-INF/test-persistence.xml", "META-INF/persistence.xml")
+ // enable CDI interceptors
+ .addAsWebInfResource("beans.xml", "beans.xml")
+ // Deploy test datasource
+ .addAsWebInfResource("test-ds.xml", "test-ds.xml");
}
@EJB
diff --git a/cdi-interceptors/src/test/resources/META-INF/test-persistence.xml b/cdi-interceptors/src/test/resources/META-INF/test-persistence.xml
index f42602fffc..f970c251c7 100644
--- a/cdi-interceptors/src/test/resources/META-INF/test-persistence.xml
+++ b/cdi-interceptors/src/test/resources/META-INF/test-persistence.xml
@@ -20,10 +20,10 @@
http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
-
-
java:jboss/datasources/cdiInterceptorsQuickstartTestDS
diff --git a/cdi-interceptors/src/test/resources/beans.xml b/cdi-interceptors/src/test/resources/beans.xml
index 8e10e73fec..0e3c5f0358 100644
--- a/cdi-interceptors/src/test/resources/beans.xml
+++ b/cdi-interceptors/src/test/resources/beans.xml
@@ -18,7 +18,7 @@
org.jboss.as.quickstarts.cdi.interceptor.AuditInterceptor
diff --git a/cdi-interceptors/src/test/resources/test-ds.xml b/cdi-interceptors/src/test/resources/test-ds.xml
index 7fdfdfdab0..18b0d3fe5f 100644
--- a/cdi-interceptors/src/test/resources/test-ds.xml
+++ b/cdi-interceptors/src/test/resources/test-ds.xml
@@ -15,13 +15,13 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
+
-
@@ -33,4 +33,4 @@
-
+
diff --git a/cdi-portable-extension/pom.xml b/cdi-portable-extension/pom.xml
index ef8559c4c3..71090a91c8 100644
--- a/cdi-portable-extension/pom.xml
+++ b/cdi-portable-extension/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -94,9 +94,9 @@
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent! -->
UTF-8
-
+
-
+
1.0.2.Final
diff --git a/cdi-portable-extension/src/main/java/org/jboss/as/quickstart/cdi/extension/model/CreatureType.java b/cdi-portable-extension/src/main/java/org/jboss/as/quickstart/cdi/extension/model/CreatureType.java
index 757aec1a81..ad92b40024 100644
--- a/cdi-portable-extension/src/main/java/org/jboss/as/quickstart/cdi/extension/model/CreatureType.java
+++ b/cdi-portable-extension/src/main/java/org/jboss/as/quickstart/cdi/extension/model/CreatureType.java
@@ -20,5 +20,6 @@
* The various types of creatures.
*/
public enum CreatureType {
- MONSTER, NPC
+ MONSTER,
+ NPC
}
diff --git a/cdi-portable-extension/src/main/resources/creatures.xml b/cdi-portable-extension/src/main/resources/creatures.xml
index 3b082f88ea..0720cf0476 100644
--- a/cdi-portable-extension/src/main/resources/creatures.xml
+++ b/cdi-portable-extension/src/main/resources/creatures.xml
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
diff --git a/cdi-portable-extension/src/test/java/org/jboss/as/quickstart/cdi/extension/test/CreatureExtensionTest.java b/cdi-portable-extension/src/test/java/org/jboss/as/quickstart/cdi/extension/test/CreatureExtensionTest.java
index eba0528d5c..10bab4c26f 100644
--- a/cdi-portable-extension/src/test/java/org/jboss/as/quickstart/cdi/extension/test/CreatureExtensionTest.java
+++ b/cdi-portable-extension/src/test/java/org/jboss/as/quickstart/cdi/extension/test/CreatureExtensionTest.java
@@ -42,10 +42,10 @@ public class CreatureExtensionTest {
@Deployment
public static Archive> getDeployment() {
return ShrinkWrap.create(JavaArchive.class, "creature-creation.jar")
- .addPackages(true, CreatureExtension.class.getPackage())
- .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml")
- .addAsResource("creatures.xml")
- .addAsServiceProvider(Extension.class, CreatureExtension.class);
+ .addPackages(true, CreatureExtension.class.getPackage())
+ .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml")
+ .addAsResource("creatures.xml")
+ .addAsServiceProvider(Extension.class, CreatureExtension.class);
}
@Inject
diff --git a/cdi-stereotype/pom.xml b/cdi-stereotype/pom.xml
index c6aca66552..38ba1343da 100644
--- a/cdi-stereotype/pom.xml
+++ b/cdi-stereotype/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
diff --git a/cdi-stereotype/src/main/webapp/WEB-INF/beans.xml b/cdi-stereotype/src/main/webapp/WEB-INF/beans.xml
index aaa2bcab64..5b7a1c5cdf 100644
--- a/cdi-stereotype/src/main/webapp/WEB-INF/beans.xml
+++ b/cdi-stereotype/src/main/webapp/WEB-INF/beans.xml
@@ -18,7 +18,7 @@
org.jboss.as.quickstarts.cdi.interceptor.AuditInterceptor
diff --git a/cdi-stereotype/src/main/webapp/WEB-INF/stereotype-quickstart-ds.xml b/cdi-stereotype/src/main/webapp/WEB-INF/stereotype-quickstart-ds.xml
index 051aab1e71..2d685e69f6 100644
--- a/cdi-stereotype/src/main/webapp/WEB-INF/stereotype-quickstart-ds.xml
+++ b/cdi-stereotype/src/main/webapp/WEB-INF/stereotype-quickstart-ds.xml
@@ -14,10 +14,10 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
+
@@ -94,9 +94,9 @@
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent! -->
UTF-8
-
+
-
+
1.0.2.Final
diff --git a/cdi-veto/src/main/java/org/jboss/as/quickstart/cdi/veto/model/Car.java b/cdi-veto/src/main/java/org/jboss/as/quickstart/cdi/veto/model/Car.java
index 0a06ea15be..ea355dee48 100644
--- a/cdi-veto/src/main/java/org/jboss/as/quickstart/cdi/veto/model/Car.java
+++ b/cdi-veto/src/main/java/org/jboss/as/quickstart/cdi/veto/model/Car.java
@@ -27,7 +27,8 @@
*/
@Entity
public class Car {
- @Id @GeneratedValue(strategy = GenerationType.IDENTITY)
+ @Id
+ @GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Basic
diff --git a/cdi-veto/src/main/webapp/WEB-INF/cdi-veto-quickstart-ds.xml b/cdi-veto/src/main/webapp/WEB-INF/cdi-veto-quickstart-ds.xml
index 7e5b83ea8f..5d6f49c1f9 100644
--- a/cdi-veto/src/main/webapp/WEB-INF/cdi-veto-quickstart-ds.xml
+++ b/cdi-veto/src/main/webapp/WEB-INF/cdi-veto-quickstart-ds.xml
@@ -15,9 +15,9 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
createTestArchive() {
return ShrinkWrap.create(WebArchive.class, InjectionWithVetoExtensionAndManagerTest.class.getSimpleName() + ".war")
- .addClasses(Car.class, EntityManagerProducer.class, VetoExtension.class, CarManager.class)
- .addAsServiceProvider(Extension.class, VetoExtension.class)
- .addAsResource("META-INF/persistence.xml", "META-INF/persistence.xml")
- .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml")
- // Using this to get the datasource xml file
- .merge(ShrinkWrap.create(GenericArchive.class).as(ExplodedImporter.class)
- .importDirectory("src/main/webapp").as(GenericArchive.class),
- "/", Filters.include(".*ds\\.xml$"));
+ .addClasses(Car.class, EntityManagerProducer.class, VetoExtension.class, CarManager.class)
+ .addAsServiceProvider(Extension.class, VetoExtension.class)
+ .addAsResource("META-INF/persistence.xml", "META-INF/persistence.xml")
+ .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml")
+ // Using this to get the datasource xml file
+ .merge(ShrinkWrap.create(GenericArchive.class).as(ExplodedImporter.class)
+ .importDirectory("src/main/webapp").as(GenericArchive.class),
+ "/", Filters.include(".*ds\\.xml$"));
}
@Inject
diff --git a/cdi-veto/src/test/java/org/jboss/as/quickstart/cdi/veto/test/InjectionWithVetoExtensionWithoutManagerTest.java b/cdi-veto/src/test/java/org/jboss/as/quickstart/cdi/veto/test/InjectionWithVetoExtensionWithoutManagerTest.java
index 4d3292c157..a4917c653e 100644
--- a/cdi-veto/src/test/java/org/jboss/as/quickstart/cdi/veto/test/InjectionWithVetoExtensionWithoutManagerTest.java
+++ b/cdi-veto/src/test/java/org/jboss/as/quickstart/cdi/veto/test/InjectionWithVetoExtensionWithoutManagerTest.java
@@ -46,14 +46,14 @@ public class InjectionWithVetoExtensionWithoutManagerTest {
@Deployment
public static Archive> createTestArchive() {
return ShrinkWrap.create(WebArchive.class, InjectionWithVetoExtensionWithoutManagerTest.class.getSimpleName() + ".war")
- .addClasses(Car.class, EntityManagerProducer.class, VetoExtension.class)
- .addAsServiceProvider(Extension.class, VetoExtension.class)
- .addAsResource("META-INF/persistence.xml", "META-INF/persistence.xml")
- .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml")
- // Using this to get the datasource xml file
- .merge(ShrinkWrap.create(GenericArchive.class).as(ExplodedImporter.class)
- .importDirectory("src/main/webapp").as(GenericArchive.class),
- "/", Filters.include(".*ds\\.xml$"));
+ .addClasses(Car.class, EntityManagerProducer.class, VetoExtension.class)
+ .addAsServiceProvider(Extension.class, VetoExtension.class)
+ .addAsResource("META-INF/persistence.xml", "META-INF/persistence.xml")
+ .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml")
+ // Using this to get the datasource xml file
+ .merge(ShrinkWrap.create(GenericArchive.class).as(ExplodedImporter.class)
+ .importDirectory("src/main/webapp").as(GenericArchive.class),
+ "/", Filters.include(".*ds\\.xml$"));
}
@Inject
diff --git a/cdi-veto/src/test/java/org/jboss/as/quickstart/cdi/veto/test/InjectionWithoutVetoExtensionWithManagerTest.java b/cdi-veto/src/test/java/org/jboss/as/quickstart/cdi/veto/test/InjectionWithoutVetoExtensionWithManagerTest.java
index 4870329ae1..1b165548cc 100644
--- a/cdi-veto/src/test/java/org/jboss/as/quickstart/cdi/veto/test/InjectionWithoutVetoExtensionWithManagerTest.java
+++ b/cdi-veto/src/test/java/org/jboss/as/quickstart/cdi/veto/test/InjectionWithoutVetoExtensionWithManagerTest.java
@@ -45,13 +45,13 @@ public class InjectionWithoutVetoExtensionWithManagerTest {
@Deployment
public static Archive> createTestArchive() {
return ShrinkWrap.create(WebArchive.class, InjectionWithoutVetoExtensionWithManagerTest.class.getSimpleName() + ".war")
- .addClasses(Car.class, EntityManagerProducer.class, CarManager.class)
- .addAsResource("META-INF/persistence.xml", "META-INF/persistence.xml")
- .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml")
- // Using this to get the datasource xml file
- .merge(ShrinkWrap.create(GenericArchive.class).as(ExplodedImporter.class)
- .importDirectory("src/main/webapp").as(GenericArchive.class),
- "/", Filters.include(".*ds\\.xml$"));
+ .addClasses(Car.class, EntityManagerProducer.class, CarManager.class)
+ .addAsResource("META-INF/persistence.xml", "META-INF/persistence.xml")
+ .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml")
+ // Using this to get the datasource xml file
+ .merge(ShrinkWrap.create(GenericArchive.class).as(ExplodedImporter.class)
+ .importDirectory("src/main/webapp").as(GenericArchive.class),
+ "/", Filters.include(".*ds\\.xml$"));
}
@Inject
diff --git a/cluster-ha-singleton/pom.xml b/cluster-ha-singleton/pom.xml
index a2c1e180cf..77b12931dd 100644
--- a/cluster-ha-singleton/pom.xml
+++ b/cluster-ha-singleton/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -91,7 +91,7 @@
-
UTF-8
diff --git a/cluster-ha-singleton/service/pom.xml b/cluster-ha-singleton/service/pom.xml
index b515849cba..9b3fc3cd14 100644
--- a/cluster-ha-singleton/service/pom.xml
+++ b/cluster-ha-singleton/service/pom.xml
@@ -36,7 +36,7 @@
-
@@ -45,19 +45,19 @@
jboss-msc
1.2.6.Final
-
org.jboss.spec.javax.ejb
jboss-ejb-api_3.2_spec
-
org.jboss.spec.javax.annotation
jboss-annotations-api_1.2_spec
-
org.wildfly
@@ -70,7 +70,7 @@
${project.artifactId}
-
org.apache.maven.plugins
maven-ejb-plugin
diff --git a/cluster-ha-singleton/service/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/HATimerService.java b/cluster-ha-singleton/service/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/HATimerService.java
index e48bc1cc70..43549c7780 100644
--- a/cluster-ha-singleton/service/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/HATimerService.java
+++ b/cluster-ha-singleton/service/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/HATimerService.java
@@ -29,7 +29,6 @@
import org.jboss.msc.service.StartException;
import org.jboss.msc.service.StopContext;
-
/**
* A service to start schedule-timer as HASingleton timer in a clustered environment.
* The {@link HATimerServiceActivator} will ensure that the timer is initialized only once in a cluster.
@@ -69,7 +68,8 @@ public void start(StartContext arg0) throws StartException {
final String node = System.getProperty("jboss.node.name");
try {
InitialContext ic = new InitialContext();
- ((Scheduler) ic.lookup("global/jboss-cluster-ha-singleton-service/SchedulerBean!org.jboss.as.quickstarts.cluster.hasingleton.service.ejb.Scheduler")).initialize("HASingleton timer @" + node + " " + new Date());
+ ((Scheduler) ic.lookup("global/jboss-cluster-ha-singleton-service/SchedulerBean!org.jboss.as.quickstarts.cluster.hasingleton.service.ejb.Scheduler"))
+ .initialize("HASingleton timer @" + node + " " + new Date());
} catch (NamingException e) {
throw new StartException("Could not initialize timer", e);
}
@@ -84,7 +84,7 @@ public void stop(StopContext arg0) {
InitialContext ic = new InitialContext();
((Scheduler) ic.lookup("global/jboss-cluster-ha-singleton-service/SchedulerBean!org.jboss.as.quickstarts.cluster.hasingleton.service.ejb.Scheduler")).stop();
} catch (NamingException e) {
- LOGGER.info("Could not stop timer:" + e.getMessage());
+ LOGGER.info("Could not stop timer:" + e.getMessage());
}
}
}
diff --git a/cluster-ha-singleton/service/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/HATimerServiceActivator.java b/cluster-ha-singleton/service/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/HATimerServiceActivator.java
index a37dd55e88..591519c639 100644
--- a/cluster-ha-singleton/service/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/HATimerServiceActivator.java
+++ b/cluster-ha-singleton/service/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/HATimerServiceActivator.java
@@ -48,22 +48,21 @@ public void activate(ServiceActivatorContext context) {
ServiceController> factoryService = context.getServiceRegistry().getRequiredService(factoryServiceName);
SingletonServiceBuilderFactory factory = (SingletonServiceBuilderFactory) factoryService.getValue();
factory.createSingletonServiceBuilder(HATimerService.SINGLETON_SERVICE_NAME, service)
- /*
- * The NamePreference is a combination of the node name (-Djboss.node.name) and the name of
- * the configured cache "singleton". If there is more than 1 node, it is possible to add more than
- * one name and the election will use the first available node in that list.
- * - To pass a chain of election policies to the singleton and tell JGroups to run the
- * singleton on a node with a particular name, uncomment the first line and
- * comment the second line below.
- * - To pass a list of more than one node, comment the first line and uncomment the
- * second line below.
- */
- .electionPolicy(new PreferredSingletonElectionPolicy(new SimpleSingletonElectionPolicy(), new NamePreference("node1/singleton")))
- //singleton.setElectionPolicy(new PreferredSingletonElectionPolicy(new SimpleSingletonElectionPolicy(), new NamePreference("node1/singleton"), new NamePreference("node2/singleton")));
+ /*
+ * The NamePreference is a combination of the node name (-Djboss.node.name) and the name of
+ * the configured cache "singleton". If there is more than 1 node, it is possible to add more than
+ * one name and the election will use the first available node in that list.
+ * - To pass a chain of election policies to the singleton and tell JGroups to run the
+ * singleton on a node with a particular name, uncomment the first line and
+ * comment the second line below.
+ * - To pass a list of more than one node, comment the first line and uncomment the
+ * second line below.
+ */
+ .electionPolicy(new PreferredSingletonElectionPolicy(new SimpleSingletonElectionPolicy(), new NamePreference("node1/singleton")))
+ //singleton.setElectionPolicy(new PreferredSingletonElectionPolicy(new SimpleSingletonElectionPolicy(), new NamePreference("node1/singleton"), new NamePreference("node2/singleton")));
- .build(new DelegatingServiceContainer(context.getServiceTarget(), context.getServiceRegistry()))
- .setInitialMode(ServiceController.Mode.ACTIVE)
- .install()
- ;
+ .build(new DelegatingServiceContainer(context.getServiceTarget(), context.getServiceRegistry()))
+ .setInitialMode(ServiceController.Mode.ACTIVE)
+ .install();
}
}
diff --git a/cluster-ha-singleton/service/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/SchedulerBean.java b/cluster-ha-singleton/service/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/SchedulerBean.java
index 92ec911106..4dfc50f652 100644
--- a/cluster-ha-singleton/service/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/SchedulerBean.java
+++ b/cluster-ha-singleton/service/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/SchedulerBean.java
@@ -26,7 +26,6 @@
import javax.ejb.TimerConfig;
import javax.ejb.TimerService;
-
/**
* A simple example to demonstrate a implementation of a cluster-wide singleton timer.
*
diff --git a/cmt/pom.xml b/cmt/pom.xml
index 495bfc6205..d1ae2139d5 100644
--- a/cmt/pom.xml
+++ b/cmt/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -90,14 +90,14 @@
-
-
UTF-8
-
+
1.0.2.Final
@@ -113,11 +113,11 @@
-
org.jboss.bom
@@ -166,7 +166,7 @@
javax.inject
provided
-
+
junit
@@ -177,7 +177,7 @@
-
${project.artifactId}
@@ -186,7 +186,7 @@
maven-war-plugin
${version.war.plugin}
-
false
diff --git a/cmt/src/main/java/org/jboss/as/quickstarts/cmt/ejb/InvoiceManagerEJB.java b/cmt/src/main/java/org/jboss/as/quickstarts/cmt/ejb/InvoiceManagerEJB.java
index 80b40864e4..c93459c43a 100644
--- a/cmt/src/main/java/org/jboss/as/quickstarts/cmt/ejb/InvoiceManagerEJB.java
+++ b/cmt/src/main/java/org/jboss/as/quickstarts/cmt/ejb/InvoiceManagerEJB.java
@@ -38,6 +38,6 @@ public class InvoiceManagerEJB {
@TransactionAttribute(TransactionAttributeType.MANDATORY)
public void createInvoice(String name) {
jmsContext.createProducer()
- .send(queue, "Created invoice for customer named: " + name);
+ .send(queue, "Created invoice for customer named: " + name);
}
}
diff --git a/cmt/src/main/java/org/jboss/as/quickstarts/cmt/mdb/HelloWorldMDB.java b/cmt/src/main/java/org/jboss/as/quickstarts/cmt/mdb/HelloWorldMDB.java
index 0a2f72ed0d..59bbeb03e5 100644
--- a/cmt/src/main/java/org/jboss/as/quickstarts/cmt/mdb/HelloWorldMDB.java
+++ b/cmt/src/main/java/org/jboss/as/quickstarts/cmt/mdb/HelloWorldMDB.java
@@ -34,9 +34,9 @@
*
*/
@MessageDriven(name = "HelloWorldMDB", activationConfig = {
- @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
- @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/CMTQueue"),
- @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge") })
+ @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
+ @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/CMTQueue"),
+ @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge") })
public class HelloWorldMDB implements MessageListener {
private final static Logger LOGGER = Logger.getLogger(HelloWorldMDB.class.toString());
diff --git a/cmt/src/main/webapp/WEB-INF/beans.xml b/cmt/src/main/webapp/WEB-INF/beans.xml
index f2a9ad4a32..5c0dbc2d7d 100644
--- a/cmt/src/main/webapp/WEB-INF/beans.xml
+++ b/cmt/src/main/webapp/WEB-INF/beans.xml
@@ -16,6 +16,6 @@
-->
diff --git a/cmt/src/main/webapp/WEB-INF/faces-config.xml b/cmt/src/main/webapp/WEB-INF/faces-config.xml
index 94ec5ad6ea..1672a28dc7 100644
--- a/cmt/src/main/webapp/WEB-INF/faces-config.xml
+++ b/cmt/src/main/webapp/WEB-INF/faces-config.xml
@@ -17,8 +17,8 @@
-->
-
diff --git a/contacts-jquerymobile/functional-tests/src/test/java/org/jboss/as/quickstarts/contacts/test/Contact.java b/contacts-jquerymobile/functional-tests/src/test/java/org/jboss/as/quickstarts/contacts/test/Contact.java
index 5d35df8ea3..3b2b92f5c5 100644
--- a/contacts-jquerymobile/functional-tests/src/test/java/org/jboss/as/quickstarts/contacts/test/Contact.java
+++ b/contacts-jquerymobile/functional-tests/src/test/java/org/jboss/as/quickstarts/contacts/test/Contact.java
@@ -70,15 +70,21 @@ public void setBirthDate(String birthDate) {
@Override
public boolean equals(Object o) {
- if (this == o) return true;
- if (o == null || getClass() != o.getClass()) return false;
+ if (this == o)
+ return true;
+ if (o == null || getClass() != o.getClass())
+ return false;
Contact contact = (Contact) o;
- if (birthDate != null ? !birthDate.equals(contact.birthDate) : contact.birthDate != null) return false;
- if (email != null ? !email.equals(contact.email) : contact.email != null) return false;
- if (name != null ? !name.equals(contact.name) : contact.name != null) return false;
- if (phoneNumber != null ? !phoneNumber.equals(contact.phoneNumber) : contact.phoneNumber != null) return false;
+ if (birthDate != null ? !birthDate.equals(contact.birthDate) : contact.birthDate != null)
+ return false;
+ if (email != null ? !email.equals(contact.email) : contact.email != null)
+ return false;
+ if (name != null ? !name.equals(contact.name) : contact.name != null)
+ return false;
+ if (phoneNumber != null ? !phoneNumber.equals(contact.phoneNumber) : contact.phoneNumber != null)
+ return false;
return true;
}
diff --git a/contacts-jquerymobile/functional-tests/src/test/java/org/jboss/as/quickstarts/contacts/test/ContactsMobileBasicTest.java b/contacts-jquerymobile/functional-tests/src/test/java/org/jboss/as/quickstarts/contacts/test/ContactsMobileBasicTest.java
index 88c902a774..012dab1184 100644
--- a/contacts-jquerymobile/functional-tests/src/test/java/org/jboss/as/quickstarts/contacts/test/ContactsMobileBasicTest.java
+++ b/contacts-jquerymobile/functional-tests/src/test/java/org/jboss/as/quickstarts/contacts/test/ContactsMobileBasicTest.java
@@ -95,7 +95,6 @@ public class ContactsMobileBasicTest {
private static String DATE_TOO_OLD = "1700-02-04";
private static String DATE_FUTURE = "2020-01-01";
-
/**
* Creates deployment which is sent to the container upon test's start.
*
@@ -106,7 +105,6 @@ public static WebArchive deployment() {
return Deployments.contacts();
}
-
@Before
public void loadPage() {
browser.get(contextPath.toString());
@@ -207,5 +205,4 @@ public void editContactTest() {
assertTrue(listPage.getContacts().contains(contact));
}
-
}
diff --git a/contacts-jquerymobile/functional-tests/src/test/java/org/jboss/as/quickstarts/contacts/test/RESTTest.java b/contacts-jquerymobile/functional-tests/src/test/java/org/jboss/as/quickstarts/contacts/test/RESTTest.java
index cc863c1f9a..1ba0d9d68b 100644
--- a/contacts-jquerymobile/functional-tests/src/test/java/org/jboss/as/quickstarts/contacts/test/RESTTest.java
+++ b/contacts-jquerymobile/functional-tests/src/test/java/org/jboss/as/quickstarts/contacts/test/RESTTest.java
@@ -99,12 +99,12 @@ public void testAddContact() throws Exception {
HttpPost post = new HttpPost(contextPath.toString() + API_PATH);
post.setHeader("Content-Type", "application/json");
String newContactJSON = new JSONStringer().object()
- .key("firstName").value(NEW_CONTACT_FIRSTNAME)
- .key("lastName").value(NEW_CONTACT_LASTNAME)
- .key("email").value(NEW_CONTACT_EMAIL)
- .key("phoneNumber").value(NEW_CONTACT_PHONE)
- .key("birthDate").value(NEW_CONTACT_BIRTHDATE)
- .endObject().toString();
+ .key("firstName").value(NEW_CONTACT_FIRSTNAME)
+ .key("lastName").value(NEW_CONTACT_LASTNAME)
+ .key("email").value(NEW_CONTACT_EMAIL)
+ .key("phoneNumber").value(NEW_CONTACT_PHONE)
+ .key("birthDate").value(NEW_CONTACT_BIRTHDATE)
+ .endObject().toString();
post.setEntity(new StringEntity(newContactJSON));
HttpResponse response = httpClient.execute(post);
diff --git a/contacts-jquerymobile/pom.xml b/contacts-jquerymobile/pom.xml
index f052b87b1e..dcd218cc67 100644
--- a/contacts-jquerymobile/pom.xml
+++ b/contacts-jquerymobile/pom.xml
@@ -42,7 +42,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -94,11 +94,11 @@
UTF-8
-
+
-
+
-
+
1.0.2.Final
@@ -207,7 +207,7 @@
-
+
org.jboss.resteasy
resteasy-jackson2-provider
@@ -243,25 +243,25 @@
arquillian-protocol-servlet
test
-
+
org.jboss.arquillian.container
arquillian-container-test-api
test
-
+
org.jboss.arquillian.junit
arquillian-junit-core
test
-
+
org.jboss.shrinkwrap
shrinkwrap-api
test
-
+
org.jboss.shrinkwrap.resolver
shrinkwrap-resolver-api-maven
@@ -270,7 +270,7 @@
-
${project.artifactId}
@@ -282,7 +282,7 @@
true
-
+
maven-war-plugin
${version.war.plugin}
@@ -399,7 +399,7 @@
-
+
diff --git a/contacts-jquerymobile/src/main/java/org/jboss/quickstarts/contact/ContactRESTService.java b/contacts-jquerymobile/src/main/java/org/jboss/quickstarts/contact/ContactRESTService.java
index 754d004ba6..7b91a28147 100644
--- a/contacts-jquerymobile/src/main/java/org/jboss/quickstarts/contact/ContactRESTService.java
+++ b/contacts-jquerymobile/src/main/java/org/jboss/quickstarts/contact/ContactRESTService.java
@@ -111,7 +111,7 @@ public Response retrieveContactById(@PathParam("id") long id) {
throw new WebApplicationException(Response.Status.NOT_FOUND);
}
log.info("findById " + id + ": found Contact = " + contact.getFirstName() + " " + contact.getLastName() + " " + contact.getEmail() + " " + contact.getPhoneNumber() + " "
- + contact.getBirthDate() + " " + contact.getId());
+ + contact.getBirthDate() + " " + contact.getId());
return Response.ok(contact).build();
}
@@ -178,7 +178,7 @@ public Response updateContact(@PathParam("id") long id, Contact contact) {
throw new WebApplicationException(Response.Status.BAD_REQUEST);
}
log.info("updateContact started. Contact = " + contact.getFirstName() + " " + contact.getLastName() + " " + contact.getEmail() + " " + contact.getPhoneNumber() + " "
- + contact.getBirthDate() + " " + contact.getId());
+ + contact.getBirthDate() + " " + contact.getId());
if (contact.getId() != id) {
// The client attempted to update the read-only Id. This is not permitted.
@@ -279,5 +279,4 @@ private Response.ResponseBuilder createViolationResponse(Set update(Contact contact) throws Exception {
+ // Map update(Contact contact) throws Exception {
Contact update(Contact contact) throws ConstraintViolationException, ValidationException, Exception {
log.info("ContactRepository.update() - Updating " + contact.getFirstName() + " " + contact.getLastName());
@@ -159,7 +159,7 @@ Contact update(Contact contact) throws ConstraintViolationException, ValidationE
* @return Contact
* @throws Exception
*/
-// Map delete(Contact contact) throws Exception {
+ // Map delete(Contact contact) throws Exception {
Contact delete(Contact contact) throws Exception {
log.info("ContactRepository.delete() - Deleting " + contact.getFirstName() + " " + contact.getLastName());
diff --git a/contacts-jquerymobile/src/main/java/org/jboss/quickstarts/contact/ContactService.java b/contacts-jquerymobile/src/main/java/org/jboss/quickstarts/contact/ContactService.java
index 42cac473dd..99da80c788 100644
--- a/contacts-jquerymobile/src/main/java/org/jboss/quickstarts/contact/ContactService.java
+++ b/contacts-jquerymobile/src/main/java/org/jboss/quickstarts/contact/ContactService.java
@@ -133,7 +133,7 @@ Contact create(Contact contact) throws ConstraintViolationException, ValidationE
* @return Contact
* @throws ConstraintViolationException, ValidationException, Exception
*/
-// Map update(Contact contact) throws Exception {
+ // Map update(Contact contact) throws Exception {
Contact update(Contact contact) throws ConstraintViolationException, ValidationException, Exception {
log.info("ContactService.update() - Updating " + contact.getFirstName() + " " + contact.getLastName());
@@ -153,7 +153,7 @@ Contact update(Contact contact) throws ConstraintViolationException, ValidationE
* @return Contact
* @throws Exception
*/
-// Map delete(Contact contact) throws Exception {
+ // Map delete(Contact contact) throws Exception {
Contact delete(Contact contact) throws Exception {
log.info("ContactService.delete() - Deleting " + contact.getFirstName() + " " + contact.getLastName());
diff --git a/contacts-jquerymobile/src/main/resources/META-INF/persistence.xml b/contacts-jquerymobile/src/main/resources/META-INF/persistence.xml
index bfeda9f082..0bdc9ab566 100644
--- a/contacts-jquerymobile/src/main/resources/META-INF/persistence.xml
+++ b/contacts-jquerymobile/src/main/resources/META-INF/persistence.xml
@@ -21,7 +21,7 @@
http://xmlns.jcp.org/xml/ns/persistence
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
-
java:jboss/datasources/JbossContactsMobileBasicQuickstartDS
diff --git a/contacts-jquerymobile/src/main/webapp/WEB-INF/beans.xml b/contacts-jquerymobile/src/main/webapp/WEB-INF/beans.xml
index bfb72e3d65..6b2c62fc13 100644
--- a/contacts-jquerymobile/src/main/webapp/WEB-INF/beans.xml
+++ b/contacts-jquerymobile/src/main/webapp/WEB-INF/beans.xml
@@ -16,10 +16,10 @@
limitations under the License.
-->
-
diff --git a/contacts-jquerymobile/src/main/webapp/WEB-INF/contacts-quickstart-ds.xml b/contacts-jquerymobile/src/main/webapp/WEB-INF/contacts-quickstart-ds.xml
index 9c94df8c75..a1def11e41 100644
--- a/contacts-jquerymobile/src/main/webapp/WEB-INF/contacts-quickstart-ds.xml
+++ b/contacts-jquerymobile/src/main/webapp/WEB-INF/contacts-quickstart-ds.xml
@@ -15,13 +15,13 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
-
-
+
diff --git a/contacts-jquerymobile/src/test/java/org/jboss/quickstarts/contact/test/ContactRegistrationTest.java b/contacts-jquerymobile/src/test/java/org/jboss/quickstarts/contact/test/ContactRegistrationTest.java
index 8e6054c3cc..a84a2dc7fb 100644
--- a/contacts-jquerymobile/src/test/java/org/jboss/quickstarts/contact/test/ContactRegistrationTest.java
+++ b/contacts-jquerymobile/src/test/java/org/jboss/quickstarts/contact/test/ContactRegistrationTest.java
@@ -57,19 +57,19 @@ public class ContactRegistrationTest {
@Deployment
public static Archive> createTestArchive() {
-// File[] libs = Maven.resolver().loadPomFromFile("pom.xml").resolve(
-// "org.hibernate.javax.persistence:hibernate-jpa-2.0-api"
-// ).withTransitivity().asFile();
+ // File[] libs = Maven.resolver().loadPomFromFile("pom.xml").resolve(
+ // "org.hibernate.javax.persistence:hibernate-jpa-2.0-api"
+ // ).withTransitivity().asFile();
Archive> archive = ShrinkWrap
.create(WebArchive.class, "test.war")
.addClasses(Contact.class,
- ContactRESTService.class,
- ContactRepository.class,
- ContactValidator.class,
- ContactService.class,
- Resources.class)
-// .addAsLibraries(libs)
+ ContactRESTService.class,
+ ContactRepository.class,
+ ContactValidator.class,
+ ContactService.class,
+ Resources.class)
+ // .addAsLibraries(libs)
.addAsResource("META-INF/test-persistence.xml", "META-INF/persistence.xml")
.addAsWebInfResource("arquillian-ds.xml")
.addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml");
@@ -84,10 +84,10 @@ public static Archive> createTestArchive() {
Logger log;
// The URI is needed for the JAX-RS 2.0 tests.
-// private static URI uri = UriBuilder.fromUri("http://localhost/jboss-contacts-jquerymobile/rest/contact").port(8080).build();
+ // private static URI uri = UriBuilder.fromUri("http://localhost/jboss-contacts-jquerymobile/rest/contact").port(8080).build();
// JAX-RS 2.0 Client API
-// private static Client client = ClientBuilder.newClient();
+ // private static Client client = ClientBuilder.newClient();
//Set millis 498484800000 from 1985-10-10T12:00:00.000Z
private Date date = new Date(498484800000L);
@@ -136,49 +136,49 @@ public void testDuplicateEmail() throws Exception {
}
// Uncomment when you have access to JAX-RS 2.0
-// @Test
-// @InSequence(4)
-// public void shouldNotCreateANullContact() throws JAXBException {
-// //POSTs a null Contact
-// Response response = client.target(uri).request().post(Entity.entity(null, MediaType.APPLICATION_JSON));
-// assertEquals(Response.Status.BAD_REQUEST, response.getStatusInfo());
-// }
-//
-// @Test
-// @InSequence(5)
-// public void shouldNotFindTheContactID() throws JAXBException {
-// // GETs a Contact with an unknown ID
-// Response response = client.target(uri).path("unknownID").request().get();
-// assertEquals(Response.Status.NOT_FOUND, response.getStatusInfo());
-// }
-//
-// @Test
-// @InSequence(6)
-// public void shouldCreateAndDeleteAContact() throws JAXBException {
-//
-// Contact contact = createContactInstance("Jason", "Smith", "jason@mailinator.com", "2125551234", date);
-//
-// // POSTs a Contact
-// Response response = client.target(uri).request().post(Entity.entity(contact, MediaType.APPLICATION_JSON));
-//
-// assertEquals(Response.Status.CREATED, response.getStatusInfo());
-// URI contactURI = response.getLocation();
-//
-// // With the location, GETs the Contact
-// response = client.target(contactURI).request().get();
-// contact = response.readEntity(Contact.class);
-// assertEquals(Response.Status.OK, response.getStatusInfo());
-// assertEquals("Jason", contact.getFirstName());
-//
-// // GETs the Contact ID and DELETEs it
-// String contactID = contactURI.toString().split("/")[6];
-// response = client.target(uri).path(contactID).request().delete();
-// assertEquals(Response.Status.NO_CONTENT, response.getStatusInfo());
-//
-// // GETs the Contact and checks if it has been deleted
-// response = client.target(bookURI).request().get();
-// assertEquals(Response.Status.NOT_FOUND, response.getStatusInfo());
-// }
+ // @Test
+ // @InSequence(4)
+ // public void shouldNotCreateANullContact() throws JAXBException {
+ // //POSTs a null Contact
+ // Response response = client.target(uri).request().post(Entity.entity(null, MediaType.APPLICATION_JSON));
+ // assertEquals(Response.Status.BAD_REQUEST, response.getStatusInfo());
+ // }
+ //
+ // @Test
+ // @InSequence(5)
+ // public void shouldNotFindTheContactID() throws JAXBException {
+ // // GETs a Contact with an unknown ID
+ // Response response = client.target(uri).path("unknownID").request().get();
+ // assertEquals(Response.Status.NOT_FOUND, response.getStatusInfo());
+ // }
+ //
+ // @Test
+ // @InSequence(6)
+ // public void shouldCreateAndDeleteAContact() throws JAXBException {
+ //
+ // Contact contact = createContactInstance("Jason", "Smith", "jason@mailinator.com", "2125551234", date);
+ //
+ // // POSTs a Contact
+ // Response response = client.target(uri).request().post(Entity.entity(contact, MediaType.APPLICATION_JSON));
+ //
+ // assertEquals(Response.Status.CREATED, response.getStatusInfo());
+ // URI contactURI = response.getLocation();
+ //
+ // // With the location, GETs the Contact
+ // response = client.target(contactURI).request().get();
+ // contact = response.readEntity(Contact.class);
+ // assertEquals(Response.Status.OK, response.getStatusInfo());
+ // assertEquals("Jason", contact.getFirstName());
+ //
+ // // GETs the Contact ID and DELETEs it
+ // String contactID = contactURI.toString().split("/")[6];
+ // response = client.target(uri).path(contactID).request().delete();
+ // assertEquals(Response.Status.NO_CONTENT, response.getStatusInfo());
+ //
+ // // GETs the Contact and checks if it has been deleted
+ // response = client.target(bookURI).request().get();
+ // assertEquals(Response.Status.NOT_FOUND, response.getStatusInfo());
+ // }
private Contact createContactInstance(String firstName, String lastName, String email, String phone, Date birthDate) {
Contact contact = new Contact();
diff --git a/contacts-jquerymobile/src/test/resources/arquillian-ds.xml b/contacts-jquerymobile/src/test/resources/arquillian-ds.xml
index b06aadeebc..6d77ce88ec 100644
--- a/contacts-jquerymobile/src/test/resources/arquillian-ds.xml
+++ b/contacts-jquerymobile/src/test/resources/arquillian-ds.xml
@@ -15,13 +15,13 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
-
-
+
diff --git a/contributor-settings.xml b/contributor-settings.xml
index 9ae8b19b4c..a2399c23b4 100644
--- a/contributor-settings.xml
+++ b/contributor-settings.xml
@@ -15,10 +15,10 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
-
+
-
+
@@ -72,7 +72,7 @@
-
+
jboss-earlyaccess-repository
@@ -101,7 +101,7 @@
-
+
jboss-developer-repository
@@ -137,7 +137,7 @@
jboss-ga-repository
jboss-earlyaccess-repository
- jboss-developer-repository
+ jboss-developer-repository
diff --git a/dist/license.txt b/dist/license.txt
index 9d210a52da..d5d5621d0d 100644
--- a/dist/license.txt
+++ b/dist/license.txt
@@ -1,6 +1,6 @@
JBoss, Home of Professional Open Source
Copyright 2015, Red Hat, Inc. and/or its affiliates, and individual
-contributors by the @authors tag. See the copyright.txt in the
+contributors by the @authors tag. See the copyright.txt in the
distribution for a full listing of individual contributors.
Licensed under the Apache License, Version 2.0 (the "License");
@@ -8,7 +8,7 @@ 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,
+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.
diff --git a/dist/pom.xml b/dist/pom.xml
index 62f636b912..6bb6fd879b 100644
--- a/dist/pom.xml
+++ b/dist/pom.xml
@@ -61,5 +61,5 @@
-
+
diff --git a/ejb-asynchronous/client/pom.xml b/ejb-asynchronous/client/pom.xml
index 727dfdc496..eacf2672d5 100644
--- a/ejb-asynchronous/client/pom.xml
+++ b/ejb-asynchronous/client/pom.xml
@@ -63,7 +63,7 @@
jboss-ejb-asynchronous-ejb
ejb-client
-
+
org.jboss.spec.javax.ejb
@@ -84,7 +84,7 @@
${project.artifactId}
-
org.codehaus.mojo
@@ -101,7 +101,7 @@
java
${project.build.directory}/exec-working-directory
-
-classpath
diff --git a/ejb-asynchronous/client/src/main/java/org/jboss/as/quickstarts/ejb/asynchronous/client/AsynchronousClient.java b/ejb-asynchronous/client/src/main/java/org/jboss/as/quickstarts/ejb/asynchronous/client/AsynchronousClient.java
index 9f4c4a7a4a..043291a84a 100644
--- a/ejb-asynchronous/client/src/main/java/org/jboss/as/quickstarts/ejb/asynchronous/client/AsynchronousClient.java
+++ b/ejb-asynchronous/client/src/main/java/org/jboss/as/quickstarts/ejb/asynchronous/client/AsynchronousClient.java
@@ -74,7 +74,8 @@ private AsynchronousClient() throws NamingException {
private void fireAndForget() throws InterruptedException {
long sleepMillis = 15000;
accessBean.fireAndForget(sleepMillis);
- LOGGER.info(String.format("The server log should contain a message at (about) %s, indicating that the call to the asynchronous bean completed.", new Date(new Date().getTime() + sleepMillis)));
+ LOGGER.info(String.format("The server log should contain a message at (about) %s, indicating that the call to the asynchronous bean completed.",
+ new Date(new Date().getTime() + sleepMillis)));
// in AS7.1.1.Final there is a bug that an ERROR will be logged that the result can not be written
// it will be solved in a later version
}
diff --git a/ejb-asynchronous/ejb/pom.xml b/ejb-asynchronous/ejb/pom.xml
index 5b6d04cfc2..021b6b1aa4 100644
--- a/ejb-asynchronous/ejb/pom.xml
+++ b/ejb-asynchronous/ejb/pom.xml
@@ -37,7 +37,7 @@
http://www.apache.org/licenses/LICENSE-2.0.html
-
+
@@ -64,7 +64,7 @@
-
+
org.wildfly.plugins
diff --git a/ejb-asynchronous/ejb/src/main/java/org/jboss/as/quickstarts/ejb/asynchronous/ParallelAccessBean.java b/ejb-asynchronous/ejb/src/main/java/org/jboss/as/quickstarts/ejb/asynchronous/ParallelAccessBean.java
index 13e24c7076..2c79641e7e 100644
--- a/ejb-asynchronous/ejb/src/main/java/org/jboss/as/quickstarts/ejb/asynchronous/ParallelAccessBean.java
+++ b/ejb-asynchronous/ejb/src/main/java/org/jboss/as/quickstarts/ejb/asynchronous/ParallelAccessBean.java
@@ -27,7 +27,6 @@
import javax.ejb.EJB;
import javax.ejb.Stateless;
-
/**
* Stateless session bean implementation to demonstrate how to invoke asynchronous methods to parallelize different actions to
* minimize the duration time of client invocation.
diff --git a/ejb-asynchronous/pom.xml b/ejb-asynchronous/pom.xml
index d5e7d24f87..cd6b87ffa3 100644
--- a/ejb-asynchronous/pom.xml
+++ b/ejb-asynchronous/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -90,9 +90,9 @@
-
-
UTF-8
@@ -133,7 +133,7 @@
import
-
org.jboss.quickstarts.eap
diff --git a/ejb-in-ear/ear/pom.xml b/ejb-in-ear/ear/pom.xml
index 644008488c..023f3d914e 100644
--- a/ejb-in-ear/ear/pom.xml
+++ b/ejb-in-ear/ear/pom.xml
@@ -69,12 +69,12 @@
6
-
lib
-
diff --git a/ejb-in-ear/ejb/pom.xml b/ejb-in-ear/ejb/pom.xml
index 8ac6a4b5a8..070c8174db 100644
--- a/ejb-in-ear/ejb/pom.xml
+++ b/ejb-in-ear/ejb/pom.xml
@@ -40,7 +40,7 @@
http://www.apache.org/licenses/LICENSE-2.0.html
-
+
diff --git a/ejb-in-ear/ejb/src/main/java/META-INF/beans.xml b/ejb-in-ear/ejb/src/main/java/META-INF/beans.xml
index 6a7b5b81a1..642bf1e10e 100644
--- a/ejb-in-ear/ejb/src/main/java/META-INF/beans.xml
+++ b/ejb-in-ear/ejb/src/main/java/META-INF/beans.xml
@@ -18,6 +18,6 @@
diff --git a/ejb-in-ear/pom.xml b/ejb-in-ear/pom.xml
index 218b13b453..ed489c52ba 100644
--- a/ejb-in-ear/pom.xml
+++ b/ejb-in-ear/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -119,7 +119,7 @@
-
org.jboss.quickstarts.eap
@@ -127,8 +127,8 @@
${project.version}
ejb
-
-
org.jboss.quickstarts.eap
@@ -156,8 +156,8 @@
-
org.wildfly.plugins
diff --git a/ejb-in-ear/web/pom.xml b/ejb-in-ear/web/pom.xml
index 927d2f23cc..9498ac00eb 100644
--- a/ejb-in-ear/web/pom.xml
+++ b/ejb-in-ear/web/pom.xml
@@ -42,7 +42,7 @@
http://www.apache.org/licenses/LICENSE-2.0.html
-
+
diff --git a/ejb-in-ear/web/src/main/webapp/WEB-INF/beans.xml b/ejb-in-ear/web/src/main/webapp/WEB-INF/beans.xml
index 6a7b5b81a1..642bf1e10e 100644
--- a/ejb-in-ear/web/src/main/webapp/WEB-INF/beans.xml
+++ b/ejb-in-ear/web/src/main/webapp/WEB-INF/beans.xml
@@ -18,6 +18,6 @@
diff --git a/ejb-in-war/pom.xml b/ejb-in-war/pom.xml
index 5ac2714378..ac79f9eab4 100644
--- a/ejb-in-war/pom.xml
+++ b/ejb-in-war/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -91,12 +91,12 @@
-
UTF-8
-
+
1.0.2.Final
@@ -113,14 +113,14 @@
-
-
org.jboss.bom
@@ -141,7 +141,7 @@
provided
-
org.jboss.spec.javax.annotation
@@ -179,7 +179,7 @@
-
${project.artifactId}
@@ -187,7 +187,7 @@
maven-war-plugin
${version.war.plugin}
-
false
@@ -203,9 +203,9 @@
-
-
default
@@ -224,9 +224,9 @@
-
-
arq-wildfly-managed
@@ -239,7 +239,7 @@
-
arq-wildfly-remote
diff --git a/ejb-in-war/src/main/webapp/WEB-INF/beans.xml b/ejb-in-war/src/main/webapp/WEB-INF/beans.xml
index 955868d46a..460d1cf31b 100644
--- a/ejb-in-war/src/main/webapp/WEB-INF/beans.xml
+++ b/ejb-in-war/src/main/webapp/WEB-INF/beans.xml
@@ -19,6 +19,6 @@
diff --git a/ejb-in-war/src/main/webapp/WEB-INF/faces-config.xml b/ejb-in-war/src/main/webapp/WEB-INF/faces-config.xml
index a745c52343..40ec16100c 100644
--- a/ejb-in-war/src/main/webapp/WEB-INF/faces-config.xml
+++ b/ejb-in-war/src/main/webapp/WEB-INF/faces-config.xml
@@ -23,5 +23,5 @@
xsi:schemaLocation="
http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
-
+
diff --git a/ejb-in-war/src/test/java/org/jboss/as/quickstarts/ejbinwar/test/GreeterEJBTest.java b/ejb-in-war/src/test/java/org/jboss/as/quickstarts/ejbinwar/test/GreeterEJBTest.java
index 9d6bcd7e3f..71ecaf8592 100644
--- a/ejb-in-war/src/test/java/org/jboss/as/quickstarts/ejbinwar/test/GreeterEJBTest.java
+++ b/ejb-in-war/src/test/java/org/jboss/as/quickstarts/ejbinwar/test/GreeterEJBTest.java
@@ -41,7 +41,7 @@ public class GreeterEJBTest {
@Deployment
public static JavaArchive createDeployment() {
return ShrinkWrap.create(JavaArchive.class, "test.jar").addClasses(GreeterEJB.class)
- .addAsManifestResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
+ .addAsManifestResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
}
@EJB
diff --git a/ejb-in-war/src/test/java/org/jboss/as/quickstarts/ejbinwar/test/GreeterTest.java b/ejb-in-war/src/test/java/org/jboss/as/quickstarts/ejbinwar/test/GreeterTest.java
index 8fa37f06af..a9e57f6074 100644
--- a/ejb-in-war/src/test/java/org/jboss/as/quickstarts/ejbinwar/test/GreeterTest.java
+++ b/ejb-in-war/src/test/java/org/jboss/as/quickstarts/ejbinwar/test/GreeterTest.java
@@ -42,7 +42,7 @@ public class GreeterTest {
@Deployment
public static JavaArchive createTestArchive() {
return ShrinkWrap.create(JavaArchive.class, "test.jar").addClasses(Greeter.class, GreeterEJB.class)
- .addAsManifestResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
+ .addAsManifestResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
}
@Inject
diff --git a/ejb-multi-server/app-main/ear/pom.xml b/ejb-multi-server/app-main/ear/pom.xml
index 75e82faa7e..7f96c5ee09 100644
--- a/ejb-multi-server/app-main/ear/pom.xml
+++ b/ejb-multi-server/app-main/ear/pom.xml
@@ -47,7 +47,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
diff --git a/ejb-multi-server/app-main/ear/src/main/application/META-INF/jboss-ejb-client.xml b/ejb-multi-server/app-main/ear/src/main/application/META-INF/jboss-ejb-client.xml
index 67591e2c8f..0b78ca6158 100644
--- a/ejb-multi-server/app-main/ear/src/main/application/META-INF/jboss-ejb-client.xml
+++ b/ejb-multi-server/app-main/ear/src/main/application/META-INF/jboss-ejb-client.xml
@@ -22,7 +22,7 @@
-
+
diff --git a/ejb-multi-server/app-main/ejb/pom.xml b/ejb-multi-server/app-main/ejb/pom.xml
index 40b57c061e..dabe1051eb 100644
--- a/ejb-multi-server/app-main/ejb/pom.xml
+++ b/ejb-multi-server/app-main/ejb/pom.xml
@@ -44,7 +44,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
diff --git a/ejb-multi-server/app-main/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/MainApp.java b/ejb-multi-server/app-main/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/MainApp.java
index e8ff884129..309b678af6 100644
--- a/ejb-multi-server/app-main/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/MainApp.java
+++ b/ejb-multi-server/app-main/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/MainApp.java
@@ -21,12 +21,12 @@
@Remote
public interface MainApp {
- /**
- * Invoke the sub applications with the recommended lookup names. Return informations about the called beans.
- *
- * @param text This text will be logged in the main-application
- * @return A simple text representation of the call stack and the destination servers
- */
+ /**
+ * Invoke the sub applications with the recommended lookup names. Return informations about the called beans.
+ *
+ * @param text This text will be logged in the main-application
+ * @return A simple text representation of the call stack and the destination servers
+ */
String invokeAll(String text);
String getJBossNodeName();
diff --git a/ejb-multi-server/app-main/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/MainAppBean.java b/ejb-multi-server/app-main/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/MainAppBean.java
index 69c0e41e96..990909dae3 100644
--- a/ejb-multi-server/app-main/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/MainAppBean.java
+++ b/ejb-multi-server/app-main/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/MainAppBean.java
@@ -43,9 +43,9 @@ public class MainAppBean implements MainApp {
@Resource
SessionContext context;
- /**
- * The context to invoke foreign EJB's as the SessionContext can not be used for that.
- */
+ /**
+ * The context to invoke foreign EJB's as the SessionContext can not be used for that.
+ */
private InitialContext iCtx;
@EJB(lookup = "ejb:jboss-ejb-multi-server-app-one/ejb//AppOneBean!org.jboss.as.quickstarts.ejb.multi.server.app.AppOne")
@@ -53,16 +53,16 @@ public class MainAppBean implements MainApp {
@EJB(lookup = "ejb:jboss-ejb-multi-server-app-two/ejb//AppTwoBean!org.jboss.as.quickstarts.ejb.multi.server.app.AppTwo")
AppTwo appTwoProxy;
- /**
- * Initialize and store the context for the EJB invocations.
- */
+ /**
+ * Initialize and store the context for the EJB invocations.
+ */
@PostConstruct
public void init() {
try {
final Hashtable p = new Hashtable<>();
p.put(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming");
this.iCtx = new InitialContext(p);
- }catch (NamingException e) {
+ } catch (NamingException e) {
throw new RuntimeException("Could not initialize context", e);
}
}
@@ -78,20 +78,20 @@ public String invokeAll(String text) {
LOGGER.info("[" + caller.getName() + "] " + text);
final StringBuilder result = new StringBuilder("MainApp[" + caller.getName() + "]@" + System.getProperty("jboss.node.name"));
- // Call AppOne with the direct ejb: naming
+ // Call AppOne with the direct ejb: naming
try {
result.append(" > [ " + invokeAppOne(text));
- }catch (Exception e) {
+ } catch (Exception e) {
LOGGER.error("Could not invoke AppOne", e);
}
String lookup = "";
- // Call AppTwo with the direct ejb: naming
+ // Call AppTwo with the direct ejb: naming
try {
lookup = "ejb:jboss-ejb-multi-server-app-two/ejb//AppTwoBean!" + AppTwo.class.getName();
result.append(" > " + invokeAppTwo(lookup, text));
LOGGER.info("Invoke '" + lookup + " OK");
- }catch (Exception e) {
+ } catch (Exception e) {
LOGGER.error("Could not invoke apptwo '" + lookup + "'", e);
}
@@ -101,7 +101,7 @@ public String invokeAll(String text) {
lookup = "java:comp/env/AppTwoAlias";
result.append(" ; " + invokeAppTwo(lookup, text));
LOGGER.info("Invoke '" + lookup + " OK");
- }catch (Exception e) {
+ } catch (Exception e) {
LOGGER.error("Could not invoke apptwo '" + lookup + "'", e);
}
@@ -110,7 +110,7 @@ public String invokeAll(String text) {
return result.toString();
}
- /**
+ /**
* The application one can only be called with the standard naming, there is
* no alias.
*
@@ -125,27 +125,27 @@ private String invokeAppOne(String text) {
LOGGER.info("AppOne return : " + appOneResult);
return appOneResult;
- }catch (Exception e) {
+ } catch (Exception e) {
throw new RuntimeException("Could not invoke appOne", e);
}
}
/**
- * The application two can be called via lookup.
- *
- * - with the standard naming
- * ejb:jboss-ejb-multi-server-app-two/ejb//AppTwoBean!org.jboss.as.quickstarts
- * .ejb.multi.server.app.AppTwo
- * - java:global/AliasAppTwo the alias provided by the server
- * configuration this is not recommended
- * - java:comp/env/AppTwoAlias the local alias provided by the
- * ejb-jar.xml configuration
- *
- *
- * @param text
- * Simple text for logging in the target servers logfile
- * @return A text with server details for demonstration
- */
+ * The application two can be called via lookup.
+ *
+ * - with the standard naming
+ * ejb:jboss-ejb-multi-server-app-two/ejb//AppTwoBean!org.jboss.as.quickstarts
+ * .ejb.multi.server.app.AppTwo
+ * - java:global/AliasAppTwo the alias provided by the server
+ * configuration this is not recommended
+ * - java:comp/env/AppTwoAlias the local alias provided by the
+ * ejb-jar.xml configuration
+ *
+ *
+ * @param text
+ * Simple text for logging in the target servers logfile
+ * @return A text with server details for demonstration
+ */
private String invokeAppTwo(String lookup, String text) throws NamingException {
final AppTwo bean = (AppTwo) iCtx.lookup(lookup);
diff --git a/ejb-multi-server/app-main/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/MainAppSContextBean.java b/ejb-multi-server/app-main/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/MainAppSContextBean.java
index abb84b05fc..9e5bf65e5e 100644
--- a/ejb-multi-server/app-main/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/MainAppSContextBean.java
+++ b/ejb-multi-server/app-main/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/MainAppSContextBean.java
@@ -65,7 +65,7 @@ private void createAppOneContext() {
ejbClientContextProps.put("org.jboss.ejb.client.scoped.context", true);
// Property which will handle the ejb: namespace during JNDI lookup
ejbClientContextProps.put(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming");
- ejbClientContextProps.put("remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED","false");
+ ejbClientContextProps.put("remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED", "false");
// add a property which lists the connections that we are configuring.
// In this example, we are just configuring a single connection.
final String connectionName = "appOneConnection";
@@ -80,8 +80,10 @@ private void createAppOneContext() {
ejbClientContextProps.put("remote.cluster.ejb.password", "quick+123");
try {
- appOneScopedEjbContext = (Context)new InitialContext(ejbClientContextProps).lookup("ejb:");
- } catch (NamingException e) {LOGGER.error("Could not create InitialContext('appOne')", e);}
+ appOneScopedEjbContext = (Context) new InitialContext(ejbClientContextProps).lookup("ejb:");
+ } catch (NamingException e) {
+ LOGGER.error("Could not create InitialContext('appOne')", e);
+ }
}
private void createAppTwoContext() {
@@ -104,7 +106,9 @@ private void createAppTwoContext() {
try {
appTwoScopedEjbContextA = (Context) new InitialContext(ejbClientContextProps).lookup("ejb:");
- } catch (NamingException e) {LOGGER.error("Could not create InitialContext('appTwoA')", e);}
+ } catch (NamingException e) {
+ LOGGER.error("Could not create InitialContext('appTwoA')", e);
+ }
// change the necessary properties to call the other server
ejbClientContextProps.put("endpoint.name", "appMain->appTwoB_endpoint");
@@ -114,13 +118,15 @@ private void createAppTwoContext() {
try {
appTwoScopedEjbContextB = (Context) new InitialContext(ejbClientContextProps).lookup("ejb:");
- } catch (NamingException e) {LOGGER.error("Could not create InitialContext('appTwoB')", e);}
+ } catch (NamingException e) {
+ LOGGER.error("Could not create InitialContext('appTwoB')", e);
+ }
}
@PostConstruct
private void createScopedContext() {
synchronized (activeInstances) {
- if(activeInstances == 0) {
+ if (activeInstances == 0) {
LOGGER.info("First instance of " + this.getClass().getSimpleName() + " initializing scoped-context");
createAppOneContext();
createAppTwoContext();
@@ -133,7 +139,7 @@ private void createScopedContext() {
private void destroyScopedContext() {
synchronized (activeInstances) {
activeInstances--;
- if(activeInstances == 0) {
+ if (activeInstances == 0) {
LOGGER.info("Last active instance of " + this.getClass().getSimpleName() + " closing scoped-context");
try {
appOneScopedEjbContext.close();
@@ -166,7 +172,7 @@ public String getJBossNodeName() {
public String invokeAll(String text) {
Principal caller = context.getCallerPrincipal();
LOGGER.info("[" + caller.getName() + "] " + text);
- final StringBuilder result = new StringBuilder("MainAppSContext["+ caller.getName() + "]@" + getJBossNodeName());
+ final StringBuilder result = new StringBuilder("MainAppSContext[" + caller.getName() + "]@" + getJBossNodeName());
// Call AppOne with the direct ejb: naming
try {
result.append(" > [ " + invokeAppOne(text));
@@ -181,7 +187,7 @@ public String invokeAll(String text) {
return result.toString();
}
- /**
+ /**
* Invoke the AppOne with the scoped client context. The initial connection
* will use the 'quickuser1', to differentiate the cluster connection it
* will be use the user 'quickuser2' to see if the clustered context is used
@@ -193,9 +199,9 @@ public String invokeAll(String text) {
*/
private String invokeAppOne(String text) {
try {
- // this context will not use the server configured
- // 'outbound-connection' and also did not use the
- // jboss-ejb-client.xml.
+ // this context will not use the server configured
+ // 'outbound-connection' and also did not use the
+ // jboss-ejb-client.xml.
final AppOne bean = (AppOne) appOneScopedEjbContext.lookup("jboss-ejb-multi-server-app-one/ejb//AppOneBean!" + AppOne.class.getName());
StringBuilder result = new StringBuilder("{");
@@ -219,15 +225,15 @@ private String invokeAppOne(String text) {
}
/**
- * Close the given context and write a log message which endpoint is closed.
- *
- * @param iCtx
- * context to close, null
will be ignored.
- */
+ * Close the given context and write a log message which endpoint is closed.
+ *
+ * @param iCtx
+ * context to close, null
will be ignored.
+ */
private static void saveContextClose(Context iCtx) {
if (iCtx != null) {
try {
- LOGGER.info("close Context "+ iCtx.getEnvironment().get("endpoint.name"));
+ LOGGER.info("close Context " + iCtx.getEnvironment().get("endpoint.name"));
iCtx.close();
} catch (NamingException e) {
@@ -237,22 +243,24 @@ private static void saveContextClose(Context iCtx) {
}
/**
- * Invoke the App2 with different ejb-client context. The server AppTwoA
- * will be called with the user quickuser1. The server AppTwoB will be
- * called with the user quickuser2. Both invocations are separate, there
- * will no mix between. Also the outbound-connection is not used.
- *
- * @param text
- * Simple text which will be logged at server side.
- * @return simple collection of the returned results
- */
+ * Invoke the App2 with different ejb-client context. The server AppTwoA
+ * will be called with the user quickuser1. The server AppTwoB will be
+ * called with the user quickuser2. Both invocations are separate, there
+ * will no mix between. Also the outbound-connection is not used.
+ *
+ * @param text
+ * Simple text which will be logged at server side.
+ * @return simple collection of the returned results
+ */
private String invokeAppTwo(String text) {
AppTwo beanA = null;
AppTwo beanB = null;
try {
beanA = (AppTwo) appTwoScopedEjbContextA.lookup("jboss-ejb-multi-server-app-two/ejb//AppTwoBean!" + AppTwo.class.getName());
- } catch (NamingException e) {LOGGER.error("Could not create InitialContext('appTwoA')");}
+ } catch (NamingException e) {
+ LOGGER.error("Could not create InitialContext('appTwoA')");
+ }
try {
beanB = (AppTwo) appTwoScopedEjbContextB.lookup("jboss-ejb-multi-server-app-two/ejb//AppTwoBean!" + AppTwo.class.getName());
@@ -280,18 +288,18 @@ private String invokeAppTwo(String text) {
}
/**
- * Same method as {@link #invokeAppTwo(String)}, but the scoped context is created and destroyed
- * inside the method. Because of this it is not possbile to use the transaction managed by the container
- * as the connection must be open until the container send commit/rollback to the foreign server.
- * Therefore it is necessary to add the annotation @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
- * to the {@link #invokeAll(String)} method.
- *
- * For test you might rename this method.
- *
- * @param text
- * Simple text which will be logged at server side.
- * @return simple collection of the returned results
- */
+ * Same method as {@link #invokeAppTwo(String)}, but the scoped context is created and destroyed
+ * inside the method. Because of this it is not possbile to use the transaction managed by the container
+ * as the connection must be open until the container send commit/rollback to the foreign server.
+ * Therefore it is necessary to add the annotation @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
+ * to the {@link #invokeAll(String)} method.
+ *
+ * For test you might rename this method.
+ *
+ * @param text
+ * Simple text which will be logged at server side.
+ * @return simple collection of the returned results
+ */
@SuppressWarnings("unused")
private String invokeAppTwoAlternative(String text) {
AppTwo beanA = null;
@@ -318,7 +326,9 @@ private String invokeAppTwoAlternative(String text) {
try {
iCtxA = (Context) new InitialContext(ejbClientContextProps).lookup("ejb:");
beanA = (AppTwo) iCtxA.lookup("jboss-ejb-multi-server-app-two/ejb//AppTwoBean!" + AppTwo.class.getName());
- } catch (NamingException e) {LOGGER.error("Could not create InitialContext('appTwoA')");}
+ } catch (NamingException e) {
+ LOGGER.error("Could not create InitialContext('appTwoA')");
+ }
// change the necessary properties to call the other server
ejbClientContextProps.put("endpoint.name", "appMain->appTwoB_endpoint");
diff --git a/ejb-multi-server/app-main/web/pom.xml b/ejb-multi-server/app-main/web/pom.xml
index 2471a62ab5..4f0cbfd2a3 100644
--- a/ejb-multi-server/app-main/web/pom.xml
+++ b/ejb-multi-server/app-main/web/pom.xml
@@ -44,7 +44,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -149,7 +149,7 @@
copy
-
diff --git a/ejb-multi-server/app-main/web/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/JsfController.java b/ejb-multi-server/app-main/web/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/JsfController.java
index 3e96428859..a80d02c25c 100644
--- a/ejb-multi-server/app-main/web/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/JsfController.java
+++ b/ejb-multi-server/app-main/web/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/JsfController.java
@@ -35,43 +35,43 @@ public class JsfController {
private static final Logger LOOGER = Logger.getLogger(JsfController.class);
private EjbInvocation invocation;
- /**
- * Inject the 'standard' bean.
- * The simple @EJB injection is valid only if the MainApp is unique within the same application EAR archive.
- * Since there is a MainAppSContextBean using same interface, we can use this @EJB approach and specify
- * the name and interface as shown here to specify which exact reference should be injected.
- * The beanInterface and the mappedName can be used in this case, but it is not necessary if the beanName is unique and implement only one interface.
- */
+ /**
+ * Inject the 'standard' bean.
+ * The simple @EJB injection is valid only if the MainApp is unique within the same application EAR archive.
+ * Since there is a MainAppSContextBean using same interface, we can use this @EJB approach and specify
+ * the name and interface as shown here to specify which exact reference should be injected.
+ * The beanInterface and the mappedName can be used in this case, but it is not necessary if the beanName is unique and implement only one interface.
+ */
@EJB(beanName = "MainAppBean", beanInterface = MainApp.class)
MainApp mainApp;
- /**
- * Inject a different bean implementation of the same interface.
- * Or use the @Resource annotation with the lookup name only.
- */
+ /**
+ * Inject a different bean implementation of the same interface.
+ * Or use the @Resource annotation with the lookup name only.
+ */
@Resource(mappedName = "ejb:jboss-ejb-multi-server-app-main/ejb/MainAppSContextBean!org.jboss.as.quickstarts.ejb.multi.server.app.MainApp")
MainApp mainAppScopedContext;
- /**
- * Injection with @EJB is not possible for foreign application in a different server. For this we can use @Resource.
- * Lookup is introduced in Java EE6, so there are compiler or runtime problems if a Java version is used which not contain
- * the javax.annotation.Resource
lookup
.
- * Therefore a fix/workaround is necessary to be able to compile.
- * See Jaikiran's technical blog
- */
+ /**
+ * Injection with @EJB is not possible for foreign application in a different server. For this we can use @Resource.
+ * Lookup is introduced in Java EE6, so there are compiler or runtime problems if a Java version is used which not contain
+ * the javax.annotation.Resource
lookup
.
+ * Therefore a fix/workaround is necessary to be able to compile.
+ * See Jaikiran's technical blog
+ */
@Resource(lookup = "ejb:jboss-ejb-multi-server-app-one/ejb//AppOneBean!org.jboss.as.quickstarts.ejb.multi.server.app.AppOne")
AppOne oneApp;
- /**
- * Injection with @EJB is not possible for a foreign application in a different server. For this we can use @Resource.
- * Here, we use mappedName
, which was available prior to Java EE 7, to avoid compilation errors.
- */
+ /**
+ * Injection with @EJB is not possible for a foreign application in a different server. For this we can use @Resource.
+ * Here, we use mappedName
, which was available prior to Java EE 7, to avoid compilation errors.
+ */
@Resource(mappedName = "ejb:jboss-ejb-multi-server-app-two/ejb//AppTwoBean!org.jboss.as.quickstarts.ejb.multi.server.app.AppTwo")
AppTwo twoApp;
- /**
- * Initialize the controller.
- */
+ /**
+ * Initialize the controller.
+ */
@PostConstruct
public void initForm() {
this.invocation = new EjbInvocation();
diff --git a/ejb-multi-server/app-main/web/src/main/webapp/WEB-INF/beans.xml b/ejb-multi-server/app-main/web/src/main/webapp/WEB-INF/beans.xml
index 6a7b5b81a1..642bf1e10e 100644
--- a/ejb-multi-server/app-main/web/src/main/webapp/WEB-INF/beans.xml
+++ b/ejb-multi-server/app-main/web/src/main/webapp/WEB-INF/beans.xml
@@ -18,6 +18,6 @@
diff --git a/ejb-multi-server/app-one/ear/pom.xml b/ejb-multi-server/app-one/ear/pom.xml
index 920adee3dc..8b25c4640e 100644
--- a/ejb-multi-server/app-one/ear/pom.xml
+++ b/ejb-multi-server/app-one/ear/pom.xml
@@ -43,7 +43,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -117,7 +117,7 @@
A simple quickstart application to demonstrate the
server-server communication
6
-
true
diff --git a/ejb-multi-server/app-one/ejb/pom.xml b/ejb-multi-server/app-one/ejb/pom.xml
index 41dcd3b3a7..7e7ed6461c 100644
--- a/ejb-multi-server/app-one/ejb/pom.xml
+++ b/ejb-multi-server/app-one/ejb/pom.xml
@@ -44,7 +44,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
diff --git a/ejb-multi-server/app-one/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/AppOne.java b/ejb-multi-server/app-one/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/AppOne.java
index 65e31119f7..7a8391154e 100644
--- a/ejb-multi-server/app-one/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/AppOne.java
+++ b/ejb-multi-server/app-one/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/AppOne.java
@@ -26,24 +26,24 @@
@Remote
public interface AppOne {
- /**
- * Unsecured invocation, will return the name of application, principal and JBoss node.
- *
- * @param text Simple text written to to the logfile to identify the invocation
- * @return app1[<PrincipalName>]@<jboss.node.name>
- */
+ /**
+ * Unsecured invocation, will return the name of application, principal and JBoss node.
+ *
+ * @param text Simple text written to to the logfile to identify the invocation
+ * @return app1[<PrincipalName>]@<jboss.node.name>
+ */
String invoke(String text);
- /**
- * @return The property of jboss.node.name, pattern <host>:<server>
- */
+ /**
+ * @return The property of jboss.node.name, pattern <host>:<server>
+ */
String getJBossNodeName();
- /**
- * Secured invocation for Roles ( AppOne, Intern ). See {@link #invoke(String)}
- *
- * @param text Simple text written to to the logfile to identify the invocation
- * @return app1[<PrincipalName>]@<jboss.node.name>
- */
+ /**
+ * Secured invocation for Roles ( AppOne, Intern ). See {@link #invoke(String)}
+ *
+ * @param text Simple text written to to the logfile to identify the invocation
+ * @return app1[<PrincipalName>]@<jboss.node.name>
+ */
String invokeSecured(String text);
}
diff --git a/ejb-multi-server/app-two/ear/pom.xml b/ejb-multi-server/app-two/ear/pom.xml
index 920bedcd45..fe2f5574eb 100644
--- a/ejb-multi-server/app-two/ear/pom.xml
+++ b/ejb-multi-server/app-two/ear/pom.xml
@@ -43,7 +43,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -117,7 +117,7 @@
A simple quickstart application to demonstrate the
server-server communication
6
-
true
diff --git a/ejb-multi-server/app-two/ejb/pom.xml b/ejb-multi-server/app-two/ejb/pom.xml
index 9c5845653b..33382987dd 100644
--- a/ejb-multi-server/app-two/ejb/pom.xml
+++ b/ejb-multi-server/app-two/ejb/pom.xml
@@ -44,7 +44,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
diff --git a/ejb-multi-server/app-two/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/AppTwo.java b/ejb-multi-server/app-two/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/AppTwo.java
index 975f08caca..b06faf5444 100644
--- a/ejb-multi-server/app-two/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/AppTwo.java
+++ b/ejb-multi-server/app-two/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/AppTwo.java
@@ -26,25 +26,25 @@
@Remote
public interface AppTwo {
- /**
- * Unsecured invocation, will return the name of application, principal and JBoss node.
- *
- * @param text Simple text written to to the logfile to identify the invocation
- * @return app1[<PrincipalName>]@<jboss.node.name>
- */
+ /**
+ * Unsecured invocation, will return the name of application, principal and JBoss node.
+ *
+ * @param text Simple text written to to the logfile to identify the invocation
+ * @return app1[<PrincipalName>]@<jboss.node.name>
+ */
String invoke(String text);
- /**
- * @return The property of jboss.node.name, pattern <host>:<server>
- */
+ /**
+ * @return The property of jboss.node.name, pattern <host>:<server>
+ */
String getJBossNodeName();
- /**
- * Secured invocation for Roles ( AppTwo, Intern ). See {@link #invoke(String)}
- *
- * @param text Simple text written to to the logfile to identify the invocation
- * @return app1[<PrincipalName>]@<jboss.node.name>
- */
+ /**
+ * Secured invocation for Roles ( AppTwo, Intern ). See {@link #invoke(String)}
+ *
+ * @param text Simple text written to to the logfile to identify the invocation
+ * @return app1[<PrincipalName>]@<jboss.node.name>
+ */
String invokeSecured(String text);
}
diff --git a/ejb-multi-server/app-two/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/AppTwoBean.java b/ejb-multi-server/app-two/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/AppTwoBean.java
index 9222e7a0f4..7774e82d45 100644
--- a/ejb-multi-server/app-two/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/AppTwoBean.java
+++ b/ejb-multi-server/app-two/ejb/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/AppTwoBean.java
@@ -33,7 +33,8 @@
* @author Wolf-Dieter Fink
*/
@SecurityDomain(value = "other")
-public @Stateless class AppTwoBean implements AppTwo {
+public @Stateless
+class AppTwoBean implements AppTwo {
private static final Logger LOGGER = Logger.getLogger(AppTwoBean.class);
@Resource
diff --git a/ejb-multi-server/app-web/pom.xml b/ejb-multi-server/app-web/pom.xml
index 7fe8bd5051..8f61e0ffaa 100644
--- a/ejb-multi-server/app-web/pom.xml
+++ b/ejb-multi-server/app-web/pom.xml
@@ -49,7 +49,7 @@
provided
${project.groupId}
diff --git a/ejb-multi-server/client/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/Client.java b/ejb-multi-server/client/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/Client.java
index c69046e0fe..5a0cc6c5f3 100644
--- a/ejb-multi-server/client/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/Client.java
+++ b/ejb-multi-server/client/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/Client.java
@@ -71,9 +71,9 @@ public static void main(String[] args) throws Exception {
final boolean useScopedExample = Boolean.getBoolean("UseScopedContext");
final String rcal = "ejb:jboss-ejb-multi-server-app-main/ejb//" + (useScopedExample ? "MainAppSContextBean" : "MainAppBean") + "!" + MainApp.class.getName();
final MainApp remote = (MainApp) context.lookup(rcal);
- final String result = remote.invokeAll("Client call at "+new Date());
+ final String result = remote.invokeAll("Client call at " + new Date());
- System.out.println("InvokeAll succeed: "+result);
+ System.out.println("InvokeAll succeed: " + result);
}
}
diff --git a/ejb-multi-server/pom.xml b/ejb-multi-server/pom.xml
index 507985df9d..b21e1619c9 100644
--- a/ejb-multi-server/pom.xml
+++ b/ejb-multi-server/pom.xml
@@ -43,7 +43,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -92,9 +92,9 @@
-
-
UTF-8
@@ -106,7 +106,7 @@
2.0.3.Final
-
+
3.1
diff --git a/ejb-remote/client/pom.xml b/ejb-remote/client/pom.xml
index 09bf970efc..93438ceb85 100644
--- a/ejb-remote/client/pom.xml
+++ b/ejb-remote/client/pom.xml
@@ -40,9 +40,9 @@
-
-
UTF-8
@@ -81,7 +81,7 @@
-
org.jboss.spec.javax.transaction
@@ -89,7 +89,7 @@
runtime
-
org.jboss.spec.javax.ejb
@@ -119,7 +119,7 @@
${project.artifactId}
-
org.codehaus.mojo
@@ -136,7 +136,7 @@
java
${project.build.directory}/exec-working-directory
-
-classpath
@@ -160,9 +160,9 @@
-
-
org.wildfly.plugins
diff --git a/ejb-remote/client/src/main/java/org/jboss/as/quickstarts/ejb/remote/client/RemoteEJBClient.java b/ejb-remote/client/src/main/java/org/jboss/as/quickstarts/ejb/remote/client/RemoteEJBClient.java
index 3256ddb8ab..6a0739f7b5 100644
--- a/ejb-remote/client/src/main/java/org/jboss/as/quickstarts/ejb/remote/client/RemoteEJBClient.java
+++ b/ejb-remote/client/src/main/java/org/jboss/as/quickstarts/ejb/remote/client/RemoteEJBClient.java
@@ -58,18 +58,18 @@ private static void invokeStatelessBean() throws NamingException {
System.out.println("Remote calculator returned sum = " + sum);
if (sum != a + b) {
throw new RuntimeException("Remote stateless calculator returned an incorrect sum " + sum + " ,expected sum was "
- + (a + b));
+ + (a + b));
}
// try one more invocation, this time for subtraction
int num1 = 3434;
int num2 = 2332;
System.out.println("Subtracting " + num2 + " from " + num1
- + " via the remote stateless calculator deployed on the server");
+ + " via the remote stateless calculator deployed on the server");
int difference = statelessRemoteCalculator.subtract(num1, num2);
System.out.println("Remote calculator returned difference = " + difference);
if (difference != num1 - num2) {
throw new RuntimeException("Remote stateless calculator returned an incorrect difference " + difference
- + " ,expected difference was " + (num1 - num2));
+ + " ,expected difference was " + (num1 - num2));
}
}
@@ -130,7 +130,7 @@ private static RemoteCalculator lookupRemoteStatelessCalculator() throws NamingE
// let's do the lookup
return (RemoteCalculator) context.lookup("ejb:/jboss-ejb-remote-server-side/CalculatorBean!"
- + RemoteCalculator.class.getName());
+ + RemoteCalculator.class.getName());
}
/**
@@ -164,6 +164,6 @@ private static RemoteCounter lookupRemoteStatefulCounter() throws NamingExceptio
// let's do the lookup
return (RemoteCounter) context.lookup("ejb:/jboss-ejb-remote-server-side/CounterBean!"
- + RemoteCounter.class.getName() + "?stateful");
+ + RemoteCounter.class.getName() + "?stateful");
}
}
diff --git a/ejb-remote/pom.xml b/ejb-remote/pom.xml
index d6c33d884d..914587aa74 100644
--- a/ejb-remote/pom.xml
+++ b/ejb-remote/pom.xml
@@ -39,7 +39,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -109,7 +109,7 @@
${project.artifactId}
-
diff --git a/ejb-remote/server-side/pom.xml b/ejb-remote/server-side/pom.xml
index 27ed09f90a..13025c4204 100644
--- a/ejb-remote/server-side/pom.xml
+++ b/ejb-remote/server-side/pom.xml
@@ -17,7 +17,7 @@
-->
4.0.0
-
+
org.jboss.quickstarts.eap
jboss-ejb-remote-server-side
7.0.0-SNAPSHOT
@@ -35,14 +35,14 @@
-
UTF-8
-
+
1.0.2.Final
-
+
1.0.3.Final
@@ -56,9 +56,9 @@
-
diff --git a/ejb-security-interceptors/pom.xml b/ejb-security-interceptors/pom.xml
index 82d063d548..e516bf83d8 100644
--- a/ejb-security-interceptors/pom.xml
+++ b/ejb-security-interceptors/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
diff --git a/ejb-security-interceptors/src/main/java/org/jboss/as/quickstarts/ejb_security_interceptors/ServerSecurityInterceptor.java b/ejb-security-interceptors/src/main/java/org/jboss/as/quickstarts/ejb_security_interceptors/ServerSecurityInterceptor.java
index 5431a49363..db54a3174c 100644
--- a/ejb-security-interceptors/src/main/java/org/jboss/as/quickstarts/ejb_security_interceptors/ServerSecurityInterceptor.java
+++ b/ejb-security-interceptors/src/main/java/org/jboss/as/quickstarts/ejb_security_interceptors/ServerSecurityInterceptor.java
@@ -64,7 +64,6 @@ public Object aroundInvoke(final InvocationContext invocationContext) throws Exc
}
}
-
ContextStateCache stateCache = null;
try {
if (desiredUser != null && connectionUser != null
@@ -85,7 +84,8 @@ public Object aroundInvoke(final InvocationContext invocationContext) throws Exc
} finally {
// switch back to original context
if (stateCache != null) {
- SecurityActions.popIdentity(stateCache);;
+ SecurityActions.popIdentity(stateCache);
+ ;
}
}
}
diff --git a/ejb-security-interceptors/src/main/resources/META-INF/beans.xml b/ejb-security-interceptors/src/main/resources/META-INF/beans.xml
index 8c5ac6eaa9..4114ef5dc1 100644
--- a/ejb-security-interceptors/src/main/resources/META-INF/beans.xml
+++ b/ejb-security-interceptors/src/main/resources/META-INF/beans.xml
@@ -16,10 +16,10 @@
limitations under the License.
-->
-
-
\ No newline at end of file
+
diff --git a/ejb-security-interceptors/src/main/resources/META-INF/jboss-deployment-structure.xml b/ejb-security-interceptors/src/main/resources/META-INF/jboss-deployment-structure.xml
index 7f05359741..6d2d142067 100644
--- a/ejb-security-interceptors/src/main/resources/META-INF/jboss-deployment-structure.xml
+++ b/ejb-security-interceptors/src/main/resources/META-INF/jboss-deployment-structure.xml
@@ -23,5 +23,5 @@
-
-
\ No newline at end of file
+
+
diff --git a/ejb-security-interceptors/src/main/resources/META-INF/jboss-ejb-client.xml b/ejb-security-interceptors/src/main/resources/META-INF/jboss-ejb-client.xml
index 932f2b13ab..e3d834f04a 100644
--- a/ejb-security-interceptors/src/main/resources/META-INF/jboss-ejb-client.xml
+++ b/ejb-security-interceptors/src/main/resources/META-INF/jboss-ejb-client.xml
@@ -21,4 +21,4 @@
-
\ No newline at end of file
+
diff --git a/ejb-security-interceptors/src/main/resources/META-INF/jboss-ejb3.xml b/ejb-security-interceptors/src/main/resources/META-INF/jboss-ejb3.xml
index 73ed0cb2ef..35241a7096 100644
--- a/ejb-security-interceptors/src/main/resources/META-INF/jboss-ejb3.xml
+++ b/ejb-security-interceptors/src/main/resources/META-INF/jboss-ejb3.xml
@@ -15,11 +15,11 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
@@ -38,4 +38,4 @@
-
\ No newline at end of file
+
diff --git a/ejb-security/pom.xml b/ejb-security/pom.xml
index 4edf838354..316680a5b5 100644
--- a/ejb-security/pom.xml
+++ b/ejb-security/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -90,9 +90,9 @@
-
-
UTF-8
@@ -133,7 +133,7 @@
provided
-
org.jboss.spec.javax.annotation
@@ -161,7 +161,7 @@
-
${project.artifactId}
diff --git a/ejb-security/src/main/webapp/WEB-INF/beans.xml b/ejb-security/src/main/webapp/WEB-INF/beans.xml
index 8c5ac6eaa9..4114ef5dc1 100644
--- a/ejb-security/src/main/webapp/WEB-INF/beans.xml
+++ b/ejb-security/src/main/webapp/WEB-INF/beans.xml
@@ -16,10 +16,10 @@
limitations under the License.
-->
-
-
\ No newline at end of file
+
diff --git a/ejb-security/src/main/webapp/WEB-INF/web.xml b/ejb-security/src/main/webapp/WEB-INF/web.xml
index 6ccb7c9e63..bf4d4465c7 100644
--- a/ejb-security/src/main/webapp/WEB-INF/web.xml
+++ b/ejb-security/src/main/webapp/WEB-INF/web.xml
@@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
diff --git a/ejb-throws-exception/ear/pom.xml b/ejb-throws-exception/ear/pom.xml
index 0d006f6b30..dd919ada77 100644
--- a/ejb-throws-exception/ear/pom.xml
+++ b/ejb-throws-exception/ear/pom.xml
@@ -1,117 +1,117 @@
-
-
-
- 4.0.0
-
-
- org.jboss.quickstarts.eap
- jboss-ejb-throws-exception
- 7.0.0-SNAPSHOT
-
-
- jboss-ejb-throws-exception-ear
- ear
-
- JBoss EAP Quickstart: ejb-throws-exception - ear
-
- http://www.jboss.org/products/eap
-
-
- Apache License, Version 2.0
- repo
- http://www.apache.org/licenses/LICENSE-2.0.html
-
-
-
-
-
-
-
- org.jboss.quickstarts.eap
- jboss-ejb-throws-exception-web
- war
-
-
- org.jboss.quickstarts.eap
- jboss-ejb-throws-exception-ejb
- ejb
-
-
- org.jboss.quickstarts.eap
- jboss-ejb-throws-exception-ejb-api
-
-
-
-
- ${project.parent.artifactId}
-
-
- org.apache.maven.plugins
- maven-ear-plugin
- ${version.ear.plugin}
-
-
- ${version.javaee}
-
- lib
- no-version
-
-
-
-
-
- org.wildfly.plugins
- wildfly-maven-plugin
-
- false
-
-
-
-
-
-
-
-
-
-
-
- openshift
-
-
-
- maven-ear-plugin
- ${version.ear.plugin}
-
- deployments
-
-
-
-
-
-
-
-
+
+
+
+ 4.0.0
+
+
+ org.jboss.quickstarts.eap
+ jboss-ejb-throws-exception
+ 7.0.0-SNAPSHOT
+
+
+ jboss-ejb-throws-exception-ear
+ ear
+
+ JBoss EAP Quickstart: ejb-throws-exception - ear
+
+ http://www.jboss.org/products/eap
+
+
+ Apache License, Version 2.0
+ repo
+ http://www.apache.org/licenses/LICENSE-2.0.html
+
+
+
+
+
+
+
+ org.jboss.quickstarts.eap
+ jboss-ejb-throws-exception-web
+ war
+
+
+ org.jboss.quickstarts.eap
+ jboss-ejb-throws-exception-ejb
+ ejb
+
+
+ org.jboss.quickstarts.eap
+ jboss-ejb-throws-exception-ejb-api
+
+
+
+
+ ${project.parent.artifactId}
+
+
+ org.apache.maven.plugins
+ maven-ear-plugin
+ ${version.ear.plugin}
+
+
+ ${version.javaee}
+
+ lib
+ no-version
+
+
+
+
+
+ org.wildfly.plugins
+ wildfly-maven-plugin
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+ openshift
+
+
+
+ maven-ear-plugin
+ ${version.ear.plugin}
+
+ deployments
+
+
+
+
+
+
+
+
diff --git a/ejb-throws-exception/ejb/pom.xml b/ejb-throws-exception/ejb/pom.xml
index e725777565..7a62e40931 100644
--- a/ejb-throws-exception/ejb/pom.xml
+++ b/ejb-throws-exception/ejb/pom.xml
@@ -1,102 +1,102 @@
-
-
-
- 4.0.0
-
-
- jboss-ejb-throws-exception
- org.jboss.quickstarts.eap
- 7.0.0-SNAPSHOT
-
-
- jboss-ejb-throws-exception-ejb
- ejb
-
- JBoss EAP Quickstart: ejb-throws-exception - ejb
-
- http://www.jboss.org/products/eap
-
-
- Apache License, Version 2.0
- repo
- http://www.apache.org/licenses/LICENSE-2.0.html
-
-
-
-
-
-
-
-
-
- org.jboss.spec.javax.ejb
- jboss-ejb-api_3.2_spec
- provided
-
-
-
-
- javax.enterprise
- cdi-api
- provided
-
-
-
-
- org.hibernate.javax.persistence
- hibernate-jpa-2.1-api
- provided
-
-
-
-
-
-
- org.hibernate
- hibernate-validator
- provided
-
-
-
- org.jboss.quickstarts.eap
- jboss-ejb-throws-exception-ejb-api
-
-
-
-
-
- ${project.artifactId}
-
-
-
- maven-ejb-plugin
- ${version.ejb.plugin}
-
-
- ${version.ejb}
-
-
-
-
-
-
+
+
+
+ 4.0.0
+
+
+ jboss-ejb-throws-exception
+ org.jboss.quickstarts.eap
+ 7.0.0-SNAPSHOT
+
+
+ jboss-ejb-throws-exception-ejb
+ ejb
+
+ JBoss EAP Quickstart: ejb-throws-exception - ejb
+
+ http://www.jboss.org/products/eap
+
+
+ Apache License, Version 2.0
+ repo
+ http://www.apache.org/licenses/LICENSE-2.0.html
+
+
+
+
+
+
+
+
+
+ org.jboss.spec.javax.ejb
+ jboss-ejb-api_3.2_spec
+ provided
+
+
+
+
+ javax.enterprise
+ cdi-api
+ provided
+
+
+
+
+ org.hibernate.javax.persistence
+ hibernate-jpa-2.1-api
+ provided
+
+
+
+
+
+
+ org.hibernate
+ hibernate-validator
+ provided
+
+
+
+ org.jboss.quickstarts.eap
+ jboss-ejb-throws-exception-ejb-api
+
+
+
+
+
+ ${project.artifactId}
+
+
+
+ maven-ejb-plugin
+ ${version.ejb.plugin}
+
+
+ ${version.ejb}
+
+
+
+
+
+
diff --git a/ejb-throws-exception/ejb/src/main/java/org/jboss/as/quickstarts/ear/ejb/GreeterEJB.java b/ejb-throws-exception/ejb/src/main/java/org/jboss/as/quickstarts/ear/ejb/GreeterEJB.java
index 55e07553a0..fc7ea736e2 100644
--- a/ejb-throws-exception/ejb/src/main/java/org/jboss/as/quickstarts/ear/ejb/GreeterEJB.java
+++ b/ejb-throws-exception/ejb/src/main/java/org/jboss/as/quickstarts/ear/ejb/GreeterEJB.java
@@ -35,7 +35,7 @@ public GreeterEJB() {
public String sayHello(String name) throws GreeterException {
- if(name == null || name.equals(""))
+ if (name == null || name.equals(""))
throw new GreeterException("name cannot be null or empty");
return "Hello " + name;
diff --git a/ejb-throws-exception/ejb/src/main/resources/META-INF/beans.xml b/ejb-throws-exception/ejb/src/main/resources/META-INF/beans.xml
index 792d07e7cd..293f71a853 100644
--- a/ejb-throws-exception/ejb/src/main/resources/META-INF/beans.xml
+++ b/ejb-throws-exception/ejb/src/main/resources/META-INF/beans.xml
@@ -17,6 +17,6 @@
-->
diff --git a/ejb-throws-exception/pom.xml b/ejb-throws-exception/pom.xml
index fbbefb0083..a0c9bd203d 100644
--- a/ejb-throws-exception/pom.xml
+++ b/ejb-throws-exception/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -91,10 +91,10 @@
UTF-8
-
-
7.0.0-build-7
@@ -129,7 +129,7 @@
-
org.jboss.quickstarts.eap
@@ -138,7 +138,7 @@
ejb
-
org.jboss.quickstarts.eap
@@ -148,7 +148,7 @@
compile
-
org.jboss.quickstarts.eap
@@ -156,11 +156,11 @@
${project.version}
-
org.jboss.bom
@@ -176,8 +176,8 @@
-
org.wildfly.plugins
diff --git a/ejb-throws-exception/web/pom.xml b/ejb-throws-exception/web/pom.xml
index 549e3f6420..a83f9d68e2 100644
--- a/ejb-throws-exception/web/pom.xml
+++ b/ejb-throws-exception/web/pom.xml
@@ -1,100 +1,100 @@
-
-
-
- 4.0.0
-
-
- org.jboss.quickstarts.eap
- jboss-ejb-throws-exception
- 7.0.0-SNAPSHOT
-
-
- jboss-ejb-throws-exception-web
- war
-
- JBoss EAP Quickstart: ejb-throws-exception - web
-
- http://www.jboss.org/products/eap
-
-
- Apache License, Version 2.0
- repo
- http://www.apache.org/licenses/LICENSE-2.0.html
-
-
-
-
-
-
-
- org.jboss.quickstarts.eap
- jboss-ejb-throws-exception-ejb
- ejb
- provided
-
-
-
-
- org.jboss.spec.javax.ws.rs
- jboss-jaxrs-api_2.0_spec
- provided
-
-
-
-
- javax.enterprise
- cdi-api
- provided
-
-
-
-
- org.hibernate.javax.persistence
- hibernate-jpa-2.1-api
- provided
-
-
-
- org.jboss.spec.javax.ejb
- jboss-ejb-api_3.2_spec
- provided
-
-
-
-
- ${project.artifactId}
-
-
-
- maven-war-plugin
- ${version.war.plugin}
-
-
- false
-
-
-
-
-
-
+
+
+
+ 4.0.0
+
+
+ org.jboss.quickstarts.eap
+ jboss-ejb-throws-exception
+ 7.0.0-SNAPSHOT
+
+
+ jboss-ejb-throws-exception-web
+ war
+
+ JBoss EAP Quickstart: ejb-throws-exception - web
+
+ http://www.jboss.org/products/eap
+
+
+ Apache License, Version 2.0
+ repo
+ http://www.apache.org/licenses/LICENSE-2.0.html
+
+
+
+
+
+
+
+ org.jboss.quickstarts.eap
+ jboss-ejb-throws-exception-ejb
+ ejb
+ provided
+
+
+
+
+ org.jboss.spec.javax.ws.rs
+ jboss-jaxrs-api_2.0_spec
+ provided
+
+
+
+
+ javax.enterprise
+ cdi-api
+ provided
+
+
+
+
+ org.hibernate.javax.persistence
+ hibernate-jpa-2.1-api
+ provided
+
+
+
+ org.jboss.spec.javax.ejb
+ jboss-ejb-api_3.2_spec
+ provided
+
+
+
+
+ ${project.artifactId}
+
+
+
+ maven-war-plugin
+ ${version.war.plugin}
+
+
+ false
+
+
+
+
+
+
diff --git a/ejb-throws-exception/web/src/main/java/org/jboss/as/quickstarts/ear/controller/GreeterBean.java b/ejb-throws-exception/web/src/main/java/org/jboss/as/quickstarts/ear/controller/GreeterBean.java
index 50b4994f0e..f0c124ddb9 100644
--- a/ejb-throws-exception/web/src/main/java/org/jboss/as/quickstarts/ear/controller/GreeterBean.java
+++ b/ejb-throws-exception/web/src/main/java/org/jboss/as/quickstarts/ear/controller/GreeterBean.java
@@ -23,7 +23,6 @@
import org.jboss.as.quickstarts.ear.client.GreeterEJBLocal;
import org.jboss.as.quickstarts.ear.client.GreeterException;
-
/**
* @author bmaxwell
*
@@ -35,7 +34,8 @@
public class GreeterBean {
/* Inject the Local interface of the GreeterEJB so we can invoke sayHello */
- private @EJB GreeterEJBLocal greeterEJB;
+ private @EJB
+ GreeterEJBLocal greeterEJB;
/* An instance variable to hold the data bound in the inputText of the JSF page */
private String name;
@@ -81,12 +81,10 @@ public String sayHello() {
try {
response = greeterEJB.sayHello(name);
- }
- catch(GreeterException e) {
+ } catch (GreeterException e) {
response = "Error: " + e.getMessage();
}
return "";
}
-
}
diff --git a/ejb-throws-exception/web/src/main/webapp/WEB-INF/beans.xml b/ejb-throws-exception/web/src/main/webapp/WEB-INF/beans.xml
index 7f366005b0..3c35906d3d 100644
--- a/ejb-throws-exception/web/src/main/webapp/WEB-INF/beans.xml
+++ b/ejb-throws-exception/web/src/main/webapp/WEB-INF/beans.xml
@@ -16,10 +16,10 @@
limitations under the License.
-->
-
diff --git a/ejb-timer/pom.xml b/ejb-timer/pom.xml
index 710cbf1f18..acfe19b12b 100644
--- a/ejb-timer/pom.xml
+++ b/ejb-timer/pom.xml
@@ -42,7 +42,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -103,9 +103,9 @@
-
org.jboss.spec
@@ -152,7 +152,7 @@
-
${project.artifactId}
@@ -168,7 +168,7 @@
-
+
maven-war-plugin
2.4
diff --git a/ejb-timer/src/main/java/META-INF/beans.xml b/ejb-timer/src/main/java/META-INF/beans.xml
index 8c5ac6eaa9..4114ef5dc1 100644
--- a/ejb-timer/src/main/java/META-INF/beans.xml
+++ b/ejb-timer/src/main/java/META-INF/beans.xml
@@ -16,10 +16,10 @@
limitations under the License.
-->
-
-
\ No newline at end of file
+
diff --git a/ejb-timer/src/main/java/org/jboss/as/quickstarts/ejbTimer/ScheduleExample.java b/ejb-timer/src/main/java/org/jboss/as/quickstarts/ejbTimer/ScheduleExample.java
index fd9f776564..51653eccac 100644
--- a/ejb-timer/src/main/java/org/jboss/as/quickstarts/ejbTimer/ScheduleExample.java
+++ b/ejb-timer/src/main/java/org/jboss/as/quickstarts/ejbTimer/ScheduleExample.java
@@ -21,7 +21,6 @@
import javax.ejb.Schedule;
import javax.ejb.Singleton;
-
/**
* Demonstrates how to use the EJB's @Schedule.
*
@@ -30,11 +29,11 @@
@Singleton
public class ScheduleExample {
- @Schedule(second="*/6", minute="*",hour="*", persistent=false)
- public void doWork(){
+ @Schedule(second = "*/6", minute = "*", hour = "*", persistent = false)
+ public void doWork() {
Date currentTime = new Date();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy.MM.dd G 'at' HH:mm:ss z");
- System.out.println( "ScheduleExample.doWork() invoked at " + simpleDateFormat.format(currentTime) );
+ System.out.println("ScheduleExample.doWork() invoked at " + simpleDateFormat.format(currentTime));
}
}
diff --git a/ejb-timer/src/main/java/org/jboss/as/quickstarts/ejbTimer/TimeoutExample.java b/ejb-timer/src/main/java/org/jboss/as/quickstarts/ejbTimer/TimeoutExample.java
index f5750bd94e..a05ba811de 100644
--- a/ejb-timer/src/main/java/org/jboss/as/quickstarts/ejbTimer/TimeoutExample.java
+++ b/ejb-timer/src/main/java/org/jboss/as/quickstarts/ejbTimer/TimeoutExample.java
@@ -24,7 +24,6 @@
import javax.ejb.*;
import javax.interceptor.InvocationContext;
-
/**
* Demonstrates how to use the EJB's @Timeout.
*
@@ -45,11 +44,11 @@ public void scheduler(Timer timer) {
}
@PostConstruct
- public void initialize( InvocationContext ctx ) {
+ public void initialize(InvocationContext ctx) {
ScheduleExpression se = new ScheduleExpression();
// Set schedule to every 3 seconds (starting at second 0 of every minute).
se.hour("*").minute("*").second("0/3");
- timerService.createCalendarTimer( se, new TimerConfig("EJB timer service timeout at ", false) );
+ timerService.createCalendarTimer(se, new TimerConfig("EJB timer service timeout at ", false));
}
@PreDestroy
diff --git a/greeter/pom.xml b/greeter/pom.xml
index 1cde0b8389..1c7d97a10c 100644
--- a/greeter/pom.xml
+++ b/greeter/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -90,9 +90,9 @@
-
-
UTF-8
@@ -112,8 +112,8 @@
-
org.jboss.spec.javax.annotation
@@ -179,7 +179,7 @@
-
${project.artifactId}
@@ -187,7 +187,7 @@
maven-war-plugin
${version.war.plugin}
-
false
diff --git a/greeter/src/main/java/org/jboss/as/quickstarts/greeter/domain/User.java b/greeter/src/main/java/org/jboss/as/quickstarts/greeter/domain/User.java
index 9e1457be80..705882a588 100644
--- a/greeter/src/main/java/org/jboss/as/quickstarts/greeter/domain/User.java
+++ b/greeter/src/main/java/org/jboss/as/quickstarts/greeter/domain/User.java
@@ -24,7 +24,7 @@
@Entity
// User is a keyword in some SQL dialects!
-@Table(name="Users")
+@Table(name = "Users")
public class User {
@Id
diff --git a/greeter/src/main/resources/META-INF/persistence.xml b/greeter/src/main/resources/META-INF/persistence.xml
index 6e53ace01c..55534b16f8 100644
--- a/greeter/src/main/resources/META-INF/persistence.xml
+++ b/greeter/src/main/resources/META-INF/persistence.xml
@@ -21,9 +21,9 @@
http://xmlns.jcp.org/xml/ns/persistence
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
-
-
java:jboss/datasources/GreeterQuickstartDS
diff --git a/greeter/src/main/webapp/WEB-INF/beans.xml b/greeter/src/main/webapp/WEB-INF/beans.xml
index 8a1563c857..27e7d28fd5 100644
--- a/greeter/src/main/webapp/WEB-INF/beans.xml
+++ b/greeter/src/main/webapp/WEB-INF/beans.xml
@@ -17,10 +17,10 @@
-
diff --git a/greeter/src/main/webapp/WEB-INF/greeter-quickstart-ds.xml b/greeter/src/main/webapp/WEB-INF/greeter-quickstart-ds.xml
index 716d4eec13..d7a1743b6d 100644
--- a/greeter/src/main/webapp/WEB-INF/greeter-quickstart-ds.xml
+++ b/greeter/src/main/webapp/WEB-INF/greeter-quickstart-ds.xml
@@ -15,14 +15,14 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
+
-
@@ -34,4 +34,4 @@
-
+
diff --git a/helloworld-html5/README.md b/helloworld-html5/README.md
index f1de30af5a..84f3247f85 100644
--- a/helloworld-html5/README.md
+++ b/helloworld-html5/README.md
@@ -3,9 +3,9 @@ helloworld-html5: HTML5 and REST Hello World Example
Author: Jay Balunas, Burr Sutter, Douglas Campos, Bruno Olivera
Level: Beginner
Technologies: CDI, JAX-RS, HTML5
-Summary: The `helloworld-html5` quickstart demonstrates the use of *CDI 1.1* and *JAX-RS 2.0* using the HTML5 architecture and RESTful services on the backend.
-Target Product: JBoss EAP
-Source:
+Summary: The `helloworld-html5` quickstart demonstrates the use of *CDI 1.1* and *JAX-RS 2.0* using the HTML5 architecture and RESTful services on the backend.
+Target Product: JBoss EAP
+Source:
What is it?
-----------
diff --git a/helloworld-html5/pom.xml b/helloworld-html5/pom.xml
index edacacdcf7..0a99f12e1b 100644
--- a/helloworld-html5/pom.xml
+++ b/helloworld-html5/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -91,7 +91,7 @@
-
UTF-8
@@ -136,7 +136,7 @@
provided
-
org.jboss.spec.javax.annotation
@@ -176,11 +176,11 @@
-
-
-
openshift
diff --git a/helloworld-html5/src/main/webapp/WEB-INF/beans.xml b/helloworld-html5/src/main/webapp/WEB-INF/beans.xml
index 71531b7b5f..460d1cf31b 100644
--- a/helloworld-html5/src/main/webapp/WEB-INF/beans.xml
+++ b/helloworld-html5/src/main/webapp/WEB-INF/beans.xml
@@ -21,4 +21,4 @@
xsi:schemaLocation="
http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd" bean-discovery-mode="all">
-
\ No newline at end of file
+
diff --git a/helloworld-jms/pom.xml b/helloworld-jms/pom.xml
index 534dd1be93..0f8312ab59 100644
--- a/helloworld-jms/pom.xml
+++ b/helloworld-jms/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -91,7 +91,7 @@
-
UTF-8
diff --git a/helloworld-jms/src/main/java/org/jboss/as/quickstarts/jms/HelloWorldJMSClient.java b/helloworld-jms/src/main/java/org/jboss/as/quickstarts/jms/HelloWorldJMSClient.java
index f87b93a5ef..c4b87e65aa 100644
--- a/helloworld-jms/src/main/java/org/jboss/as/quickstarts/jms/HelloWorldJMSClient.java
+++ b/helloworld-jms/src/main/java/org/jboss/as/quickstarts/jms/HelloWorldJMSClient.java
@@ -98,4 +98,3 @@ public static void main(String[] args) {
}
}
}
-
diff --git a/helloworld-mbean/helloworld-mbean-service/pom.xml b/helloworld-mbean/helloworld-mbean-service/pom.xml
index 4b75c5d418..57ae1afb0a 100644
--- a/helloworld-mbean/helloworld-mbean-service/pom.xml
+++ b/helloworld-mbean/helloworld-mbean-service/pom.xml
@@ -1,61 +1,61 @@
-
-
-
- 4.0.0
-
- org.jboss.quickstarts.eap
- jboss-helloworld-mbean
- 7.0.0-SNAPSHOT
-
- jboss-helloworld-mbean-helloworld-mbean-service
- jboss-sar
-
- JBoss EAP Quickstart: helloworld-mbean - helloworld-mbean-service
-
- http://www.jboss.org/products/eap
-
-
- Apache License, Version 2.0
- repo
- http://www.apache.org/licenses/LICENSE-2.0.html
-
-
-
-
- ${project.artifactId}
-
-
- org.codehaus.mojo
- jboss-packaging-maven-plugin
- ${version.jboss.packaging.plugin}
-
- true
-
-
- org.wildfly.plugins
- wildfly-maven-plugin
- ${version.wildfly.maven.plugin}
-
- false
- ${project.artifactId}.sar
-
-
-
-
-
+
+
+
+ 4.0.0
+
+ org.jboss.quickstarts.eap
+ jboss-helloworld-mbean
+ 7.0.0-SNAPSHOT
+
+ jboss-helloworld-mbean-helloworld-mbean-service
+ jboss-sar
+
+ JBoss EAP Quickstart: helloworld-mbean - helloworld-mbean-service
+
+ http://www.jboss.org/products/eap
+
+
+ Apache License, Version 2.0
+ repo
+ http://www.apache.org/licenses/LICENSE-2.0.html
+
+
+
+
+ ${project.artifactId}
+
+
+ org.codehaus.mojo
+ jboss-packaging-maven-plugin
+ ${version.jboss.packaging.plugin}
+
+ true
+
+
+ org.wildfly.plugins
+ wildfly-maven-plugin
+ ${version.wildfly.maven.plugin}
+
+ false
+ ${project.artifactId}.sar
+
+
+
+
+
diff --git a/helloworld-mbean/helloworld-mbean-service/src/main/resources/META-INF/beans.xml b/helloworld-mbean/helloworld-mbean-service/src/main/resources/META-INF/beans.xml
index 8c5ac6eaa9..4114ef5dc1 100644
--- a/helloworld-mbean/helloworld-mbean-service/src/main/resources/META-INF/beans.xml
+++ b/helloworld-mbean/helloworld-mbean-service/src/main/resources/META-INF/beans.xml
@@ -16,10 +16,10 @@
limitations under the License.
-->
-
-
\ No newline at end of file
+
diff --git a/helloworld-mbean/helloworld-mbean-service/src/main/resources/META-INF/jboss-service.xml b/helloworld-mbean/helloworld-mbean-service/src/main/resources/META-INF/jboss-service.xml
index 8bf8de5824..86713b646d 100644
--- a/helloworld-mbean/helloworld-mbean-service/src/main/resources/META-INF/jboss-service.xml
+++ b/helloworld-mbean/helloworld-mbean-service/src/main/resources/META-INF/jboss-service.xml
@@ -1,22 +1,22 @@
-
-
-
-
- Welcome
-
-
\ No newline at end of file
+
+
+
+
+ Welcome
+
+
diff --git a/helloworld-mbean/helloworld-mbean-webapp/pom.xml b/helloworld-mbean/helloworld-mbean-webapp/pom.xml
index 34f8d8fbd2..09ea2d4673 100644
--- a/helloworld-mbean/helloworld-mbean-webapp/pom.xml
+++ b/helloworld-mbean/helloworld-mbean-webapp/pom.xml
@@ -1,61 +1,61 @@
-
-
-
- 4.0.0
-
- org.jboss.quickstarts.eap
- jboss-helloworld-mbean
- 7.0.0-SNAPSHOT
-
- jboss-helloworld-mbean-helloworld-mbean-webapp
- war
- JBoss EAP Quickstart: helloworld-mbean - helloworld-mbean-webapp
-
- http://www.jboss.org/products/eap
-
-
- Apache License, Version 2.0
- repo
- http://www.apache.org/licenses/LICENSE-2.0.html
-
-
-
-
-
- ${project.artifactId}
-
-
- maven-war-plugin
- ${version.war.plugin}
-
-
- false
-
-
-
- org.wildfly.plugins
- wildfly-maven-plugin
- ${version.wildfly.maven.plugin}
-
- false
-
-
-
-
-
+
+
+
+ 4.0.0
+
+ org.jboss.quickstarts.eap
+ jboss-helloworld-mbean
+ 7.0.0-SNAPSHOT
+
+ jboss-helloworld-mbean-helloworld-mbean-webapp
+ war
+ JBoss EAP Quickstart: helloworld-mbean - helloworld-mbean-webapp
+
+ http://www.jboss.org/products/eap
+
+
+ Apache License, Version 2.0
+ repo
+ http://www.apache.org/licenses/LICENSE-2.0.html
+
+
+
+
+
+ ${project.artifactId}
+
+
+ maven-war-plugin
+ ${version.war.plugin}
+
+
+ false
+
+
+
+ org.wildfly.plugins
+ wildfly-maven-plugin
+ ${version.wildfly.maven.plugin}
+
+ false
+
+
+
+
+
diff --git a/helloworld-mbean/helloworld-mbean-webapp/src/main/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/IAnnotatedHelloWorldMBean.java b/helloworld-mbean/helloworld-mbean-webapp/src/main/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/IAnnotatedHelloWorldMBean.java
index e7b4014457..f458674614 100644
--- a/helloworld-mbean/helloworld-mbean-webapp/src/main/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/IAnnotatedHelloWorldMBean.java
+++ b/helloworld-mbean/helloworld-mbean-webapp/src/main/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/IAnnotatedHelloWorldMBean.java
@@ -36,6 +36,7 @@ public interface IAnnotatedHelloWorldMBean {
* Read write attribute
*/
void setWelcomeMessage(String message);
+
String getWelcomeMessage();
/**
diff --git a/helloworld-mbean/helloworld-mbean-webapp/src/main/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/IHelloWorldMXBean.java b/helloworld-mbean/helloworld-mbean-webapp/src/main/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/IHelloWorldMXBean.java
index b910ccf996..46900f76a6 100644
--- a/helloworld-mbean/helloworld-mbean-webapp/src/main/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/IHelloWorldMXBean.java
+++ b/helloworld-mbean/helloworld-mbean-webapp/src/main/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/IHelloWorldMXBean.java
@@ -33,6 +33,7 @@ public interface IHelloWorldMXBean {
* Read write attribute
*/
void setWelcomeMessage(String message);
+
String getWelcomeMessage();
/**
diff --git a/helloworld-mbean/helloworld-mbean-webapp/src/main/webapp/META-INF/jboss-service.xml b/helloworld-mbean/helloworld-mbean-webapp/src/main/webapp/META-INF/jboss-service.xml
index d4058475e2..39da287da8 100644
--- a/helloworld-mbean/helloworld-mbean-webapp/src/main/webapp/META-INF/jboss-service.xml
+++ b/helloworld-mbean/helloworld-mbean-webapp/src/main/webapp/META-INF/jboss-service.xml
@@ -1,24 +1,24 @@
-
-
-
-
-
- Welcome
-
-
-
+
+
+
+
+
+ Welcome
+
+
+
diff --git a/helloworld-mbean/helloworld-mbean-webapp/src/main/webapp/WEB-INF/beans.xml b/helloworld-mbean/helloworld-mbean-webapp/src/main/webapp/WEB-INF/beans.xml
index 80b601a73c..4dc8a800ab 100644
--- a/helloworld-mbean/helloworld-mbean-webapp/src/main/webapp/WEB-INF/beans.xml
+++ b/helloworld-mbean/helloworld-mbean-webapp/src/main/webapp/WEB-INF/beans.xml
@@ -1,23 +1,23 @@
-
-
-
-
+
+
+
+
diff --git a/helloworld-mbean/helloworld-mbean-webapp/src/test/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/AnnotatedComponentHelloWorldTest.java b/helloworld-mbean/helloworld-mbean-webapp/src/test/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/AnnotatedComponentHelloWorldTest.java
index ad438c6686..b75f937539 100644
--- a/helloworld-mbean/helloworld-mbean-webapp/src/test/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/AnnotatedComponentHelloWorldTest.java
+++ b/helloworld-mbean/helloworld-mbean-webapp/src/test/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/AnnotatedComponentHelloWorldTest.java
@@ -50,11 +50,11 @@ public class AnnotatedComponentHelloWorldTest {
*/
@Deployment
public static Archive> createTestArchive() {
- return ShrinkWrap.create(JavaArchive.class,"helloworld.jar")
- .addClasses(AnnotatedComponentHelloWorld.class).addClasses(AbstractComponentMBean.class)
- .addClass(IAnnotatedHelloWorldMBean.class)
- .addClass(HelloService.class)
- .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml");
+ return ShrinkWrap.create(JavaArchive.class, "helloworld.jar")
+ .addClasses(AnnotatedComponentHelloWorld.class).addClasses(AbstractComponentMBean.class)
+ .addClass(IAnnotatedHelloWorldMBean.class)
+ .addClass(HelloService.class)
+ .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml");
}
@Test
@@ -63,12 +63,12 @@ public void testHello() throws Exception {
ObjectName objectName = new ObjectName("quickstarts", "type", AnnotatedComponentHelloWorld.class.getSimpleName());
MBeanInfo mbeanInfo = mbeanServer.getMBeanInfo(objectName);
Assert.assertNotNull(mbeanInfo);
- Assert.assertEquals(0L,mbeanServer.getAttribute(objectName, "Count"));
- Assert.assertEquals("Hello",mbeanServer.getAttribute(objectName, "WelcomeMessage"));
- Assert.assertEquals("Hello jer!",mbeanServer.invoke(objectName, "sayHello", new Object[] {"jer"}, new String[] {"java.lang.String"}));
- Assert.assertEquals(1L,mbeanServer.getAttribute(objectName, "Count"));
- mbeanServer.setAttribute(objectName, new Attribute("WelcomeMessage","Hi"));
- Assert.assertEquals("Hi jer!",mbeanServer.invoke(objectName, "sayHello", new Object[] {"jer"}, new String[] {"java.lang.String"}));
- Assert.assertEquals(2L,mbeanServer.getAttribute(objectName, "Count"));
+ Assert.assertEquals(0L, mbeanServer.getAttribute(objectName, "Count"));
+ Assert.assertEquals("Hello", mbeanServer.getAttribute(objectName, "WelcomeMessage"));
+ Assert.assertEquals("Hello jer!", mbeanServer.invoke(objectName, "sayHello", new Object[] { "jer" }, new String[] { "java.lang.String" }));
+ Assert.assertEquals(1L, mbeanServer.getAttribute(objectName, "Count"));
+ mbeanServer.setAttribute(objectName, new Attribute("WelcomeMessage", "Hi"));
+ Assert.assertEquals("Hi jer!", mbeanServer.invoke(objectName, "sayHello", new Object[] { "jer" }, new String[] { "java.lang.String" }));
+ Assert.assertEquals(2L, mbeanServer.getAttribute(objectName, "Count"));
}
}
diff --git a/helloworld-mbean/helloworld-mbean-webapp/src/test/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/MXPojoHelloWorldTest.java b/helloworld-mbean/helloworld-mbean-webapp/src/test/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/MXPojoHelloWorldTest.java
index 72d760255b..62a4fbdfc3 100644
--- a/helloworld-mbean/helloworld-mbean-webapp/src/test/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/MXPojoHelloWorldTest.java
+++ b/helloworld-mbean/helloworld-mbean-webapp/src/test/java/org/jboss/as/quickstarts/mbeanhelloworld/mbean/MXPojoHelloWorldTest.java
@@ -55,11 +55,11 @@ public class MXPojoHelloWorldTest {
*/
@Deployment
public static Archive> createTestArchive() {
- return ShrinkWrap.create(WebArchive.class,"test.war")
- .addClasses(MXPojoHelloWorld.class, IHelloWorldMXBean.class, HelloService.class, CDIExtension.class)
- .addAsManifestResource(new File(WEBAPP_SRC, "META-INF/jboss-service.xml"), "jboss-service.xml")
- .addAsServiceProvider(Extension.class, CDIExtension.class)
- .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml");
+ return ShrinkWrap.create(WebArchive.class, "test.war")
+ .addClasses(MXPojoHelloWorld.class, IHelloWorldMXBean.class, HelloService.class, CDIExtension.class)
+ .addAsManifestResource(new File(WEBAPP_SRC, "META-INF/jboss-service.xml"), "jboss-service.xml")
+ .addAsServiceProvider(Extension.class, CDIExtension.class)
+ .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml");
}
@Test
@@ -68,12 +68,12 @@ public void testHello() throws Exception {
ObjectName objectName = new ObjectName("quickstarts", "type", MXPojoHelloWorld.class.getSimpleName());
MBeanInfo mbeanInfo = mbeanServer.getMBeanInfo(objectName);
Assert.assertNotNull(mbeanInfo);
- Assert.assertEquals(0L,mbeanServer.getAttribute(objectName, "Count"));
- Assert.assertEquals("Welcome",mbeanServer.getAttribute(objectName, "WelcomeMessage"));
- Assert.assertEquals("Welcome jer!",mbeanServer.invoke(objectName, "sayHello", new Object[] {"jer"}, new String[] {"java.lang.String"}));
- Assert.assertEquals(1L,mbeanServer.getAttribute(objectName, "Count"));
- mbeanServer.setAttribute(objectName, new Attribute("WelcomeMessage","Hi"));
- Assert.assertEquals("Hi jer!",mbeanServer.invoke(objectName, "sayHello", new Object[] {"jer"}, new String[] {"java.lang.String"}));
- Assert.assertEquals(2L,mbeanServer.getAttribute(objectName, "Count"));
+ Assert.assertEquals(0L, mbeanServer.getAttribute(objectName, "Count"));
+ Assert.assertEquals("Welcome", mbeanServer.getAttribute(objectName, "WelcomeMessage"));
+ Assert.assertEquals("Welcome jer!", mbeanServer.invoke(objectName, "sayHello", new Object[] { "jer" }, new String[] { "java.lang.String" }));
+ Assert.assertEquals(1L, mbeanServer.getAttribute(objectName, "Count"));
+ mbeanServer.setAttribute(objectName, new Attribute("WelcomeMessage", "Hi"));
+ Assert.assertEquals("Hi jer!", mbeanServer.invoke(objectName, "sayHello", new Object[] { "jer" }, new String[] { "java.lang.String" }));
+ Assert.assertEquals(2L, mbeanServer.getAttribute(objectName, "Count"));
}
}
diff --git a/helloworld-mbean/pom.xml b/helloworld-mbean/pom.xml
index c80302f4fb..f30b4d9c31 100644
--- a/helloworld-mbean/pom.xml
+++ b/helloworld-mbean/pom.xml
@@ -40,7 +40,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -89,9 +89,9 @@
-
-
UTF-8
@@ -105,7 +105,7 @@
2.2
2.1.1
2.10
-
+
1.8
1.8
@@ -118,14 +118,14 @@
-
-
org.jboss.bom
diff --git a/helloworld-mdb-propertysubstitution/pom.xml b/helloworld-mdb-propertysubstitution/pom.xml
index 0bcdfc78c5..514b241be3 100644
--- a/helloworld-mdb-propertysubstitution/pom.xml
+++ b/helloworld-mdb-propertysubstitution/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -90,9 +90,9 @@
-
-
UTF-8
@@ -113,11 +113,11 @@
-
org.jboss.spec
@@ -130,7 +130,7 @@
-
org.jboss.spec.javax.servlet
@@ -155,7 +155,7 @@
-
${project.artifactId}
@@ -163,7 +163,7 @@
maven-war-plugin
${version.war.plugin}
-
false
@@ -179,11 +179,11 @@
-
-
-
openshift
@@ -195,7 +195,7 @@
deployments
ROOT
-
false
diff --git a/helloworld-mdb-propertysubstitution/src/main/java/org/jboss/as/quickstarts/mdb/HelloWorldQueueMDB.java b/helloworld-mdb-propertysubstitution/src/main/java/org/jboss/as/quickstarts/mdb/HelloWorldQueueMDB.java
index ebc931a0b4..3ed2c9c108 100644
--- a/helloworld-mdb-propertysubstitution/src/main/java/org/jboss/as/quickstarts/mdb/HelloWorldQueueMDB.java
+++ b/helloworld-mdb-propertysubstitution/src/main/java/org/jboss/as/quickstarts/mdb/HelloWorldQueueMDB.java
@@ -33,9 +33,9 @@
*
*/
@MessageDriven(name = "HelloWorldQueueMDB", activationConfig = {
- @ActivationConfigProperty(propertyName = "destinationLookup", propertyValue = "queue/HELLOWORLDMDBQueue"),
- @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
- @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge") })
+ @ActivationConfigProperty(propertyName = "destinationLookup", propertyValue = "queue/HELLOWORLDMDBQueue"),
+ @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
+ @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge") })
public class HelloWorldQueueMDB implements MessageListener {
private final static Logger LOGGER = Logger.getLogger(HelloWorldQueueMDB.class.toString());
diff --git a/helloworld-mdb-propertysubstitution/src/main/java/org/jboss/as/quickstarts/servlet/HelloWorldMDBServletClient.java b/helloworld-mdb-propertysubstitution/src/main/java/org/jboss/as/quickstarts/servlet/HelloWorldMDBServletClient.java
index 42f14c9c06..1a85f58cd0 100644
--- a/helloworld-mdb-propertysubstitution/src/main/java/org/jboss/as/quickstarts/servlet/HelloWorldMDBServletClient.java
+++ b/helloworld-mdb-propertysubstitution/src/main/java/org/jboss/as/quickstarts/servlet/HelloWorldMDBServletClient.java
@@ -38,20 +38,18 @@
* (one queue and one topic).
*/
@JMSDestinationDefinitions(
- value = {
- @JMSDestinationDefinition(
- name = "java:/queue/HELLOWORLDMDBQueue",
- interfaceName = "javax.jms.Queue",
- destinationName = "HelloWorldMDBQueue"
- ),
- @JMSDestinationDefinition(
- name = "java:/topic/HELLOWORLDMDBTopic",
- interfaceName = "javax.jms.Topic",
- destinationName = "HelloWorldMDBTopic"
- )
- }
-)
-
+ value = {
+ @JMSDestinationDefinition(
+ name = "java:/queue/HELLOWORLDMDBQueue",
+ interfaceName = "javax.jms.Queue",
+ destinationName = "HelloWorldMDBQueue"
+ ),
+ @JMSDestinationDefinition(
+ name = "java:/topic/HELLOWORLDMDBTopic",
+ interfaceName = "javax.jms.Topic",
+ destinationName = "HelloWorldMDBTopic"
+ )
+ })
/**
*
* A simple servlet 3 as client that sends several messages to a queue or a topic.
diff --git a/helloworld-mdb/pom.xml b/helloworld-mdb/pom.xml
index 33531be57e..8c2263540e 100644
--- a/helloworld-mdb/pom.xml
+++ b/helloworld-mdb/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -90,9 +90,9 @@
-
-
UTF-8
@@ -113,11 +113,11 @@
-
org.jboss.spec
@@ -130,7 +130,7 @@
-
org.jboss.spec.javax.servlet
@@ -152,11 +152,11 @@
cdi-api
provided
-
+
-
${project.artifactId}
@@ -164,7 +164,7 @@
maven-war-plugin
${version.war.plugin}
-
false
@@ -180,11 +180,11 @@
-
-
-
openshift
@@ -196,7 +196,7 @@
deployments
ROOT
-
false
diff --git a/helloworld-mdb/src/main/java/org/jboss/as/quickstarts/mdb/HelloWorldQueueMDB.java b/helloworld-mdb/src/main/java/org/jboss/as/quickstarts/mdb/HelloWorldQueueMDB.java
index ebc931a0b4..3ed2c9c108 100644
--- a/helloworld-mdb/src/main/java/org/jboss/as/quickstarts/mdb/HelloWorldQueueMDB.java
+++ b/helloworld-mdb/src/main/java/org/jboss/as/quickstarts/mdb/HelloWorldQueueMDB.java
@@ -33,9 +33,9 @@
*
*/
@MessageDriven(name = "HelloWorldQueueMDB", activationConfig = {
- @ActivationConfigProperty(propertyName = "destinationLookup", propertyValue = "queue/HELLOWORLDMDBQueue"),
- @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
- @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge") })
+ @ActivationConfigProperty(propertyName = "destinationLookup", propertyValue = "queue/HELLOWORLDMDBQueue"),
+ @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
+ @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge") })
public class HelloWorldQueueMDB implements MessageListener {
private final static Logger LOGGER = Logger.getLogger(HelloWorldQueueMDB.class.toString());
diff --git a/helloworld-mdb/src/main/java/org/jboss/as/quickstarts/servlet/HelloWorldMDBServletClient.java b/helloworld-mdb/src/main/java/org/jboss/as/quickstarts/servlet/HelloWorldMDBServletClient.java
index 42f14c9c06..1a85f58cd0 100644
--- a/helloworld-mdb/src/main/java/org/jboss/as/quickstarts/servlet/HelloWorldMDBServletClient.java
+++ b/helloworld-mdb/src/main/java/org/jboss/as/quickstarts/servlet/HelloWorldMDBServletClient.java
@@ -38,20 +38,18 @@
* (one queue and one topic).
*/
@JMSDestinationDefinitions(
- value = {
- @JMSDestinationDefinition(
- name = "java:/queue/HELLOWORLDMDBQueue",
- interfaceName = "javax.jms.Queue",
- destinationName = "HelloWorldMDBQueue"
- ),
- @JMSDestinationDefinition(
- name = "java:/topic/HELLOWORLDMDBTopic",
- interfaceName = "javax.jms.Topic",
- destinationName = "HelloWorldMDBTopic"
- )
- }
-)
-
+ value = {
+ @JMSDestinationDefinition(
+ name = "java:/queue/HELLOWORLDMDBQueue",
+ interfaceName = "javax.jms.Queue",
+ destinationName = "HelloWorldMDBQueue"
+ ),
+ @JMSDestinationDefinition(
+ name = "java:/topic/HELLOWORLDMDBTopic",
+ interfaceName = "javax.jms.Topic",
+ destinationName = "HelloWorldMDBTopic"
+ )
+ })
/**
*
* A simple servlet 3 as client that sends several messages to a queue or a topic.
diff --git a/helloworld-rs/pom.xml b/helloworld-rs/pom.xml
index 1bbf72e481..56ffe68b97 100644
--- a/helloworld-rs/pom.xml
+++ b/helloworld-rs/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -91,7 +91,7 @@
-
UTF-8
@@ -111,8 +111,8 @@
-
org.jboss.spec.javax.annotation
@@ -156,7 +156,7 @@
-
${project.artifactId}
diff --git a/helloworld-rs/src/main/webapp/WEB-INF/beans.xml b/helloworld-rs/src/main/webapp/WEB-INF/beans.xml
index 955868d46a..460d1cf31b 100644
--- a/helloworld-rs/src/main/webapp/WEB-INF/beans.xml
+++ b/helloworld-rs/src/main/webapp/WEB-INF/beans.xml
@@ -19,6 +19,6 @@
diff --git a/helloworld-singleton/pom.xml b/helloworld-singleton/pom.xml
index 24594ad8dd..4bda0a4d20 100644
--- a/helloworld-singleton/pom.xml
+++ b/helloworld-singleton/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -91,14 +91,14 @@
-
UTF-8
1.0.2.Final
-
+
1.0.3.Final
@@ -112,11 +112,11 @@
-
org.jboss.spec
@@ -129,7 +129,7 @@
-
org.jboss.spec.javax.ejb
diff --git a/helloworld-singleton/src/main/webapp/WEB-INF/faces-config.xml b/helloworld-singleton/src/main/webapp/WEB-INF/faces-config.xml
index 924bcfcf75..76ee021140 100644
--- a/helloworld-singleton/src/main/webapp/WEB-INF/faces-config.xml
+++ b/helloworld-singleton/src/main/webapp/WEB-INF/faces-config.xml
@@ -23,5 +23,5 @@
xsi:schemaLocation="
http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
-
+
diff --git a/helloworld-ws/pom.xml b/helloworld-ws/pom.xml
index a84398820a..8a16ebd42a 100644
--- a/helloworld-ws/pom.xml
+++ b/helloworld-ws/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -90,16 +90,16 @@
-
-
UTF-8
-
+
1.0.2.Final
-
+
7.0.0-build-7
@@ -117,14 +117,14 @@
-
-
org.jboss.bom
@@ -137,7 +137,7 @@
-
javax.enterprise
@@ -145,7 +145,7 @@
provided
-
org.jboss.spec.javax.servlet
@@ -153,7 +153,7 @@
provided
-
org.jboss.spec.javax.annotation
@@ -176,7 +176,7 @@
-
${project.artifactId}
@@ -198,7 +198,7 @@
-
default
@@ -223,9 +223,9 @@
-
-
arq-wildfly-managed
@@ -252,7 +252,7 @@
-
arq-wildfly-remote
@@ -279,7 +279,7 @@
-
jbossas-remote
@@ -305,11 +305,11 @@
-
-
-
openshift
diff --git a/helloworld-ws/src/main/java/org/jboss/as/quickstarts/wshelloworld/HelloWorldServiceImpl.java b/helloworld-ws/src/main/java/org/jboss/as/quickstarts/wshelloworld/HelloWorldServiceImpl.java
index 07570e8d72..e1fcb4253f 100644
--- a/helloworld-ws/src/main/java/org/jboss/as/quickstarts/wshelloworld/HelloWorldServiceImpl.java
+++ b/helloworld-ws/src/main/java/org/jboss/as/quickstarts/wshelloworld/HelloWorldServiceImpl.java
@@ -26,7 +26,8 @@
*
* @author lnewson@redhat.com
*/
-@WebService(serviceName = "HelloWorldService", portName = "HelloWorld", name = "HelloWorld", endpointInterface = "org.jboss.as.quickstarts.wshelloworld.HelloWorldService", targetNamespace = "http://www.jboss.org/eap/quickstarts/wshelloworld/HelloWorld")
+@WebService(serviceName = "HelloWorldService", portName = "HelloWorld", name = "HelloWorld", endpointInterface = "org.jboss.as.quickstarts.wshelloworld.HelloWorldService",
+ targetNamespace = "http://www.jboss.org/eap/quickstarts/wshelloworld/HelloWorld")
public class HelloWorldServiceImpl implements HelloWorldService {
@Override
diff --git a/helloworld-ws/src/main/webapp/WEB-INF/beans.xml b/helloworld-ws/src/main/webapp/WEB-INF/beans.xml
index 639207b526..4114ef5dc1 100644
--- a/helloworld-ws/src/main/webapp/WEB-INF/beans.xml
+++ b/helloworld-ws/src/main/webapp/WEB-INF/beans.xml
@@ -16,10 +16,10 @@
limitations under the License.
-->
-
diff --git a/helloworld/pom.xml b/helloworld/pom.xml
index 4e427fa03f..999490cd5b 100644
--- a/helloworld/pom.xml
+++ b/helloworld/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -90,9 +90,9 @@
-
-
UTF-8
@@ -138,7 +138,7 @@
provided
-
org.jboss.spec.javax.annotation
@@ -156,7 +156,7 @@
-
${project.artifactId}
diff --git a/helloworld/src/main/webapp/WEB-INF/beans.xml b/helloworld/src/main/webapp/WEB-INF/beans.xml
index 34e3d0824d..4b8daeb212 100644
--- a/helloworld/src/main/webapp/WEB-INF/beans.xml
+++ b/helloworld/src/main/webapp/WEB-INF/beans.xml
@@ -18,6 +18,6 @@
diff --git a/hibernate5/pom.xml b/hibernate5/pom.xml
index 73fafcfd55..c48ff6ac87 100644
--- a/hibernate5/pom.xml
+++ b/hibernate5/pom.xml
@@ -40,7 +40,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -90,7 +90,7 @@
-
UTF-8
@@ -110,10 +110,10 @@
-
org.jboss.bom
@@ -127,7 +127,7 @@
-
@@ -137,7 +137,7 @@
provided
-
org.jboss.spec.javax.annotation
@@ -145,8 +145,8 @@
provided
-
@@ -193,10 +193,10 @@
provided
-
-
org.hibernate
@@ -207,7 +207,7 @@
-
${project.artifactId}
@@ -215,7 +215,7 @@
maven-war-plugin
${version.war.plugin}
-
false
@@ -233,11 +233,11 @@
-
-
-
openshift
diff --git a/hibernate5/src/main/java/org/jboss/as/quickstart/hibernate/controller/MemberController.java b/hibernate5/src/main/java/org/jboss/as/quickstart/hibernate/controller/MemberController.java
index b18d6833d8..884e8390fa 100644
--- a/hibernate5/src/main/java/org/jboss/as/quickstart/hibernate/controller/MemberController.java
+++ b/hibernate5/src/main/java/org/jboss/as/quickstart/hibernate/controller/MemberController.java
@@ -52,12 +52,12 @@ public void register() {
try {
memberRegistration.register(newMember);
facesContext.addMessage(null,
- new FacesMessage(FacesMessage.SEVERITY_INFO, "Registered!", "Registration successful"));
+ new FacesMessage(FacesMessage.SEVERITY_INFO, "Registered!", "Registration successful"));
initNewMember();
} catch (Exception e) {
String errorMessage = getRootErrorMessage(e);
facesContext.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR,
- errorMessage, "Registration unsuccessful"));
+ errorMessage, "Registration unsuccessful"));
}
}
diff --git a/hibernate5/src/main/resources/META-INF/persistence.xml b/hibernate5/src/main/resources/META-INF/persistence.xml
index a69a4a7e73..67352bf4a2 100644
--- a/hibernate5/src/main/resources/META-INF/persistence.xml
+++ b/hibernate5/src/main/resources/META-INF/persistence.xml
@@ -21,7 +21,7 @@
http://xmlns.jcp.org/xml/ns/persistence
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
-
diff --git a/hibernate5/src/main/webapp/WEB-INF/beans.xml b/hibernate5/src/main/webapp/WEB-INF/beans.xml
index bfb72e3d65..6b2c62fc13 100644
--- a/hibernate5/src/main/webapp/WEB-INF/beans.xml
+++ b/hibernate5/src/main/webapp/WEB-INF/beans.xml
@@ -16,10 +16,10 @@
limitations under the License.
-->
-
diff --git a/hibernate5/src/main/webapp/WEB-INF/faces-config.xml b/hibernate5/src/main/webapp/WEB-INF/faces-config.xml
index 4037c8c00c..c4497af3ed 100644
--- a/hibernate5/src/main/webapp/WEB-INF/faces-config.xml
+++ b/hibernate5/src/main/webapp/WEB-INF/faces-config.xml
@@ -24,7 +24,7 @@
-
diff --git a/hibernate5/src/main/webapp/WEB-INF/hibernate5-quickstart-ds.xml b/hibernate5/src/main/webapp/WEB-INF/hibernate5-quickstart-ds.xml
index d5cbc21799..c1805f724b 100644
--- a/hibernate5/src/main/webapp/WEB-INF/hibernate5-quickstart-ds.xml
+++ b/hibernate5/src/main/webapp/WEB-INF/hibernate5-quickstart-ds.xml
@@ -15,14 +15,14 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
+
-
-
+
diff --git a/inter-app/appA/pom.xml b/inter-app/appA/pom.xml
index 1de815b503..1f2b9000bd 100644
--- a/inter-app/appA/pom.xml
+++ b/inter-app/appA/pom.xml
@@ -54,8 +54,8 @@
provided
-
org.jboss.quickstarts.eap
@@ -67,7 +67,7 @@
-
${project.artifactId}
@@ -75,11 +75,11 @@
maven-war-plugin
${version.war.plugin}
-
false
-
diff --git a/inter-app/appA/src/main/webapp/WEB-INF/beans.xml b/inter-app/appA/src/main/webapp/WEB-INF/beans.xml
index 41a076358d..f7077a85bc 100644
--- a/inter-app/appA/src/main/webapp/WEB-INF/beans.xml
+++ b/inter-app/appA/src/main/webapp/WEB-INF/beans.xml
@@ -17,7 +17,7 @@
diff --git a/inter-app/appA/src/main/webapp/WEB-INF/faces-config.xml b/inter-app/appA/src/main/webapp/WEB-INF/faces-config.xml
index f8044659a5..5a0fee2288 100644
--- a/inter-app/appA/src/main/webapp/WEB-INF/faces-config.xml
+++ b/inter-app/appA/src/main/webapp/WEB-INF/faces-config.xml
@@ -18,7 +18,7 @@
diff --git a/inter-app/appB/pom.xml b/inter-app/appB/pom.xml
index 9ea394332a..3e58f49593 100644
--- a/inter-app/appB/pom.xml
+++ b/inter-app/appB/pom.xml
@@ -54,8 +54,8 @@
provided
-
org.jboss.quickstarts.eap
@@ -67,7 +67,7 @@
-
${project.artifactId}
@@ -75,11 +75,11 @@
maven-war-plugin
${version.war.plugin}
-
false
-
diff --git a/inter-app/appB/src/main/java/org/jboss/as/quickstarts/interapp/appB/Imports.java b/inter-app/appB/src/main/java/org/jboss/as/quickstarts/interapp/appB/Imports.java
index 1f9c96b56a..93c5603754 100644
--- a/inter-app/appB/src/main/java/org/jboss/as/quickstarts/interapp/appB/Imports.java
+++ b/inter-app/appB/src/main/java/org/jboss/as/quickstarts/interapp/appB/Imports.java
@@ -31,7 +31,7 @@
public class Imports {
@Produces
- @EJB(lookup="java:global/jboss-inter-app-appA/FooImpl!org.jboss.as.quickstarts.interapp.shared.Foo")
+ @EJB(lookup = "java:global/jboss-inter-app-appA/FooImpl!org.jboss.as.quickstarts.interapp.shared.Foo")
private Foo foo;
private Imports() {
diff --git a/inter-app/appB/src/main/webapp/WEB-INF/beans.xml b/inter-app/appB/src/main/webapp/WEB-INF/beans.xml
index 41a076358d..f7077a85bc 100644
--- a/inter-app/appB/src/main/webapp/WEB-INF/beans.xml
+++ b/inter-app/appB/src/main/webapp/WEB-INF/beans.xml
@@ -17,7 +17,7 @@
diff --git a/inter-app/pom.xml b/inter-app/pom.xml
index fa10d77572..1a71939c44 100644
--- a/inter-app/pom.xml
+++ b/inter-app/pom.xml
@@ -41,7 +41,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -110,9 +110,9 @@
-
-
UTF-8
@@ -153,7 +153,7 @@
import
-
org.jboss.quickstarts.eap
@@ -166,7 +166,7 @@
-
${project.artifactId}
diff --git a/inter-app/shared/pom.xml b/inter-app/shared/pom.xml
index 60fa1ab02d..2998068383 100644
--- a/inter-app/shared/pom.xml
+++ b/inter-app/shared/pom.xml
@@ -26,7 +26,7 @@
jboss-inter-app-shared
ejb
-
+
JBoss EAP Quickstart: inter-app - shared
Inter-application: Shows how to communicate between two applications using EJB and CDI
@@ -53,7 +53,7 @@
${project.artifactId}
-
org.wildfly.plugins
diff --git a/jaxws-addressing/client/pom.xml b/jaxws-addressing/client/pom.xml
index 368ccc0b35..66f9a3a019 100644
--- a/jaxws-addressing/client/pom.xml
+++ b/jaxws-addressing/client/pom.xml
@@ -58,9 +58,9 @@
- ${project.artifactId}
+ ${project.artifactId}
-
+
org.codehaus.mojo
@@ -69,7 +69,7 @@
org.jboss.quickstarts.ws.jaxws.samples.wsa.AddressingTestCase
-
+
diff --git a/jaxws-addressing/client/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/wsa/AddressingTestCase.java b/jaxws-addressing/client/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/wsa/AddressingTestCase.java
index 0a1c2794c3..d0fa4ff38e 100644
--- a/jaxws-addressing/client/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/wsa/AddressingTestCase.java
+++ b/jaxws-addressing/client/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/wsa/AddressingTestCase.java
@@ -39,7 +39,7 @@ public static void main(String[] args) throws Exception
URL wsdlURL = new URL(serviceURL + "?wsdl");
Service service = Service.create(wsdlURL, serviceName);
org.jboss.quickstarts.ws.jaxws.samples.wsa.ServiceIface proxy =
- (org.jboss.quickstarts.ws.jaxws.samples.wsa.ServiceIface)service.getPort(org.jboss.quickstarts.ws.jaxws.samples.wsa.ServiceIface.class,
+ (org.jboss.quickstarts.ws.jaxws.samples.wsa.ServiceIface) service.getPort(org.jboss.quickstarts.ws.jaxws.samples.wsa.ServiceIface.class,
new AddressingFeature());
// invoke method
System.out.println(proxy.sayHello());
diff --git a/jaxws-addressing/pom.xml b/jaxws-addressing/pom.xml
index bfe4362daa..fefd5ac59c 100644
--- a/jaxws-addressing/pom.xml
+++ b/jaxws-addressing/pom.xml
@@ -47,7 +47,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -106,7 +106,7 @@
1.8
1.2.1
- 7.0.0-build-7
+ 7.0.0-build-7
2.1.1
@@ -130,7 +130,7 @@
pom
import
-
+
diff --git a/jaxws-addressing/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/wsa/ServiceIface.java b/jaxws-addressing/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/wsa/ServiceIface.java
index 717ceb5f75..1db6a0249a 100644
--- a/jaxws-addressing/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/wsa/ServiceIface.java
+++ b/jaxws-addressing/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/wsa/ServiceIface.java
@@ -22,11 +22,9 @@
*
* @author rsearls@redhat.com
*/
-@WebService
- (
- name="ServiceIface",
- targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsaddressing"
- )
+@WebService(
+ name = "ServiceIface",
+ targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsaddressing")
public interface ServiceIface {
public String sayHello();
}
diff --git a/jaxws-addressing/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/wsa/ServiceImpl.java b/jaxws-addressing/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/wsa/ServiceImpl.java
index 7785a68e9d..a498959937 100644
--- a/jaxws-addressing/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/wsa/ServiceImpl.java
+++ b/jaxws-addressing/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/wsa/ServiceImpl.java
@@ -24,15 +24,13 @@
/**
* @author rsearls@redhat.com
*/
-@WebService
- (
- portName = "AddressingServicePort",
- serviceName = "AddressingService",
- wsdlLocation = "WEB-INF/wsdl/AddressingService.wsdl",
- targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsaddressing",
- endpointInterface = "org.jboss.quickstarts.ws.jaxws.samples.wsa.ServiceIface"
- )
-@Addressing(enabled=true, required=true)
+@WebService(
+ portName = "AddressingServicePort",
+ serviceName = "AddressingService",
+ wsdlLocation = "WEB-INF/wsdl/AddressingService.wsdl",
+ targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsaddressing",
+ endpointInterface = "org.jboss.quickstarts.ws.jaxws.samples.wsa.ServiceIface")
+@Addressing(enabled = true, required = true)
public class ServiceImpl implements ServiceIface
{
public String sayHello()
diff --git a/jaxws-ejb/client/pom.xml b/jaxws-ejb/client/pom.xml
index 39d6c63e72..fd84fc8ceb 100644
--- a/jaxws-ejb/client/pom.xml
+++ b/jaxws-ejb/client/pom.xml
@@ -41,14 +41,14 @@
-
+
jboss-product-builds
http://repository.jboss.org/nexus/content/groups/public/
-
-
-
+
+
+
1.2.1
2.0.3.GA
@@ -61,8 +61,8 @@
jboss-jaxws-ejb-service
${project.version}
classes
-
-
+
+
org.jboss.ws.native
jbossws-native-core
@@ -71,7 +71,7 @@
org.jboss.logging
jboss-logging-spi
-
+
org.jboss.spec.javax.ejb
jboss-ejb-api_3.2_spec
@@ -93,7 +93,7 @@
org.jboss.quickstarts.ws.client.Client
-
+
diff --git a/jaxws-ejb/client/src/main/java/org/jboss/quickstarts/ws/client/Client.java b/jaxws-ejb/client/src/main/java/org/jboss/quickstarts/ws/client/Client.java
index 43a7505733..2da2dda600 100644
--- a/jaxws-ejb/client/src/main/java/org/jboss/quickstarts/ws/client/Client.java
+++ b/jaxws-ejb/client/src/main/java/org/jboss/quickstarts/ws/client/Client.java
@@ -29,7 +29,7 @@
*/
public class Client {
- public static void main (String [] args)
+ public static void main(String[] args)
{
String endPointAddress = "http://localhost:8080/jboss-jaxws-ejb-endpoint/EJB3Bean01";
QName serviceName = new QName("http://jsr181pojo.samples.jaxws.ws.quickstarts.jboss.org/", "EJB3Bean01Service");
@@ -37,7 +37,7 @@ public static void main (String [] args)
try {
URL wsdlURL = new URL(endPointAddress + "?wsdl");
Service service = Service.create(wsdlURL, serviceName);
- EJB3RemoteInterface proxy = (EJB3RemoteInterface)service.getPort(EJB3RemoteInterface.class);
+ EJB3RemoteInterface proxy = (EJB3RemoteInterface) service.getPort(EJB3RemoteInterface.class);
System.out.println(proxy.echo("ejbClient calling"));
} catch (Exception e) {
System.out.println(e);
diff --git a/jaxws-ejb/pom.xml b/jaxws-ejb/pom.xml
index 27b605d4b9..39c3763e51 100644
--- a/jaxws-ejb/pom.xml
+++ b/jaxws-ejb/pom.xml
@@ -47,7 +47,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -108,7 +108,7 @@
2.1.1
2.1.0
2.21
- 1.0.0.Final
+ 1.0.0.Final
1.8
diff --git a/jaxws-ejb/service/pom.xml b/jaxws-ejb/service/pom.xml
index f18337903f..594e16b2b7 100644
--- a/jaxws-ejb/service/pom.xml
+++ b/jaxws-ejb/service/pom.xml
@@ -39,7 +39,7 @@
http://www.apache.org/licenses/LICENSE-2.0.html
-
+
org.jboss.ejb3
@@ -50,7 +50,7 @@
com.sun.istack
istack-commons-runtime
provided
-
+
org.jboss.spec.javax.ejb
jboss-ejb-api_3.2_spec
diff --git a/jaxws-ejb/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/jsr181pojo/EJB3Bean01.java b/jaxws-ejb/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/jsr181pojo/EJB3Bean01.java
index 6fe8ae0d11..49e87258a4 100644
--- a/jaxws-ejb/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/jsr181pojo/EJB3Bean01.java
+++ b/jaxws-ejb/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/jsr181pojo/EJB3Bean01.java
@@ -28,7 +28,6 @@
*/
@Stateless
@Remote(EJB3RemoteInterface.class)
-
@WebService
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class EJB3Bean01 implements EJB3RemoteInterface {
diff --git a/jaxws-pojo/README.md b/jaxws-pojo/README.md
index 7dd47d0db9..b8617a7bc8 100644
--- a/jaxws-pojo/README.md
+++ b/jaxws-pojo/README.md
@@ -3,7 +3,7 @@ jaxws-pojo: An POJO JAX-WS Web Service
Author: R Searls
Level: Beginner
Technologies: JAX-WS
-Summary: The `jaxws-pojo` quickstart is a working example of the web service endpoint created from a POJO.
+Summary: The `jaxws-pojo` quickstart is a working example of the web service endpoint created from a POJO.
Target Product: JBoss EAP
Source:
diff --git a/jaxws-pojo/client/src/main/java/org/jboss/quickstarts/ws/client/Client.java b/jaxws-pojo/client/src/main/java/org/jboss/quickstarts/ws/client/Client.java
index 719a6ff476..f0645e0bd4 100644
--- a/jaxws-pojo/client/src/main/java/org/jboss/quickstarts/ws/client/Client.java
+++ b/jaxws-pojo/client/src/main/java/org/jboss/quickstarts/ws/client/Client.java
@@ -28,7 +28,7 @@
*/
public class Client {
- public static void main (String [] args)
+ public static void main(String[] args)
{
String endPointAddress = "http://localhost:8080/jboss-jaxws-pojo-endpoint/JSEBean01";
QName serviceName = new QName("http://jsr181pojo.samples.jaxws.ws.quickstarts.jboss.org/", "JSEBean01Service");
diff --git a/jaxws-pojo/client/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/jsr181pojo/JSEBean01.java b/jaxws-pojo/client/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/jsr181pojo/JSEBean01.java
index 15d0cc82c3..9393e2c064 100644
--- a/jaxws-pojo/client/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/jsr181pojo/JSEBean01.java
+++ b/jaxws-pojo/client/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/jsr181pojo/JSEBean01.java
@@ -35,7 +35,6 @@ public interface JSEBean01 {
@WebResult(name = "return", targetNamespace = "http://jsr181pojo.samples.jaxws.ws.quickstarts.jboss.org/", partName = "return")
@WebMethod
public java.lang.String echo(
- @WebParam(partName = "arg0", name = "arg0")
- java.lang.String arg0
- );
+ @WebParam(partName = "arg0", name = "arg0") java.lang.String arg0
+ );
}
diff --git a/jaxws-pojo/client/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/jsr181pojo/JSEBean01Service.java b/jaxws-pojo/client/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/jsr181pojo/JSEBean01Service.java
index d86b0e8005..7e4b0d88bb 100644
--- a/jaxws-pojo/client/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/jsr181pojo/JSEBean01Service.java
+++ b/jaxws-pojo/client/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/jsr181pojo/JSEBean01Service.java
@@ -31,8 +31,8 @@
*
*/
@WebServiceClient(name = "JSEBean01Service",
- wsdlLocation = "file:/tmp/JSEBean01Service.wsdl",
- targetNamespace = "http://jsr181pojo.samples.jaxws.ws.quickstarts.jboss.org/")
+ wsdlLocation = "file:/tmp/JSEBean01Service.wsdl",
+ targetNamespace = "http://jsr181pojo.samples.jaxws.ws.quickstarts.jboss.org/")
public class JSEBean01Service extends Service {
public final static URL WSDL_LOCATION;
@@ -46,7 +46,7 @@ public class JSEBean01Service extends Service {
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(JSEBean01Service.class.getName())
.log(java.util.logging.Level.INFO,
- "Can not initialize the default wsdl from {0}", "file:/tmp/JSEBean01Service.wsdl");
+ "Can not initialize the default wsdl from {0}", "file:/tmp/JSEBean01Service.wsdl");
}
WSDL_LOCATION = url;
}
@@ -66,21 +66,21 @@ public JSEBean01Service() {
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
- public JSEBean01Service(WebServiceFeature ... features) {
+ public JSEBean01Service(WebServiceFeature... features) {
super(WSDL_LOCATION, SERVICE, features);
}
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
- public JSEBean01Service(URL wsdlLocation, WebServiceFeature ... features) {
+ public JSEBean01Service(URL wsdlLocation, WebServiceFeature... features) {
super(wsdlLocation, SERVICE, features);
}
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
- public JSEBean01Service(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
+ public JSEBean01Service(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
super(wsdlLocation, serviceName, features);
}
diff --git a/jaxws-pojo/pom.xml b/jaxws-pojo/pom.xml
index f3c9b2973b..4b19875a77 100644
--- a/jaxws-pojo/pom.xml
+++ b/jaxws-pojo/pom.xml
@@ -47,7 +47,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -135,7 +135,7 @@
pom
import
-
+
diff --git a/jaxws-retail/README.md b/jaxws-retail/README.md
index 311801fccb..49ecb3f364 100644
--- a/jaxws-retail/README.md
+++ b/jaxws-retail/README.md
@@ -3,7 +3,7 @@ jaxws-retail: A Retail JAX-WS Web Service
Author: R Searls
Level: Beginner
Technologies: JAX-WS
-Summary: The `jaxws-retail` quickstart is a working example of a simple web service endpoint.
+Summary: The `jaxws-retail` quickstart is a working example of a simple web service endpoint.
Target Product: JBoss EAP
Source:
diff --git a/jaxws-retail/client/pom.xml b/jaxws-retail/client/pom.xml
index e4b91ab978..0a568e223b 100644
--- a/jaxws-retail/client/pom.xml
+++ b/jaxws-retail/client/pom.xml
@@ -44,7 +44,7 @@
1.2.1
-
+
org.jboss.quickstarts.eap
@@ -65,7 +65,7 @@
org.jboss.quickstarts.ws.client.Client
-
+
diff --git a/jaxws-retail/client/src/main/java/org/jboss/quickstarts/ws/client/Client.java b/jaxws-retail/client/src/main/java/org/jboss/quickstarts/ws/client/Client.java
index b411a7108d..5e16bfb271 100644
--- a/jaxws-retail/client/src/main/java/org/jboss/quickstarts/ws/client/Client.java
+++ b/jaxws-retail/client/src/main/java/org/jboss/quickstarts/ws/client/Client.java
@@ -31,7 +31,7 @@
*/
public class Client {
- public static void main (String [] args)
+ public static void main(String[] args)
{
String endPointAddress = "http://localhost:8080/jboss-jaxws-retail/ProfileMgmtService/ProfileMgmt";
QName serviceName = new QName("http://org.jboss.ws/samples/retail/profile", "ProfileMgmtService");
diff --git a/jaxws-retail/pom.xml b/jaxws-retail/pom.xml
index 6ed5d7f10d..0367af6667 100644
--- a/jaxws-retail/pom.xml
+++ b/jaxws-retail/pom.xml
@@ -47,7 +47,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
diff --git a/jaxws-retail/service/pom.xml b/jaxws-retail/service/pom.xml
index c25809364a..30c8b37f6f 100644
--- a/jaxws-retail/service/pom.xml
+++ b/jaxws-retail/service/pom.xml
@@ -26,7 +26,7 @@
7.0.0-SNAPSHOT
../pom.xml
-
+
jboss-jaxws-retail-service
diff --git a/jaxws-retail/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/retail/profile/ProfileMgmtBean.java b/jaxws-retail/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/retail/profile/ProfileMgmtBean.java
index bb408b0813..0b1ea1a0ed 100644
--- a/jaxws-retail/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/retail/profile/ProfileMgmtBean.java
+++ b/jaxws-retail/service/src/main/java/org/jboss/quickstarts/ws/jaxws/samples/retail/profile/ProfileMgmtBean.java
@@ -29,15 +29,14 @@
* @author rsearls@redhat.com
*/
@Stateless
-@WebService (
- name="ProfileMgmt",
+@WebService(
+ name = "ProfileMgmt",
targetNamespace = "http://org.jboss.ws/samples/retail/profile",
- serviceName = "ProfileMgmtService"
-)
-@SOAPBinding (parameterStyle = SOAPBinding.ParameterStyle.BARE)
+ serviceName = "ProfileMgmtService")
+@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public class ProfileMgmtBean {
@WebMethod
- public DiscountResponse getCustomerDiscount(DiscountRequest request){
+ public DiscountResponse getCustomerDiscount(DiscountRequest request) {
DiscountResponse dResponse = new DiscountResponse();
dResponse.setCustomer(request.getCustomer());
dResponse.setDiscount(10.00);
diff --git a/jsonp/pom.xml b/jsonp/pom.xml
index 0e4bcbfe82..6ab0c7dea4 100644
--- a/jsonp/pom.xml
+++ b/jsonp/pom.xml
@@ -43,7 +43,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -92,16 +92,16 @@
-
-
UTF-8
1.0.2.Final
-
7.0.0-build-7
@@ -118,8 +118,8 @@
@@ -135,9 +135,9 @@
-
-
+
org.jboss.spec.javax.json
@@ -145,7 +145,7 @@
provided
-
javax.enterprise
@@ -153,7 +153,7 @@
provided
-
org.jboss.spec.javax.annotation
@@ -161,7 +161,7 @@
provided
-
org.jboss.spec.javax.ws.rs
@@ -169,7 +169,7 @@
provided
-
org.hibernate.javax.persistence
@@ -177,7 +177,7 @@
provided
-
org.jboss.spec.javax.ejb
@@ -186,7 +186,7 @@
-
org.jboss.spec.javax.faces
@@ -205,7 +205,7 @@
-
org.jboss.arquillian.junit
@@ -222,7 +222,7 @@
-
${project.artifactId}
@@ -246,9 +246,9 @@
-
-
default
@@ -299,11 +299,11 @@
-
-
-
openshift
diff --git a/jsonp/src/main/java/org/jboss/as/quickstarts/jsonp/JsonController.java b/jsonp/src/main/java/org/jboss/as/quickstarts/jsonp/JsonController.java
index b973a2d668..2dd8dee2b5 100644
--- a/jsonp/src/main/java/org/jboss/as/quickstarts/jsonp/JsonController.java
+++ b/jsonp/src/main/java/org/jboss/as/quickstarts/jsonp/JsonController.java
@@ -55,26 +55,26 @@ public void generateJson() {
.build().toString();
}
- public void parseJsonStream(){
+ public void parseJsonStream() {
StringBuilder sb = new StringBuilder();
String json = getJsonString();
try {
JsonParser parser = Json.createParser(new StringReader(json));
- while (parser.hasNext()){
+ while (parser.hasNext()) {
Event event = parser.next();
- if (event.equals(Event.KEY_NAME)){
+ if (event.equals(Event.KEY_NAME)) {
sb.append(" - - - - > Key: " + parser.getString() + " < - - - - - \n");
}
- if (event.equals(Event.VALUE_STRING)){
+ if (event.equals(Event.VALUE_STRING)) {
sb.append("Value as String: " + parser.getString() + "\n");
}
- if (event.equals(Event.VALUE_NUMBER)){
+ if (event.equals(Event.VALUE_NUMBER)) {
sb.append("Value as Number: " + parser.getInt() + "\n");
}
- if (event.equals(Event.VALUE_TRUE)){
+ if (event.equals(Event.VALUE_TRUE)) {
sb.append("Value as Boolean: true\n");
}
- if (event.equals(Event.VALUE_FALSE)){
+ if (event.equals(Event.VALUE_FALSE)) {
sb.append("Value as Boolean: false \n");
}
}
diff --git a/jta-crash-rec/pom.xml b/jta-crash-rec/pom.xml
index 3ef98c0c14..682f018a2a 100644
--- a/jta-crash-rec/pom.xml
+++ b/jta-crash-rec/pom.xml
@@ -40,7 +40,7 @@
see the section entitled 'Use the Maven Repository'
in the Development Guide for Red Hat JBoss Enterprise Application Platform located here:
- https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
+ https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/
-->
@@ -89,9 +89,9 @@
-
-
UTF-8
@@ -133,28 +133,28 @@
cdi-api
provided
-
+
org.hibernate.javax.persistence
hibernate-jpa-2.1-api
provided
-
+
org.jboss.spec.javax.ejb
jboss-ejb-api_3.2_spec
provided
-
+
org.jboss.spec.javax.jms
jboss-jms-api_2.0_spec
provided
-
+
org.jboss.spec.javax.transaction
@@ -163,7 +163,7 @@
-
org.jboss.spec.javax.annotation
@@ -171,7 +171,7 @@
provided
-
org.jboss.spec.javax.servlet
@@ -181,7 +181,7 @@
-
${project.artifactId}
@@ -189,7 +189,7 @@
maven-war-plugin
${version.war.plugin}
-
false
diff --git a/jta-crash-rec/src/main/java/org/jboss/as/quickstarts/xa/DbUpdaterMDB.java b/jta-crash-rec/src/main/java/org/jboss/as/quickstarts/xa/DbUpdaterMDB.java
index d11951ed92..964bc7f9d2 100644
--- a/jta-crash-rec/src/main/java/org/jboss/as/quickstarts/xa/DbUpdaterMDB.java
+++ b/jta-crash-rec/src/main/java/org/jboss/as/quickstarts/xa/DbUpdaterMDB.java
@@ -37,9 +37,9 @@
*
*/
@MessageDriven(name = "DbUpdaterMDB", activationConfig = {
- @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
- @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/jta-crash-rec-quickstart"),
- @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge") })
+ @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
+ @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/jta-crash-rec-quickstart"),
+ @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge") })
public class DbUpdaterMDB implements MessageListener {
private final static Logger LOGGER = Logger.getLogger(DbUpdaterMDB.class.getName());
diff --git a/jta-crash-rec/src/main/java/org/jboss/as/quickstarts/xa/XAService.java b/jta-crash-rec/src/main/java/org/jboss/as/quickstarts/xa/XAService.java
index c4939e6d55..39725c13b1 100644
--- a/jta-crash-rec/src/main/java/org/jboss/as/quickstarts/xa/XAService.java
+++ b/jta-crash-rec/src/main/java/org/jboss/as/quickstarts/xa/XAService.java
@@ -190,7 +190,7 @@ public String updateKeyValueDatabase(boolean delete, String key, String value) {
} finally {
try {
if (userTransaction.getStatus() == Status.STATUS_ACTIVE
- || userTransaction.getStatus() == Status.STATUS_MARKED_ROLLBACK)
+ || userTransaction.getStatus() == Status.STATUS_MARKED_ROLLBACK)
userTransaction.rollback();
} catch (Throwable e) {
result.append(" Transaction did not finish: ").append(e.getMessage());
diff --git a/jta-crash-rec/src/main/java/org/jboss/as/quickstarts/xa/XAServlet.java b/jta-crash-rec/src/main/java/org/jboss/as/quickstarts/xa/XAServlet.java
index d7d741c25a..3d49cde743 100644
--- a/jta-crash-rec/src/main/java/org/jboss/as/quickstarts/xa/XAServlet.java
+++ b/jta-crash-rec/src/main/java/org/jboss/as/quickstarts/xa/XAServlet.java
@@ -46,45 +46,45 @@ public class XAServlet extends HttpServlet {
// page content describing the quickstart and providing a form to perform basic operations against a database
private static String PAGE_CONTENT = "XA Recovery
" +
- "This quickstart demonstrates how to atomically update multiple resources within one XA transaction. " +
- "It updates a relational database table using JPA and sends a message using JMS. " +
- "In this example, you can perform the following operations:
" +
- "" +
- "- To add a key/value pair, enter values in the input text boxes and click Submit
" +
- "- To update a key/value pair, enter the key and click Submit
" +
- "- To delete a key/value pair, enter the key and click Delete
" +
- "- To delete all key/value pairs, leave the key blank and click Delete
" +
- "- To list the existing key/value pairs, leave the key blank and click Submit
" +
- "- The refresh the list, click the Refresh Table link.
" +
- "
" +
+ "This quickstart demonstrates how to atomically update multiple resources within one XA transaction. " +
+ "It updates a relational database table using JPA and sends a message using JMS. " +
+ "In this example, you can perform the following operations:
" +
+ "" +
+ "- To add a key/value pair, enter values in the input text boxes and click Submit
" +
+ "- To update a key/value pair, enter the key and click Submit
" +
+ "- To delete a key/value pair, enter the key and click Delete
" +
+ "- To delete all key/value pairs, leave the key blank and click Delete
" +
+ "- To list the existing key/value pairs, leave the key blank and click Submit
" +
+ "- The refresh the list, click the Refresh Table link.
" +
+ "
" +
- "To demonstrate XA recovery, you will take the following steps:
" +
- "" +
- "- Add a key/value as described above.
" +
- "- Stop the JBoss EAP server.
" +
- "- Clear any transaction objectstore data remaining from previous tests.
" +
- "- Configure Byteman to halt the JBoss EAP server.
" +
- "- Start the JBoss EAP server.
" +
- "- Add another key/value. This will cause Byteman to halt the JBoss EAP server.
" +
- "- Verify the database record.
" +
- "- Disable Byteman.
" +
- "- Start the JBoss EAP server.
" +
- "- View the resulting recovered row in the table, indicated by the text \"updated via JMS\".
" +
- "
"+
- "
" +
- "See the README file located in the root of jta-crash-rec folder in the quickstart distribution " +
- "for complete instructions and details about how this quickstart works.
" +
+ "To demonstrate XA recovery, you will take the following steps:
" +
+ "" +
+ "- Add a key/value as described above.
" +
+ "- Stop the JBoss EAP server.
" +
+ "- Clear any transaction objectstore data remaining from previous tests.
" +
+ "- Configure Byteman to halt the JBoss EAP server.
" +
+ "- Start the JBoss EAP server.
" +
+ "- Add another key/value. This will cause Byteman to halt the JBoss EAP server.
" +
+ "- Verify the database record.
" +
+ "- Disable Byteman.
" +
+ "- Start the JBoss EAP server.
" +
+ "- View the resulting recovered row in the table, indicated by the text \"updated via JMS\".
" +
+ "
" +
+ " " +
+ "See the README file located in the root of jta-crash-rec folder in the quickstart distribution " +
+ "for complete instructions and details about how this quickstart works.
" +
- "" +
- "Refresh Table
";
+ "" +
+ "Refresh Table
";
private static String PAGE_FOOTER = "