title: Can @Inject be made optional in JSR 330 (like @Autowire(required=false)?
body: <p>Spring's <code>@Autowire</code> can be configured such that Spring will not throw an error if no matching autowire candidates are found: <code>@Autowire(required=false)</code></p>
  
  <p>Is there an equivalent JSR-330 annotation?  <code>@Inject</code> always fails if there is no matching candidate.  Is there any way I can use <code>@Inject</code> but not have the framework fail if no matching types are found?  I haven't been able to find any documentation to that extent.</p>