{"action":"created","issue":{"url":"https://api.github.com/repos/adolfoweloy/artigo-cdi/issues/2","labels_url":"https://api.github.com/repos/adolfoweloy/artigo-cdi/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/adolfoweloy/artigo-cdi/issues/2/comments","events_url":"https://api.github.com/repos/adolfoweloy/artigo-cdi/issues/2/events","html_url":"https://github.com/adolfoweloy/artigo-cdi/pull/2","id":57100044,"number":2,"title":"Extension include annotation","user":{"login":"alexandregama","id":427780,"avatar_url":"https://avatars.githubusercontent.com/u/427780?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandregama","html_url":"https://github.com/alexandregama","followers_url":"https://api.github.com/users/alexandregama/followers","following_url":"https://api.github.com/users/alexandregama/following{/other_user}","gists_url":"https://api.github.com/users/alexandregama/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandregama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandregama/subscriptions","organizations_url":"https://api.github.com/users/alexandregama/orgs","repos_url":"https://api.github.com/users/alexandregama/repos","events_url":"https://api.github.com/users/alexandregama/events{/privacy}","received_events_url":"https://api.github.com/users/alexandregama/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/adolfoweloy/artigo-cdi/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-09T22:28:11Z","updated_at":"2015-02-09T23:05:29Z","closed_at":"2015-02-09T23:05:07Z","pull_request":{"url":"https://api.github.com/repos/adolfoweloy/artigo-cdi/pulls/2","html_url":"https://github.com/adolfoweloy/artigo-cdi/pull/2","diff_url":"https://github.com/adolfoweloy/artigo-cdi/pull/2.diff","patch_url":"https://github.com/adolfoweloy/artigo-cdi/pull/2.patch"},"body":"Expliquei por cima o @Include mas basicamente, ao subir o contexto do CDI, a Extension observa a fase ProcessAnnotatedType verifica todos os beans que possuem @Include e se tiver pegamos um Interpretador de Expressão (alguém que implementa a interface ExpressionInterpreter) e o interpretador verifica se o Bean é realmente passível de injeção e caso não seja ele ganha um Vetoed.\r\n"},"comment":{"url":"https://api.github.com/repos/adolfoweloy/artigo-cdi/issues/comments/73610462","html_url":"https://github.com/adolfoweloy/artigo-cdi/pull/2#issuecomment-73610462","issue_url":"https://api.github.com/repos/adolfoweloy/artigo-cdi/issues/2","id":73610462,"user":{"login":"adolfoweloy","id":1496547,"avatar_url":"https://avatars.githubusercontent.com/u/1496547?v=3","gravatar_id":"","url":"https://api.github.com/users/adolfoweloy","html_url":"https://github.com/adolfoweloy","followers_url":"https://api.github.com/users/adolfoweloy/followers","following_url":"https://api.github.com/users/adolfoweloy/following{/other_user}","gists_url":"https://api.github.com/users/adolfoweloy/gists{/gist_id}","starred_url":"https://api.github.com/users/adolfoweloy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adolfoweloy/subscriptions","organizations_url":"https://api.github.com/users/adolfoweloy/orgs","repos_url":"https://api.github.com/users/adolfoweloy/repos","events_url":"https://api.github.com/users/adolfoweloy/events{/privacy}","received_events_url":"https://api.github.com/users/adolfoweloy/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T23:05:29Z","updated_at":"2015-02-09T23:05:29Z","body":":+1: já fiz o merge"}}