Skip to main content

[jax-rs-spec commits] [jax-rs-spec~git:74a0eae0] Resolved JAX_RS_SPEC-44.

  • From: m_potociar@...
  • To: commits@...
  • Subject: [jax-rs-spec commits] [jax-rs-spec~git:74a0eae0] Resolved JAX_RS_SPEC-44.
  • Date: Fri, 2 Nov 2012 11:12:48 +0000

Project:    jax-rs-spec
Repository: git
Revision:   74a0eae0ae5ff4031f827ceb884ac0794559a31f
Author:     m_potociar
Date:       2012-11-02 11:12:19 UTC
Link:       

Log Message:
------------
Resolved JAX_RS_SPEC-44.
- Application javadoc has been updated to explicitly indicate that 
application deployment should fail in case of Application subclass 
constructor or any of the implemented methods throws a RuntimeException.
Signed-off-by: Marek Potociar <marek.potociar@...>


Revisions:
----------
74a0eae0ae5ff4031f827ceb884ac0794559a31f


Modified Paths:
---------------
src/jax-rs-api/src/main/java/javax/ws/rs/core/Application.java


Diffs:
------
diff --git a/src/jax-rs-api/src/main/java/javax/ws/rs/core/Application.java 
b/src/jax-rs-api/src/main/java/javax/ws/rs/core/Application.java
index 67f9d7f..acc8df3 100644
--- a/src/jax-rs-api/src/main/java/javax/ws/rs/core/Application.java
+++ b/src/jax-rs-api/src/main/java/javax/ws/rs/core/Application.java
@@ -46,13 +46,20 @@ import java.util.Set;
  * Defines the components of a JAX-RS application and supplies additional
  * meta-data. A JAX-RS application or implementation supplies a concrete
  * subclass of this abstract class.
- *
- * <p>The implementation-created instance of an Application subclass may be
+ * <p>
+ * The implementation-created instance of an Application subclass may be
  * injected into resource classes and providers using
- * {@link javax.ws.rs.core.Context}.<p>
+ * {@link javax.ws.rs.core.Context}.
+ * </p>
+ * <p>
+ * In case any of the {@code Application} subclass methods or it's 
constructor
+ * throws a {@link RuntimeException}, the deployment of the application 
SHOULD
+ * be aborted with a failure.
+ * </p>
  *
  * @author Paul Sandoz
  * @author Marc Hadley
+ * @author Marek Potociar
  * @since 1.0
  */
 public class Application {




[jax-rs-spec commits] [jax-rs-spec~git:74a0eae0] Resolved JAX_RS_SPEC-44.

m_potociar 11/02/2012
 
 
Close
loading
Please Confirm
Close