Skip to content

Commit

Permalink
Upgrade CDI API to 2.0.Beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
mkouba committed Dec 15, 2016
1 parent a6d0270 commit bf743a2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -91,7 +91,7 @@
<!-- build.config.version>10-SNAPSHOT</build.config.version -->

<atinject.api.version>1</atinject.api.version>
<cdi.api.version>2.0.Alpha6</cdi.api.version>
<cdi.api.version>2.0.Beta1</cdi.api.version>
<ejb.api.version>1.0.0.Final</ejb.api.version>
<jpa.api.version>1.0.0.Final</jpa.api.version>
<validation.api.version>1.1.0.Final</validation.api.version>
Expand Down
Expand Up @@ -113,6 +113,14 @@ public interface WeldManager extends BeanManager, Serializable {
*/
String getId();

/**
* TODO There is an open clarification issue CDI-671 which might affect the API design. I.e. this method might be changed in a way that breaks backward
* compatibility in a final version of API.
*
* @seeIssue CDI-671
* @return a new {@link Instance} with required type {@link Object} and no required qualifiers ({@link javax.enterprise.inject.Default} is added automatically during resolution if
* no qualifiers are selected)
*/
Instance<Object> instance();

@Override
Expand Down

0 comments on commit bf743a2

Please sign in to comment.